fgsfds
60e2118001
Merge pull request #114 from iamgreaser/gm/ubfix-0001
...
Fix a few cases of UB incl. OoB
2023-08-31 18:29:38 +02:00
fgsfds
e883144a76
port: fix texformat errors
2023-08-31 13:00:04 +02:00
fgsfds
b6a3aef345
port: add logging and some command line args
...
--log: logs messages to pd.log
--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)
--no-sound: disable sound
--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds
2e49ba10dd
port: aspect correct radial menu
2023-08-31 10:36:21 +02:00
fgsfds
24ced381de
port: add separate mouse aim sensitivity
...
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +02:00
fgsfds
e265482cb4
port: more widescreen HUD hacks
2023-08-31 00:55:17 +02:00
fgsfds
ba8346edb7
port: experimental hack for proper 16:9 HUD
...
might or might not be more convenient than editing all offsets
2023-08-31 00:45:18 +02:00
fgsfds
600f261dcb
port: don't crash silently on GL errors
2023-08-30 18:19:54 +02:00
fgsfds
14efaee388
port: add wide rect commands; fix crosshair spazzing out on screen borders
...
if you're building manually, this change requires a clean rebuild
2023-08-30 17:21:13 +02:00
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