Commit Graph
6936 Commits
Author SHA1 Message Date
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
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
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
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
fgsfds 85e914c129 Merge pull request #94 from MaikelChan/credits_texts
Fixed credits texts with wrong UVs.
2023-08-26 13:31:20 +02:00
MaikelChan 5710b2a7dd Fixed credits texts with wrong UVs. 2023-08-26 13:24:42 +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 87529f37c8 port: use gettimeofday() as timing source; use smaller tick multiplier to avoid overflows 2023-08-24 18:11:14 +02: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 82f647299c port: link with -ldl on linux regardless of arch 2023-08-23 22:36:47 +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 143d2a107a port: save config on exit 2023-08-22 20:37:18 +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