Commit Graph
6985 Commits
Author SHA1 Message Date
Raf ec6b6b25a4 Merge remote-tracking branch 'base/port' into port 2023-09-02 00:20:29 +08:00
fgsfds e5e685902c port: don't use G_RM_NOOP2 with non-noop 1cyc modes
this ALMOST fixes sparks and blood splatter
2023-09-01 17:56:00 +02:00
fgsfds b0d97bde89 port: possibly fixed a bunch of textures
at the cost of about 22kb extra memory, how horrifying
2023-09-01 17:55:07 +02:00
Raf 83cfaa5e77 Merge remote-tracking branch 'base/port' into port 2023-09-01 20:44:50 +08:00
fgsfds 29dae044cc port: also disable hi-res and aspect options in 2p pause menu 2023-09-01 12:45:05 +02:00
Raf 7e83207444 Merge remote-tracking branch 'base/port' into port 2023-09-01 15:59:51 +08:00
fgsfds 9744b2266f port: dummy out hi-res and screen ratio options 2023-09-01 09:22:09 +02:00
Raf 93ff313237 Merge remote-tracking branch 'base/port' into port 2023-09-01 01:05:42 +08:00
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
Raf 49963c2e47 Merge remote-tracking branch 'base/port' into port 2023-08-31 20:07:43 +08: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
Raf b49cc250e0 Merge remote-tracking branch 'base/port' into port 2023-08-31 17:53:17 +08:00
fgsfds 2e49ba10dd port: aspect correct radial menu 2023-08-31 10:36:21 +02:00
Raf 4042fb3a62 Bug fix: double reload 2023-08-31 14:29:29 +08: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