Commit Graph
5154 Commits
Author SHA1 Message Date
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
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 0d7bd746ac move abstracted n64 buttons to contants.h 2023-08-26 16:17:54 -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 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 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
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 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 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
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 2a5594d7d5 Merge pull request #47 from tmyqlfpir/no-lods
Don't draw LODs for port
2023-08-20 15:14:33 +02:00
fgsfds 6fbb7e39ec Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-20 14:41:57 +02:00
tmyqlfpir 97258542be Don't draw LODs for port 2023-08-20 20:08:19 +10:00
Ryan Dwyer 09edfb8545 Fix some global data placement issues 2023-08-20 16:48:35 +10:00
Catherine Reprobate c3dc838acb F to crouch w/ sniper
F to crouch with sniper
F + Z to crouch with sniper
2023-08-19 14:47:43 -07:00
fgsfds 420053178e Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-19 11:45:17 +02:00
Ryan Dwyer 032c5166f4 Fix improper casting of model rwdata 2023-08-19 19:01:00 +10:00
Catherine Reprobate a71c7cbba2 Merge branch 'fgsfdsfgs:port' into port 2023-08-18 16:39:44 -07:00
fgsfds 1d151f2864 port: implement some framebuffer effects
cloaking and menu blur

in a likely extremely slow way
2023-08-19 00:48:09 +02:00
Catherine Reprobate ffae4540f9 dedicated radial menu mapped to D_JPAD 2023-08-18 14:34:58 -07:00
Catherine Reprobate 25b5f66e6b map L_TRIG to alt button
- switches immediately when releases L
- or whenevever L+Z is pressed. Will switch back when L is released.
2023-08-18 14:32:08 -07:00
Catherine Reprobate 68c00af44e Mapped reload to X_BUTTON.
Introduce `JO_ACTION*` constants to use `player.bondreloadoractivate` as a bit
field.

Deviation from vanilla Mouse Injector behavior: hard seperation between
reload and activate. `B` will not reload just as `ALT1` will not
activate.
2023-08-18 14:09:45 -07:00
fgsfds fedcbb8917 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-16 10:53:02 +02:00
Ryan Dwyer fb5b505bab Untangle menuitemdata structs 2023-08-16 18:34:08 +10:00
Ryan Dwyer f020543599 Use sizeof for setup prop sizes instead of literals 2023-08-16 14:36:34 +10:00
fgsfds 2b5e136cc0 port: fix #15 and menu sliders in general 2023-08-16 02:13:58 +02:00
fgsfds f5bcc25e10 port: fix textureconfig-related texture corruption
explosions are still miscolored, but no longer garbage
2023-08-14 18:30:02 +02:00
fgsfds 76ed7f180e port: padoffsets are actually u16 2023-08-13 19:42:51 +02:00
fgsfds d51a7bc9d6 port: rename some math functions to avoid conflicts with libc 2023-08-13 17:13:08 +02:00
fgsfds c007bee536 port: don't use s32s for texture pointers 2023-08-13 01:13:03 +02:00
fgsfds a37441b221 port: hackfix a bunch of UB and seg-related issues
game now runs with -O2
2023-08-08 16:38:45 +02:00
fgsfds 2d6e6c887e port: add mp3 decoding via lieff/minimp3 2023-08-06 21:24:38 +02:00
fgsfds eb8c4e9ee9 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-06 18:52:09 +02:00
fgsfds ffb5ca4b5b port: begin implementing audio
mixer taken from sm64-port and modified to fit PD's naudio thing

MP3 playback not supported yet

audio buffering sucks
2023-08-06 15:51:07 +02:00
Ryan Dwyer f1e1e6b204 Set names for headanim symbols 2023-08-05 18:16:16 +10:00
fgsfds e1b892e8b4 port: hack in mouselook 2023-08-05 03:13:56 +02:00
fgsfds da9046f745 port: swap RGBA color literals 2023-08-05 01:57:26 +02:00
fgsfds ea8e49c870 port: linux support; horrible hack to avoid segmented address funny moments
linux support only tested a little bit in a VM
2023-08-04 23:44:20 +02:00
fgsfds 9433dc7769 port: make it not crash on the intro sequence and render SOME geometry 2023-08-01 23:38:06 +02:00
fgsfds f91401cb95 port: make the legal screen render correctly
also, total errno death in the same commit because I am dumb
2023-07-30 21:24:39 +02:00
fgsfds da94644c38 port: make it link and load
nothing happens after loading though
2023-07-29 23:21:35 +02:00