Commit Graph
441 Commits
Author SHA1 Message Date
fgsfds 246d737663 Merge pull request #680 from ZenithMDC/preserve-cs-sim-list
Preserve Combat Simulator sim list after Co-Op/Counter-Op
2026-01-07 09:21:18 +01:00
fgsfds 425b51e51c input: fix build with SDL<2.0.16 2026-01-07 09:17:34 +01:00
Al. Lopez 2028ae7412 changes default PC's Menu bindings to reflect Modern games' Menu UI design
Those who are playing the PC Port of Perfect Dark for the first time, but coming from newer PC Versions' menu bindings will find out Menu bindings don't confined towards a modern standard. This PR addresses it while retaining backwards compatibility.

the RETURN/ENTER key will become a proper CONFIRM action, as opposed to emulating as a START button. (the emulated START button will still be TAB key), while Right Mouse Click now behaves as a CANCEL key. 

This won't affect existing Perfect Dark PC Players' existing bindings. but the next time you reset the default Key Bindings will experience a more streamlined setup.
2026-01-03 20:14:20 -05:00
Matthew Coppola 0c82545ba9 Preserve Combat Simulator sim list after Co-Op/Counter-Op 2025-12-26 21:25:10 -05:00
qubitnano 0df84ff180 fix homeDir check
bcachefs directories return stat.st_size=0
2025-12-19 20:18:18 -05:00
AL2009man 6dd3ec7fda Temporarily disables RawInput driver
Due to a Windows Update regression: RawInput driver has a issue related to Xbox Controllers' trigger input only being detected. For safety reasons, `useRawInput` will be disabled by default until the bug is fixed on Microsoft's end.

for those who still needs it: you can head over to `pd.ini` and revert `useRawInput` back to `1`
2025-10-08 14:15:58 -04:00
fgsfds 498e1667a4 Merge pull request #631 from AL2009man/CrosshairFix
Crosshair Edge Deadzone slider and fixed `insightaim` Camera Movement
2025-08-23 09:17:13 +02:00
fgsfds 19541418b0 Merge pull request #642 from OlegAckbar/port
port: fix multi-monitor issues on Wayland
2025-08-10 12:28:58 +02:00
Oleg 04d280cd42 port: do not change window title 2025-08-10 12:05:46 +03:00
Oleg 58c2f9d8fa port: fix multi-monitor issues on Wayland 2025-08-10 12:04:29 +03:00
AL2009man 5fd4a431b1 fixup whitespace on SDL_SetHint 2025-07-13 06:31:11 -04:00
AL2009man 27223802be added Steam Controller/Deck HIDAPI Hint
This enables HIDAPI support for Steam Controller (Bluetooth only) and Steam Deck.

Note: while SteamDeck HIDAPI is enabled, it works best while in Desktop Mode and without Steam Client running in the background (will show the actual device name instead of "Steam Virtual Gamepad"). It may not support more advanced feature sets, and it only remains that case until Valve adds Motion Sensor passthru support to SDL2/SDL3 while using SteamInput.
2025-07-12 14:56:41 -04:00
AL2009man 01b78105ff added Crosshair Edge Boundary Box 2025-06-27 21:18:52 -04:00
Raf 97444de634 Merge branch 'fgs-port' into port-max-explosions 2025-06-04 01:21:03 -03:00
fgsfds 790374e95f port: fix whitespace in input.c 2025-06-01 10:27:16 +02:00
fgsfds 9c98fe7976 port: fix inputMouseGetAbsScaledDelta 2025-06-01 10:23:56 +02:00
Raf 8037431686 port: moved the max explosions config to the .ini file 2025-05-30 01:25:18 -03:00
fgsfds a040b29d40 Merge pull request #621 from rafccq/port-enh-mpsetupfile
port-mp-setups: a bunch of bug fixes
2025-05-29 21:10:35 +02:00
Raf 20bd9ddcbb port-mp-setups: a bunch of bug fixes
- only load the MP setup file when loading the agent, instead of when entering CS
- "clear default" was cause the game setup to become invalid upon re-entering it
- all challenges were showing the same text
2025-05-29 15:33:32 -03:00
AL2009man 57eead9078 cleaned up MouseGetScaledDelta and AbsScaledDelta
To prepare for the revised MouseScaledDelta: the current setup has been simplified for easier code reading
2025-05-29 00:07:33 -04:00
AL2009man 094d80a5cf fixed MouseSpeedX/Y config file number limit 2025-05-28 23:10:41 -04:00
AL2009man 11bf7aa638 Increased Mouse sensitivity to 30.00
this wil be more in line with id Tech's max mouse sens, which is also 30.00
2025-05-28 22:32:41 -04:00
fgsfds f96a03e60f port: clean up previous PR 2025-04-27 15:34:25 +02:00
fgsfds 9d2db1a346 Merge pull request #596 from rafccq/port-enh-mpsetupfile
Enhanced multiplayer game setup save files
2025-04-27 14:26:39 +02:00
fgsfds fc7141d0f2 Merge pull request #598 from AL2009man/PerfectQuakeDark
Mouse Sensitivity follows id Tech/Source sens scale
2025-04-27 13:46:01 +02:00
Catherine Reprobate ab73fdcc30 fixup: include header for joyReset 2025-04-13 10:44:26 -07:00
Catherine Reprobate 30071e8f64 port: call joyReset() when changing controllers
This needs to be called for controller reassignments to take effect in
MP modes
2025-04-13 10:39:04 -07:00
AL2009man 9695856be6 updated player.c to account for 0.022f scale
while also changing input.c delta scale to ensure it has a divider
2025-04-11 19:24:25 -04:00
AL2009man 053f7dc8a5 Mouse Sensitivity follows Quake/id Tech mouse sens
this changes mouse sensitiivity scale to mirror id Tech's Mouse Sensitivity Scale. This also makes it easier for Steam Input users (Steam Deck and Steam Controller) to use Gyro To Mouse/Flick Stick's Natural Sensitivity Scale
2025-04-11 00:06:02 -04:00
Raf 1555a4be84 missing semicolon after mkdir() in non-win platforms 2025-04-02 22:19:24 +08:00
Raf d4856a193b mpsetups: added weapon set num to the save file 2025-04-02 20:13:19 +08:00
Raf cb6dc1feab mpsetups: forgot to pop the dialog after import name conflict, removed debug print 2025-04-02 15:55:31 +08:00
Raf b93015c51c mpsetups: fixed reverse pitch/look ahead being reset when the mpsetups file is created for the first time 2025-04-02 00:33:45 +08:00
Raf 6198fbc479 mpsetups: a bunch of bug fixes
- "load settings" becoming invalid when entering and exiting the challenges screen
- when setting a setup as default, it would change the current setup
- larger window width causing the marquee text to be rendered off-bounds
- reduced the setup name's max length, as it wouldn't fit on the screen in some cases
2025-04-01 17:00:59 +08:00
Raf 0316317aa3 Merge branch 'fgs-port' into port-enh-mpsetupfile 2025-03-31 10:34:42 +08:00
Raf f9cfa0fa43 mpsetups: introduced "menu alt" button/key to toggle presets
Currently the "menu alt" (L/R buttons, or Ctrl/Alt keys) is fixed, but
we may make it bindable later
2025-03-31 10:34:25 +08:00
Raf 7a98095a0b mpsetups: bug fix - when deleting a setup that is behind the default setup in the list 2025-03-31 10:25:24 +08:00
Raf 8f477a36b6 mpsetups: convert existing setups from the eeprom, removed "combat settings" items from file menu
increased block size from 64 to 80 (it was insufficient)
2025-03-31 10:24:26 +08:00
Jonaeru edd58c8925 Fix offset in weapon set by adding IR Scanner and Night Vision 2025-03-30 22:31:51 +09:00
fgsfds e32d719c16 port: only enable SDL hints on SDL versions that support them 2025-03-29 12:48:38 +01:00
fgsfds be4d8330bd port: add settings for HIDAPI and raw input 2025-03-29 12:29:14 +01:00
Raf a1d6916871 mpsetups: manage default setup + save the selected random weapons 2025-03-29 18:34:01 +08:00
Raf dcef8deed8 mpsetups: import/export settings 2025-03-29 02:57:55 +08:00
AL2009man c44704e2af added SDL Hint for Wii Controllers 2025-03-27 01:55:25 -04:00
AL2009man 1a5e42e55f changed note 2025-03-27 01:49:28 -04:00
AL2009man a26260e932 added SDL Hints field
For some reason: this sourceport isn't using SDL Hints. this is very crucial inorder to implement features sets like Gyro Aiming. Thus: most of the important hints will be forcefully enabled while improving Contorller compatibility when using RawInput
2025-03-27 01:47:49 -04:00
Raf 3d75365f2b mpsetups: increased max name length to 18 2025-03-27 01:01:46 +08:00
Raf ad9ed9ff3b mpsetupfile: scrapped groups, manage settings: rename/delete 2025-03-25 01:05:57 +08:00
Raf f5d851f7c2 mpsetupfile (not 100% functional yet): load/save setup file, save new setups/groups, increased mp options/scenario data width 2025-03-24 03:33:34 +08:00
SilentException 60b8e3b49e Log warning if configuration max settings is exceeded
+ snprintf instead of strncpy (null termination)
2025-02-24 21:35:02 +01:00