Commit Graph
7053 Commits
Author SHA1 Message Date
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
Catherine Reprobate 10844e7a52 fixup controller use buttons 2023-08-26 16:14:43 -07:00
Catherine Reprobate 077a091f7d fixup camspy bindings 2023-08-26 16:14:43 -07:00
Catherine Reprobate f88493870a Address multiple extended input nits
- Q for radial menu
- mapped remaining xbla buttons, but the menus follow switch controller handfeel
- based on @Phnod's switch-weapons PR: https://github.com/fgsfdsfgs/perfect_dark/pull/57
2023-08-26 16:14:43 -07:00
Catherine Reprobate 3f6f0b3f9c map sensible xbox inputs
xbox A is mapped to n64 B for using items
n64 A is unmapped for controller.

When radial / weapon switching is mapped way from n64 A n64 A can be
remapped as a cancel button .
Trigger will need to be used for the menus until
2023-08-26 16:14:43 -07:00
Phnod 5a0580005f Added scrollwheel weapon swapping 2023-08-26 16:14:43 -07:00
fgsfds 1439f8bbeb Merge pull request #76 from tmyqlfpir/mp-classic-weapons
Allow classic weapons to be used in multiplayer
2023-08-26 20:49:44 +02:00
fgsfds bf8277fb2c port: re-disable GBI_FLOATS
some more matrices need fixing I guess
2023-08-26 15:59:43 +02:00
fgsfds d9c974fc00 port: set default optimization level to -Og 2023-08-26 14:49:37 +02:00
fgsfds 23dfc05511 port: enable GBI_FLOATS by default
seems like it works fine
2023-08-26 14:49:07 +02:00
fgsfds 4d9a41bc76 port: (possibly) make the laser scale better with the bigger distance 2023-08-26 14:23:22 +02:00
fgsfds db0059e0f0 port: infinitely shooting guard fix from 1964GEPD 2023-08-26 14:08:20 +02:00
fgsfds 2b27c2dc6a port: make matrices work with GBI_FLOATS
add GBI_FLOATS=1 to DEFINES to enable it

not enabling by default yet because not sure if it'll break anything
2023-08-26 13:49:23 +02:00