Commit Graph
7165 Commits
Author SHA1 Message Date
fgsfds 687682cab0 port: fix gamepad aiming with MOUSEAIM_CLASSIC
also uninvert Y when moving the camera with it
2023-08-30 16:10:42 +02:00
fgsfds c3b4d59168 port: add 1964GEPD-like mouse aim mode
you can switch to the old variant by setting Game.MouseAimMode to 1 in pd.ini
2023-08-30 15:28:33 +02:00
fgsfds 970e13773d port: remove unused fileSlots array 2023-08-30 12:45:39 +02:00
fgsfds af1422a1de port: move CrosshairSway and FovY to the [Game] ini section
fov doesn't really belong in the video functions either
2023-08-30 12:31:27 +02:00
fgsfds 4947350230 Merge pull request #70 from squiddingme/crosshair
Config option to control crosshair/gun sway
2023-08-30 12:15:57 +02:00
fgsfds e29e20e779 port: small cleanup; decrease bigfont height to 26
this avoids scrolling in the main menu; will probably also help with the extended options later
2023-08-30 12:14:18 +02:00
fgsfds 3490f1d7ae Merge pull request #104 from kronflux/port
Add an exit option to main menu
2023-08-30 12:03:20 +02:00
fgsfds d39d7fb1f5 port: small cleanup 2023-08-30 12:02:24 +02:00
fgsfds 8b3b684675 Merge pull request #108 from rafccq/port
enable using mouse on the radial menu
2023-08-30 12:00:27 +02:00
Richard M 630b236ac0 Merge branch 'fgsfdsfgs:port' into port 2023-08-30 01:10:15 -06:00
Raf 5bb7cb47aa Merge remote-tracking branch 'base/port' into port 2023-08-29 20:07:59 +08:00
fgsfds 7d152b37ad Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-29 14:00:48 +02:00
Ryan Dwyer 0235a971d6 Fix bot name array overflow 2023-08-29 21:36:58 +10:00
Raf bb9bb83202 Merge remote-tracking branch 'base/port' into port 2023-08-29 19:33:51 +08:00
Raf 1a7458a290 fix whitespace issues 2023-08-29 16:26:33 +08:00
fgsfds 00decf3347 port: wrap previous change in #ifdef AVOID_UB 2023-08-29 10:16:51 +02:00
fgsfds 6e1df743d0 Merge pull request #116 from AXDOOMER/port
Fix buffer overflow in creditsResetSlides
2023-08-29 10:15:02 +02:00
fgsfds c54a768b19 port: fix #117 and other related OOB writes 2023-08-29 10:09:46 +02:00
Richard M 250e9b1805 Merge branch 'fgsfdsfgs:port' into port 2023-08-29 00:44:46 -06:00
GreaseMonkey 43a91b2b4b Fix "mpindex=4" UB cases for various view gadgets 2023-08-29 13:15:42 +12:00
Alexandre-Xavier e4742bcafb Fix array out of bound in decoder.c 2023-08-29 01:07:44 +00:00
Alexandre-Xavier Labonté-Lamoureux 21f3dee554 Fix buffer overflow in creditsResetSlides 2023-08-28 19:45:50 -04:00
GreaseMonkey 889ae950fe Fix a few cases of UB incl. OoB
Behaviour should be mostly the same but there are some OoB accesses in the menu code where I've had to assume things.

Tests for each OoB case:

- Accessing of layer -1: Select a game file in the "Choose Your Reality" screen.
- Accessing of menu for the 5th player: Die in a mission.
2023-08-29 10:23:14 +12:00
Raf 272b28b6a9 attempt to fix whitespace issues 2023-08-29 02:53:17 +08:00
Raf 9a259acefa enable using mouse on the radial menu: removed unused constants 2023-08-29 02:41:11 +08:00
Raf 92392da6fe enable using mouse on the radial menu: reworked
mouse+kb and other input devices are no longer exclusive when using the radial menu
2023-08-29 02:39:16 +08:00
Raf 0f6920a3f1 Merge branch 'base-port' into port 2023-08-28 23:55:15 +08:00
fgsfds d2574c4b49 port: fix RGB555 textures in Grid
fix submitted by Ryan
2023-08-28 16:02:37 +02:00
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
fgsfds 916d147619 port: skip detail textures
this fixes the carpet in Defection and maybe other places, but means that detail textures are broken for now
2023-08-28 15:03:51 +02:00
Ryan Dwyer 4f56cd4c09 Set names for symbols relating to the gfx C0 command 2023-08-28 22:18:05 +10:00
Raf ab17a995a4 enable using mouse on the radial menu 2023-08-28 04:50:26 +08:00
squiddingme 3f562c3009 Add config option to control crosshair/gun sway 2023-08-28 02:40:50 +08:00
fgsfds 66443dd2c2 port: don't explode when EEPROM can't be saved or loaded 2023-08-27 17:49:27 +02:00
fgsfds 89849bc805 port: read keybinds from config file 2023-08-27 17:26:57 +02:00
fgsfds 4fef14f9fc port: rework config system
it is no longer required to specify all possible config keys in config.c, you can just use configGet/Set
2023-08-27 17:26:46 +02:00
fgsfds dce1f5492f Update README.md 2023-08-27 13:33:41 +02:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
fgsfds 57b6247a65 Update README.md 2023-08-27 13:22:59 +02:00
fgsfds 9529a991ef Merge pull request #68 from NeonNyan/controller-buttons
Multiple input updates
2023-08-27 13:06:16 +02:00
fgsfds 1f49665c05 Merge pull request #103 from iamgreaser/gm/fix-choppy-audio-at-non-60fps
Fix choppy audio at sub-60fps framerates
2023-08-27 12:49:54 +02:00
Richard M 0f73ab889f port: add an exit option to main menu
In Fullscreen there is currently no way to close the game without using Alt+F4. This adds an option "Exit" to the Main Menu, which asks to confirm before performing exit.
2023-08-27 04:16:51 -06:00
Catherine Reprobate aa8e08e4d0 Update readme 2023-08-26 18:35:07 -07:00
Catherine Reprobate 2a78f6902d handle b button differently if N64 platform 2023-08-26 17:56:36 -07:00
fgsfds 558875c91c port: fix the RGBA4/8 hack
this fixes the door hinge thing textures in CI
2023-08-27 02:17:30 +02:00
Catherine Reprobate 8ec0feb49b fix: grabbable 2023-08-26 17:16:41 -07:00
GreaseMonkey 5b0874daef Fix choppy audio at sub-60fps framerates 2023-08-27 12:12:21 +12:00
Catherine Reprobate df8c1139a1 fix: sniper crouching 2023-08-26 16:27:41 -07:00
Catherine Reprobate 0d7bd746ac move abstracted n64 buttons to contants.h 2023-08-26 16:17:54 -07:00
Catherine Reprobate e95c7f144e fixes AB remote detonation 2023-08-26 16:14:43 -07:00