Commit Graph
100 Commits
Author SHA1 Message Date
fgsfds c2fcb992ca Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-05-12 16:26:39 +02:00
fgsfds 54ba0d41c1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-05-12 16:22:49 +02:00
fgsfds 15c0327592 port: better light glare hit detection 2024-05-12 16:22:34 +02:00
fgsfds 13003121ea Update README.md 2024-05-11 15:54:52 +02:00
fgsfds ba56947457 clarify build instructions a bit 2024-05-11 15:53:34 +02:00
fgsfds 2c0abcb0e2 one more gcc14 fix 2024-05-11 14:46:21 +02:00
fgsfds 5554fb7219 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-05-11 14:14:34 +02:00
fgsfds 27faaecda2 gcc14 fixes 2024-05-11 14:13:51 +02:00
fgsfds a0f8550034 Merge pull request #422 from PaulGrandperrin/patch-1
Makefile.port: fix dependencies for parallel compilation
2024-04-25 17:33:29 +02:00
fgsfds b4f7f467c0 Merge pull request #406 from jonaeru/port-perfectdarkness
Give Night Vision at respawn in Perfect Darkness Combat
2024-03-17 13:38:42 +01:00
fgsfds 894ccfabf3 Merge pull request #408 from jonaeru/port-fix-xrayscanner
Fix X-Ray Scanner model in Combat Simulator
2024-03-17 13:38:01 +01:00
fgsfds 804674e2b1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 22:38:49 +01:00
fgsfds c9f880e427 port: fix #224, allow combat knife in jpn 2024-03-09 22:38:11 +01:00
fgsfds 20534a731b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 17:45:50 +01:00
fgsfds 92a9ac43fc port: fix linux build 2024-03-09 17:45:27 +01:00
fgsfds 242a89a622 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 17:40:37 +01:00
fgsfds 4baae8de0b port: add extra sleep calls to busy loops; separate sleep into system.c 2024-03-09 17:39:41 +01:00
fgsfds d11b5705a2 port: add missing configRegisterUInt decl 2024-03-09 17:03:06 +01:00
fgsfds 04e2ed51a6 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-02-13 01:18:08 +01:00
fgsfds 839143550f port: fix potential crash in handInflictMeleeDamage
pointers can be little endian, so there might be a problem
2024-02-13 01:16:57 +01:00
fgsfds 11fd86002b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-02-12 16:38:09 +01:00
fgsfds fe0d9b3cfd port: fix blur shader on some older cards 2024-02-10 16:56:54 +01:00
fgsfds 935cd1faa9 port: gl: dump shader source when compilation fails 2024-02-10 14:07:20 +01:00
fgsfds 36f8494ebf Update README.md 2024-01-29 22:11:34 +01:00
fgsfds fcb1dbb298 Merge pull request #375 from abgrac/readme-links-netplay
Add port-net/netplay build links to default README
2024-01-29 22:10:14 +01:00
fgsfds 33cc89e8fd Merge pull request #371 from Calinou/add-crosshair-health-option
Add an option to color crosshair according to player health + shield
2024-01-28 18:39:05 +01:00
fgsfds cc6df47eed Merge pull request #372 from Calinou/crosshair-hide-when-dead
Always hide crosshair when dead
2024-01-28 18:37:50 +01:00
fgsfds 474a6df3d4 port: add spawn with weapon mp option
unfortunately it does not fit in the save buffer and won't save
2024-01-16 01:56:30 +01:00
fgsfds 9cde121b52 port: don't call rumble function if rumble strength is 0 2024-01-15 12:58:00 +01:00
fgsfds e53f26f3eb port: fix #347
patch submitted by Ryan Dwyer

The patch allows all humans/bots to be selected regardless of team. It also adds a check to make sure a bot is not given a command to attack itself.
2024-01-15 09:47:52 +01:00
fgsfds 81313f0c4e port: ifdef around sight scale changes 2024-01-14 21:21:19 +01:00
fgsfds cf5588478b Merge pull request #332 from Calinou/add-crosshair-size-option
Add a crosshair size option
2024-01-14 21:21:03 +01:00
fgsfds d9cb850848 Merge pull request #333 from AXDOOMER/port
Always use high detail weapon models
2024-01-14 21:20:36 +01:00
fgsfds b9db86f89b port: add command line parameter to select player file 2024-01-07 22:05:31 +01:00
fgsfds 6bd3597ff6 port: fix optionsmenu.c warnings 2024-01-07 18:40:32 +01:00
fgsfds 8645d0a82a port: don't use the existing log system in crashlog in case it crashes 2024-01-07 17:07:12 +01:00
fgsfds ba52580e0c port: display module offsets in the windows crashlog 2024-01-07 16:43:20 +01:00
fgsfds d1d288b96a port: don't use cv2pdb by default if it exists 2024-01-07 16:43:02 +01:00
fgsfds 06f2283180 port: use cv2pdb on windows executables if present 2024-01-07 16:09:04 +01:00
fgsfds b1b17e21c1 port: write crash info to log file even without --log 2024-01-07 15:40:30 +01:00
fgsfds c487e423b1 port: fix blur-related crash on Intel GPUs 2024-01-03 21:55:07 +01:00
fgsfds 49f607dd79 port: fix pal and jpn builds 2023-12-30 12:19:36 +01:00
fgsfds 787758c038 port: log branch name 2023-12-28 21:48:05 +01:00
fgsfds 3c62a967a2 port: display branch name in legal screen 2023-12-26 22:58:08 +01:00
fgsfds f2a2458795 port: fix typo 2023-12-22 12:33:34 +01:00
fgsfds a7ab358b43 port: simplify sight color code a bit 2023-12-22 12:32:13 +01:00
fgsfds a82ac025da Merge pull request #300 from Bobbar/port_crosshair_alpha
Crosshair Alpha Proof of Concept
2023-12-22 12:25:36 +01:00
fgsfds 461bf8d49b Merge pull request #314 from kronflux/port
port: add "Skedar Leader" track to Soundtrack menu
2023-12-22 12:24:46 +01:00
fgsfds 92c66c93dc port: correct HUD aspect in horizontal 2-player splitscreen too 2023-12-17 12:52:11 +01:00
fgsfds 94df3fc58c Merge pull request #309 from djdv/feat/win-max
port: add maximize window option to extended menu
2023-12-17 12:30:25 +01:00
fgsfds f2545b4e53 port: fix GE muzzleflashes on single-shot guns 2023-12-17 12:28:47 +01:00
fgsfds 28218b26c2 port: add setting for GE muzzle flashes and disable it by default 2023-12-16 15:22:23 +01:00
fgsfds 4233e5e066 Merge pull request #293 from Nyxem64/muzzleflash
GE Muzzle flash addition
2023-12-16 15:08:22 +01:00
fgsfds cdd7d6edac port: use strto* when parsing config instead of ato*
allows hex values
2023-12-16 15:08:14 +01:00
fgsfds 581c63fc27 Merge pull request #308 from djdv/feat/win-max
port: add start window maximized flag to config
2023-12-16 15:03:04 +01:00
fgsfds dee7ab7b54 Merge pull request #306 from Bobbar/port_u32_config_support
Add config support for unsigned integers.
2023-12-16 15:02:37 +01:00
fgsfds 0a7faf2409 port: add file patching system; add patch for #286
patch submitted by Ryan Dwyer
2023-12-07 17:20:34 +01:00
fgsfds 03324c0823 port: use correct aspect instead of 4:3 when scaling crosshair 2023-12-07 16:46:32 +01:00
fgsfds aeb6851606 port: change FPS hard cap to 240 on NTSC, 200 on PAL 2023-12-06 17:16:34 +01:00
fgsfds 26da2aa5e6 Update README.md 2023-12-06 17:12:13 +01:00
fgsfds 7647062619 port: hard cap FPS to 200 for now 2023-12-06 17:11:21 +01:00
fgsfds 3a313287bb port: fix config ints not clamping properly 2023-12-06 17:10:48 +01:00
fgsfds 42af4d4604 port: approximately normalize eyespy bob 2023-12-06 16:53:46 +01:00
fgsfds 3118d01921 port: don't render garbage in the first blur frame (fixes #287) 2023-12-06 14:57:21 +01:00
fgsfds f46359b307 Update README.md 2023-12-05 16:27:09 +01:00
fgsfds 00297f6d0d Merge pull request #276 from hyh19962008/port
Add the minimal required gcc and sdl2 version in README.md
2023-12-05 16:23:47 +01:00
fgsfds 75c4905e9b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-12-04 21:36:58 +01:00
fgsfds d1be171939 port: only use SDL_CONTROLLER_TYPE_VIRTUAL when available 2023-12-04 18:22:37 +01:00
fgsfds 6f206345a1 Merge pull request #282 from JAMoreno-Larios/port
Changed 'codeclean' so that it doesn't try to delete inexistent directories.
2023-12-03 23:08:25 +01:00
fgsfds f96e7da00f port: use proper aspect for 2D elements
this means that now scaling at most 4:3 resolutions will be a bit mangled, since the real base resolution is 320x220
2023-12-03 21:10:41 +01:00
fgsfds 336b7825c7 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-12-03 03:53:02 +01:00
fgsfds 2c20a0487e port: better menu blur
TODO: make it render the blurred texture to the fb once instead of rendering it blurred every frame
2023-12-02 19:18:47 +01:00
fgsfds aef2463361 port: alternative fix for the classic sight 2023-12-02 14:04:33 +01:00
fgsfds 2b8d5d4f75 port: fix crosshair aspect and make sights centered 4:3 2023-12-02 13:48:24 +01:00
fgsfds ef83f23200 port: fix sun aspect ratio 2023-12-01 19:35:04 +01:00
fgsfds 75133acbbd port: alternate squished aspect fix
by just changing the actual aspect instead of fucking around with the resolution
2023-12-01 17:31:42 +01:00
fgsfds 1aea68b89a Revert "port: unsquish the aspect ratio"
This reverts commit af34015562.

I'll have to come up with a better way to do this
2023-12-01 17:21:27 +01:00
fgsfds af34015562 port: unsquish the aspect ratio
this might break something but I haven't noticed anything bad yet
2023-11-30 10:51:21 +01:00
fgsfds 7cd3dafaa4 port: add wide HUD centering option for ultrawide displays 2023-11-27 11:52:53 +01:00
fgsfds 63046b4a00 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-11-27 09:54:47 +01:00
fgsfds e0249067b9 port: reset the controller LEDs on unassign 2023-11-27 01:26:45 +01:00
fgsfds 31ad9351f5 port: load gamecontrollerdb if available 2023-11-27 01:20:09 +01:00
fgsfds 116dc7e8b6 port: allow assigning controllers manually 2023-11-27 00:57:52 +01:00
fgsfds aced07f356 Merge pull request #253 from NeonNyan/fix-camspy
fixup: PC controls camspy instant abort
2023-11-26 23:59:35 +01:00
fgsfds 4a3c3a29b7 port: measure nbomb age based on timestamps
makes them last the same amount of time regardless of fps
2023-11-26 21:15:47 +01:00
fgsfds 523e6ba9d9 port: don't randomly close radial menu at 240fps 2023-11-26 20:45:54 +01:00
fgsfds c6a36633f5 port: untie radial menu open delay from framerate 2023-11-26 20:43:31 +01:00
fgsfds 626b5937ce port: possibly fix reloading and some altmodes in N64 schemes 2023-11-26 20:32:46 +01:00
fgsfds 228851f867 port: add c-buttons to bind menu 2023-11-26 20:27:22 +01:00
fgsfds 1c72b3022e port: prevent extended options from cutting off 2023-11-26 19:46:06 +01:00
fgsfds 5affafacbd port: debugger: add framerate divisor setting 2023-11-26 19:38:54 +01:00
fgsfds 8ca7f79c1e Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-11-26 19:26:54 +01:00
fgsfds 5d7b7adb57 port: expose FirstGamepadNum as checkbox in ext options menu 2023-11-26 19:26:07 +01:00
fgsfds 2d3e3d1aaf port: add option to disable death music in MP 2023-11-26 19:10:19 +01:00
fgsfds 94e8e1b5e7 port: don't nuke all binds when resetting one player 2023-11-26 19:05:13 +01:00
fgsfds d3a2ed216a port: add a second set of default bindings for N64 controls 2023-11-26 18:40:06 +01:00
fgsfds 600dae58e2 port: allow using N64 control schemes
change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds 3a1d08509b port: unlock all challenges properly 2023-11-26 13:40:15 +01:00
fgsfds f72b2968f2 port: add surface hit info 2023-11-25 19:14:20 +01:00
fgsfds 5c152c1842 port: move prop info to imgui window 2023-11-25 18:51:35 +01:00