Commit Graph
100 Commits
Author SHA1 Message Date
fgsfds 618a1f3386 port: set g_MaxExplosions to 6 by default 2025-06-14 09:59:19 +02:00
fgsfds 4bd6dd8617 Merge pull request #597 from rafccq/port-no-doors
"No Doors" option in multiplayer
2025-06-11 12:40:33 +02:00
fgsfds eabd7a438f Merge pull request #623 from rafccq/port-max-explosions
Maximum number of explosions now can be changed from the .ini file
2025-06-11 12:23:31 +02:00
fgsfds e8a69f39db port: fix deformation-related vertex explosions on 64-bit 2025-06-06 11:18:50 +02:00
fgsfds 38cb1557d0 cmake: enable compile_commands.json 2025-06-06 11:04:40 +02:00
fgsfds d9185982f8 port: fix sun glare 2025-06-02 23:07:35 +02: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
fgsfds 9bffab7e3e port: do not read past the end of EEPROM when scanning for headers 2025-05-31 13:24:13 +02: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
fgsfds 629dbfe924 Merge pull request #613 from AL2009man/FOV-MouseSen-fix
Camera Sensitivity no longer tied to FOV Slider
2025-05-29 20:01:32 +02:00
fgsfds f72f93a270 Merge pull request #619 from AL2009man/PerfectQuakeDark2
Mouse Sensitivty cap increased to 30.00
2025-05-29 20:00:14 +02:00
fgsfds d5b4e0916c Merge pull request #618 from cylonicboom/pr/discover-dialogisopen
refactor(menu): rename unk5d5_06 and sp344 for clarity
2025-05-25 00:39:20 +02:00
fgsfds 8bfaaf63ed Merge pull request #610 from joshuarwood/documented_zbuffer
Updated variable and function names for artifact handling
2025-05-12 16:43:07 +02:00
fgsfds 816d83a0b5 Merge pull request #605 from cylonicboom/pr/rename-unk008
rename `struct menudata.unk008|unk00c` properties
2025-04-28 09:23:05 +02:00
fgsfds 4b8e1d52b5 port: move menuAlt functions to menu.c and make them global 2025-04-27 15:54:39 +02: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
fgsfds f414e8a792 Merge pull request #601 from cylonicboom/pr/joyreset-on-controller-change
port: call `joyReset()` when changing controllers
2025-04-27 13:44:36 +02:00
fgsfds 0ac5fdd5c3 Merge pull request #593 from jonaeru/fix-mp-selectrandomweapon
Fix offset in weapon set by adding IR Scanner and Night Vision and Select Random Weapons feature
2025-03-30 18:44:18 +02: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
fgsfds 91c207a51b Merge pull request #590 from AL2009man/SDLHint-Fix
SDL_SetHint Controller Update
2025-03-29 12:19:27 +01:00
fgsfds 0d76ad102f Merge pull request #589 from cylonicboom/pr/goggles-in-cs
Add Night Vision Goggles and IR Scanner to Combat Simulator
2025-03-29 12:03:54 +01:00
fgsfds 135c293656 Merge pull request #592 from peerchemist/port
Flatpak x86_64
2025-03-29 12:03:16 +01:00
fgsfds 2ff8819265 Merge pull request #550 from ZenithMDC/slider-mouse-upgrades
Ergonomic upgrades for menu sliders while using the mouse
2025-03-16 09:03:23 +01:00
fgsfds 77d1ded519 Merge pull request #584 from SilentException/config-max-warning
Warn when CONFIG_MAX_SETTINGS limit is reached
2025-02-24 22:27:37 +01:00
fgsfds 8b0b75d4ad port: increase CONFIG_MAX_SETTINGS 2025-02-24 20:26:38 +01:00
fgsfds 8dbe6f2a63 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port 2025-02-22 13:51:02 +01:00
fgsfds 045c4c371a Revert "ci: temporarily disable flatpak autobuilds"
This reverts commit daade36e19.
2025-02-22 13:50:49 +01:00
fgsfds f4f1470e1e port: use a dynamic string for the vsync options 2025-02-22 13:48:25 +01:00
fgsfds 26251c0865 Update README.md 2025-02-22 13:28:23 +01:00
fgsfds ac4f317879 port: changes to the video settings PR:
- change FPS calculation to use average FPS, use real time instead of render time for interval timing

- remove Maximize Window (you already have a maximize button and it's saved to the INI)

- remove Display FPS Interval from settings (the average user won't care and whoever cares can change it in the INI)

- remove the tickrate override flag and implicit tickrate adjustment in the framerate limit option, instead add one checkbox to uncap tickrate (mostly because I'd like the game to default to the og 60 FPS cap since high FPS is still unstable)

- rearrange some options a bit
2025-02-22 13:22:00 +01:00
fgsfds e3104b7043 Merge pull request #538 from ZenithMDC/revamp-video-options
Allow changing video resolution at runtime + more
2025-02-22 11:26:43 +01:00
fgsfds 176b4282fc Merge pull request #577 from jonaeru/mp-random-weapon-filter
Add "Select Random Weapons" mp menu
2025-02-22 11:16:56 +01:00
fgsfds cd8f06d03a Merge pull request #578 from jonaeru/fix-friendly-fire
Fix to enable Friendly Fire option in Challenge
2025-02-22 11:15:38 +01:00
fgsfds 9cff3591dd port: add an option to make opposite c-buttons cancel each other
for #581
2025-02-22 10:49:48 +01:00
fgsfds daade36e19 ci: temporarily disable flatpak autobuilds
until this fucking action is fixed
2025-02-11 21:06:15 +01:00
fgsfds addc890628 ci: try to fix flatpak action 2025-02-11 20:47:52 +01:00
fgsfds 8a3dd74d5c port: add option to reload with use key in extcontrols 2025-02-11 20:02:35 +01:00
fgsfds f1084b6d93 ci: use ubuntu-22.04 for i686-linux because ubuntu-24.04 is wack 2025-01-25 12:00:48 +01:00
fgsfds 9a462d3ca8 port: log controller GUID to aid in binding generation 2025-01-25 11:55:50 +01:00
fgsfds 4f7817a0ca port: forgot the constant 2025-01-05 15:45:42 +01:00
fgsfds 5084b4be39 port: simplify the keyboard input a bit and match it to port-net's
backspace key now repeats properly

TYPE WITH KEYBOARD changes into a tooltip when typing

players with controllers are allowed to type, because that seems more convenient

players 2, 3 and 4 are allowed to type too if they hit the button, but only one player can have keyboard focus at a time
2025-01-05 15:27:45 +01:00
fgsfds a05c4290f5 Merge pull request #557 from ZenithMDC/text-input
Allow typing with keyboard in menuitemKeyboard
2025-01-05 13:44:43 +01:00
fgsfds 49cd478622 Merge pull request #564 from ZenithMDC/skip-credits
Allow skipping credits for the port
2024-12-29 15:05:55 +01:00
fgsfds 0443c708dd port: align size of bg light block to 4
this avoids unaligned accesses on ARM
2024-12-29 14:47:42 +01:00
fgsfds 7f105f1dcb port: on ARM, only enable DO_YIELD() if ARMv7 or ARM64 2024-12-29 13:56:44 +01:00
fgsfds 23d5a5771a port: fix mouse X speed using wrong aspect in split screen 2024-12-20 13:38:19 +01:00
fgsfds 0701f43d6b Merge pull request #559 from cylonicboom/editorconfig
add editorconfig
2024-12-20 13:36:05 +01:00
fgsfds d5ae464f6d Merge pull request #561 from cylonicboom/rename-func0f0d5484
func0f0d5484 -> savebufferWriteData
2024-12-20 13:33:37 +01:00
fgsfds 26b3b91433 Merge pull request #552 from ZenithMDC/resolution-independent-mouse-aim
Make mouse aim speed resolution-independent
2024-12-19 18:26:59 +01:00
fgsfds 1e76f6af69 port: actually parse allocation strings; double gfx buffer size on 64-bit 2024-12-17 10:44:33 +01:00
fgsfds a14e9ed97e port: retry creating SDL window when trying different GL versions 2024-12-11 14:06:44 +01:00
fgsfds 4f2b911802 Merge pull request #555 from ZenithMDC/fix-crash-on-copy
Prevent crash when copying player data
2024-12-09 23:34:30 +01:00
fgsfds 2439eb6e8d Merge pull request #551 from ZenithMDC/increase-mouse-speed-precision
Increase precision for mouse speed options
2024-12-08 13:40:23 +01:00
fgsfds 903dd82ebf port: alternate fix for #548 2024-12-08 13:39:21 +01:00
fgsfds 05e462b680 Merge pull request #549 from ZenithMDC/fix-dialog-mousescroll
Forbid mousescroll if dialog is dimmed
2024-12-05 09:40:32 +01:00
fgsfds 49ee5b7efb Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port 2024-12-04 16:28:15 +01:00
fgsfds a1ca69d9ee port: fix issues mentioned in #530 and #532 2024-12-04 16:27:53 +01:00
fgsfds 424d4de9ac Merge pull request #535 from ZenithMDC/fix-duel-momentum
Discard player momentum during autowalk sequences
2024-12-04 11:30:57 +01:00
fgsfds 0e1a7e136a port: fix uninitialized var in aiIfPresetsTargetIsNotMyTarget (fixes #542) 2024-12-04 10:42:48 +01:00
fgsfds 2386494030 port: 64-bit: fix mema end marker (fixes #545) 2024-12-02 13:43:28 +01:00
fgsfds 67675d8980 port: fix #541 2024-11-29 09:46:46 +01:00
fgsfds 9c4aded403 port: osx: restore 10.9 target version 2024-11-24 01:05:18 +01:00
fgsfds 92e1c4aa0b port: osx: temporarily bump target version to 10.13 to test something 2024-11-24 00:31:31 +01:00
fgsfds f53fb8e952 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port 2024-11-24 00:25:42 +01:00
fgsfds 0ad4492ff6 port: default to home directory for saves on OSX as well 2024-11-24 00:25:19 +01:00
fgsfds 33efd36278 readme: add note about save folder 2024-11-23 21:11:38 +01:00
fgsfds 37e69cb83d readme: add osx build instructions 2024-11-23 21:07:21 +01:00
fgsfds 5c5c33c116 readme: small style edit 2024-11-23 20:46:59 +01:00
fgsfds 13a3e0a0ea readme: specify OS versions 2024-11-23 20:46:17 +01:00
fgsfds ccb50c6021 readme: update supported platforms 2024-11-23 20:45:16 +01:00
fgsfds 563e8f9f64 port: osx: set minimum OS version to 11 for arm64 builds 2024-11-23 19:36:38 +01:00
fgsfds df3e0359b9 port: osx: bump OS target to 10.9, since some things in SDL2 won't work with lower 2024-11-23 19:21:25 +01:00
fgsfds 460cc25ef5 port: osx: bump OS target to 10.7, as current SDL2 does not support any lower 2024-11-23 19:13:41 +01:00
fgsfds 596dd7dd40 port: osx: build for MacOS 10.14 2024-11-23 19:05:51 +01:00
fgsfds b2338179d6 port: don't uncrouch in spaces where we don't fit when using extended controls 2024-11-23 12:14:03 +01:00
fgsfds 683d083fab port: don't round crosspos itself, round a copy instead 2024-11-23 09:54:43 +01:00
fgsfds f75a569075 Merge pull request #522 from ZenithMDC/centered-crosshairs
Center-align crosshairs, zoom range, and radar
2024-11-23 09:20:48 +01:00
fgsfds b97eaa9e12 port: simplify night vision check for prop flickering fix 2024-11-22 10:40:20 +01:00
fgsfds 3cadaecf96 Merge pull request #525 from cylonicboom/fix-mp-nvg
Fixes MP NVG flashing bug
2024-11-22 10:28:18 +01:00
fgsfds 4bc1a16d36 build: osx: set RPATH to executable path 2024-11-21 19:31:14 +01:00
fgsfds bc1f1c26db ci: osx: build with CMAKE_MACOSX_RPATH enabled 2024-11-20 13:59:06 +01:00
fgsfds d2d35263a4 port: sanitize controller names
because apparently some of them can't fucking resist putting a funny R or TM in there
2024-11-20 13:00:41 +01:00
fgsfds ba1b6c3232 port: turns out depth_clamp is in core GL since 3.2 2024-11-20 12:51:35 +01:00
fgsfds 3c020cad84 port: detect gl core and GLES3 at runtime; add hacks to make it work properly 2024-11-20 12:07:18 +01:00
fgsfds 140f6f24e8 ci: actually update osx builds to releases 2024-11-19 18:17:16 +01:00
fgsfds c7895d937f tools: fix the python warning about the \h 2024-11-19 18:15:05 +01:00
fgsfds 9f43c906db ci: osx: don't install packages already in runner; enable releases and port-net 2024-11-19 18:08:41 +01:00
fgsfds 31dbb5e7c6 ci: osx: actually install SDL2 2024-11-19 18:02:03 +01:00
fgsfds 7d8e755fc7 ci: forgor to checkout source 2024-11-19 17:58:21 +01:00
fgsfds 103fb0e0e9 ci: what the fuck? 2024-11-19 17:56:48 +01:00
fgsfds b220d73f2c ci: add osx autobuilds 2024-11-19 17:50:10 +01:00
fgsfds efda5a5f44 port: also try GL4.1 core; a little bit of cleanup 2024-11-19 17:37:19 +01:00
fgsfds 41d5630eec Merge pull request #534 from cylonicboom/port-osx
osx build
2024-11-19 17:28:02 +01:00
fgsfds 06dcbcc1b1 port: rename random to rngRandom to avoid conflicts with libc 2024-11-17 11:03:57 +01:00
fgsfds d747588323 ci: only build the port branch for nswitch 2024-11-16 15:37:43 +01:00
fgsfds 363158a93d port: fix typo 2024-11-16 15:21:49 +01:00