Commit Graph
455 Commits
Author SHA1 Message Date
John Collier 9f30f50b79 Prevent keyboard events from being swaollwed on certain Wayland systems
Signed-off-by: John Collier <6880023+johnmcollier@users.noreply.github.com>
2026-08-13 01:10:48 -04:00
fgsfds 20fc4c6cc7 port: #721: scale glare brightness with FOV; add glare brightness settings 2026-05-17 12:42:54 +02:00
fgsfds 309bd45a01 port: #718: disable linear filtering and mipmaps when three-point is enabled 2026-05-17 12:40:43 +02:00
Jonaeru 998eee9c61 Fix menu character and weapon texture corruption 2026-05-01 21:28:41 +09:00
fgsfds d8962763b7 port: don't apply linear mag filter when using three-point either 2026-04-28 18:48:55 +02:00
fgsfds 783791064b port: actually use the filter array for the previous fix instead of smoking crack 2026-04-28 18:45:08 +02:00
fgsfds 8106349540 port: if three-point filtering is enabled, don't also enable bilinear filtering 2026-04-28 18:32:23 +02:00
Alex LeTux f25721da8f Remove trailing slash from directory checks
> The slash is unnecessary and causes issues when building with a recent version of MinGW.
2026-04-24 11:23:38 +02:00
fgsfds 7c949ed9d7 Merge pull request #675 from rafccq/port-tex-mips-aniso
Mipmaps and Anisotropic Filtering
2026-03-23 10:34:33 +01:00
fgsfds 8470d50f21 Merge pull request #697 from TartanSpartan/fix-scissor-viewport
Improve scissor operations to correct "thin blue line" bug
2026-03-23 10:33:12 +01:00
Catherine Reprobate ccb3c8668d fixup keyboard input + vi insert shortcut 2026-03-14 12:57:55 -07:00
TartanSpartan bcb8c2720a Improve scissor operations for upstream. 2026-01-29 22:12:30 +00:00
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
Raf 2d390ae5ce small code simplification 2025-12-04 18:55:52 +08:00
Raf c303c81f88 gfx: mipmaps and anisotropic filtering 2025-12-04 18:09:49 +08: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