Commit Graph
6749 Commits
Author SHA1 Message Date
GreaseMonkey 43a91b2b4b Fix "mpindex=4" UB cases for various view gadgets 2023-08-29 13:15:42 +12: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
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
Ryan Dwyer 4f56cd4c09 Set names for symbols relating to the gfx C0 command 2023-08-28 22:18:05 +10:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
Catherine Reprobate 2a78f6902d handle b button differently if N64 platform 2023-08-26 17:56:36 -07:00
Catherine Reprobate 8ec0feb49b fix: grabbable 2023-08-26 17:16:41 -07: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 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
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 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
fgsfds 844139b339 port: restart currently playing MP3 when needed
there's probably a way to determine reset condition without adding an extra field to g_Mp3Vars, but I can't be arsed to figure it out
2023-08-26 10:34:35 +02:00
Ryan Dwyer 79a94b29ce Name some texture symbols, mostly relating to LODs 2023-08-26 12:20:04 +10:00
tmyqlfpir d03617d682 Add classic weapons to multiplayer 2023-08-26 11:09:58 +10:00
fgsfds 8494e29075 Merge pull request #90 from Phnod/laser-sight-distance
Increase Falcon laser fade out distance
2023-08-25 20:59:20 +02:00
fgsfds d229ba2405 port: somewhat fix the health display at different FOVs 2023-08-25 20:56:17 +02:00
fgsfds 4ab1e08129 port: make sun and light glares use LOS checks
this partially fixes them, but there are still problems to iron out
2023-08-25 17:18:02 +02:00
Phnod 4255867f29 Increase laser fade out distance 2023-08-25 00:39:20 -04:00
fgsfds caaf82385b port: disable color modulation effects when none are active 2023-08-24 17:53:13 +02:00
fgsfds ffdcdeee9f port: increase slayer sensitivity a bit more 2023-08-23 23:02:56 +02:00
fgsfds 0db9e84b58 port: cap slayer rocket sensitivity and make it a bit bigger 2023-08-23 22:47:06 +02:00
fgsfds a85a18774f port: implement NVG/IRG color modulation using the grayscale command
still missing the funky overlays
2023-08-22 23:21:55 +02:00
fgsfds 47258ebd7f Merge pull request #53 from tmyqlfpir/fix-footsteps-slomo
Fix spamming footsteps for slow mode
2023-08-22 20:30:55 +02:00
fgsfds 095b7540d5 port: fix aspect on menu models 2023-08-22 20:22:25 +02:00
fgsfds e871156301 port: reduce or eliminate portal seams
by slightly extending the portal scissor boxes
2023-08-22 20:09:14 +02:00
fgsfds 35da8e2e67 port: fix animated textures in Attack Ship
patch submitted by Ryan
2023-08-22 19:48:22 +02:00
fgsfds 5d4606d0f6 port: fix #73
patch submitted by Ryan
2023-08-22 19:47:50 +02:00
fgsfds 2533a844a7 port: fix use-after-free when invalidating texcache 2023-08-22 01:35:13 +02:00
Ryan Dwyer 38345c1672 Set names for menumodel symbols 2023-08-22 08:48:32 +10:00
fgsfds 12eeb97e71 port: don't go out of bounds when unswizzling textures
this might still break though, god knows what else is there in the texconfigs
2023-08-22 00:30:41 +02:00
tmyqlfpir 5aa8474d2b Adjust FOV zoom speed when using non-default FOV 2023-08-21 18:23:40 +10:00
fgsfds 9e3dd9b6d4 Merge pull request #61 from tmyqlfpir/eyespy-clamp
Limit eyespy range to 75 degrees
2023-08-21 01:12:52 +02:00
tmyqlfpir bf43f32946 Adjust pickup degrees threshold 2023-08-21 07:45:38 +10:00
tmyqlfpir 4455cfcde1 Limit eyespy range to 75 degrees
Needed due to lack of lookahead
2023-08-21 07:26:01 +10:00
tmyqlfpir 682c0c83a1 Expose LV_SLOMO_TICK_CAP macro in lv.h
Needed for slomo footsteps fix
2023-08-21 06:24:08 +10:00
fgsfds b4207b3fd9 port: allow theoretical ARM builds
this requires your device to support desktop GL3+ and might require manual setting of the TOOLCHAIN variable
2023-08-20 21:41:04 +02:00
tmyqlfpir 18ae54f656 Fix footsteps with combat boost 2023-08-21 02:33:11 +10:00
tmyqlfpir f6fb534035 Fix spamming footsteps for slow mode 2023-08-21 01:49:59 +10:00
fgsfds 4b0f2ea439 port: unswizzle pre-swizzled textures 2023-08-20 17:26:11 +02:00
fgsfds d007550adb Merge branch 'port' into port 2023-08-20 15:30:19 +02:00
fgsfds 170f2646e1 Merge pull request #48 from tmyqlfpir/fix-ai-menu-mp
Fix menu crash when issuing order to all bots
2023-08-20 15:28:14 +02:00
tmyqlfpir ec09d4a6ca Use already existing JPN fix 2023-08-20 23:19:59 +10:00
fgsfds 1b04dd8032 Merge pull request #45 from tmyqlfpir/port
Adjust spark scale depending on output resolution
2023-08-20 15:15:43 +02:00