Commit Graph

6674 Commits

Author SHA1 Message Date
fgsfds 420053178e Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-19 11:45:17 +02:00
fgsfds 412dcd7736 port: fix blur in hires mode 2023-08-19 11:43:18 +02:00
Ryan Dwyer d7c94b4d04 Fix UB in modelasm chrinfo handler 2023-08-19 19:14:10 +10:00
Ryan Dwyer 032c5166f4 Fix improper casting of model rwdata 2023-08-19 19:01:00 +10: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
fgsfds d90504675f port: this is not necessary at all 2023-08-18 17:24:18 +02:00
fgsfds 249041764b port: add adjustable fov 2023-08-18 17:18:56 +02:00
fgsfds a49bfd00a4 port: add mouse controls to eyespy and slayer 2023-08-18 14:47:08 +02:00
fgsfds bc4c08fe2f port: only player 1 gets mouselook and only when aiming is allowed 2023-08-18 13:58:33 +02:00
fgsfds b906f77b37 port: added rumble scale and support for 2 extra buttons
also fixed some warnings
2023-08-18 12:26:55 +02:00
fgsfds 034ff984cc port: fix s32 pointer in bgRenderRoomPass 2023-08-16 14:52:25 +02: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 ab4d595904 port: fix #14
patch courtesy of Ryan
2023-08-16 00:28:20 +02:00
fgsfds b1247b5eac port: purge texcache when gunmem is released as well 2023-08-16 00:19:53 +02:00
fgsfds ffea7cd65a port: reset texcache on level change 2023-08-15 23:33:25 +02:00
fgsfds 6a749bdae5 port: temporary fix for explosion texture colors 2023-08-15 17:49:09 +02:00
fgsfds 8aa8d61bb8 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
this fixes collision bugs related to moving objects and rotation of a lot of stuff
2023-08-15 16:16:18 +02:00
Ryan Dwyer 24657743ff Fix mtx3Copy in C translation 2023-08-15 22:28:11 +10:00
fgsfds 0cc29d2c99 port: fix healthbar rendering 2023-08-15 00:16:25 +02:00
fgsfds 94c3dfe51e port: fixup aspect ratio on the 3d parts of the title sequence 2023-08-14 22:07:16 +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 a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +02:00
fgsfds 4d52a8e476 port: scale gun swivel only when mouse aiming 2023-08-14 17:42:48 +02:00
fgsfds c3fb50c358 port; refactor widescreen PR a bit
abstract aspect into a video* function

re-add gun swivel, but make it slower on hi res
2023-08-14 17:39:02 +02:00
fgsfds 65115089af
Merge pull request #4 from MaikelChan/aspect_ratio
Sort of implemented arbitrary aspect ratio and mouse movement improvements
2023-08-14 17:24:57 +02:00
babbygremlin 93a38649f3 Fix default control scheme for combat sim
the default control scheme for new profiles in combat simulations was being set to 1.1 instead of 1.2 this just changes the number, its very tiny
2023-08-14 00:30:30 -07:00
MaikelChan 89c5cfb46b
Sort of implemented arbitrary aspect ratio and mouse movement improvements. 2023-08-14 07:20:05 +02:00
fgsfds 758eb77578 port: fix credits crash
campaign is now more or less completable, other than the pushbox collision bug
2023-08-13 22:49:00 +02:00
fgsfds 358f788b61 port: read gbi command id correctly in gfxReplaceGbiCommands 2023-08-13 21:09:04 +02:00
fgsfds e0d4bf44b8 port: read command ids correctly when rendering in xray mode 2023-08-13 21:04:00 +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 6396b38a6f port: fix (?) crash related to knocking out the secretary in defection 2023-08-11 00:02:59 +02:00
fgsfds 075b7f9bd7 port: make the legal screen display the commit hash and platform 2023-08-09 22:54:42 +02:00
fgsfds 288b37a1b3 port: fix aEnvMixer; fix some misc warnings
hopefully that was the last of the big audio issues
2023-08-09 21:18:36 +02:00
fgsfds 18bab30c59 port: more UB/bug fixes 2023-08-09 13:07:02 +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 62f3007d2a port: halfassed solution for segmented addresses; fix some dyntex related stuff 2023-08-08 14:30:59 +02:00
fgsfds 885bfeaf38 port: disable indefinite wait in aiIfMusicEventQueueIsEmpty for now
might have to actually run audio in a different thread
2023-08-06 21:38:07 +02:00
fgsfds 2d6e6c887e port: add mp3 decoding via lieff/minimp3 2023-08-06 21:24:38 +02:00
fgsfds afae1a3aae port: fix chraction crash
bug?
2023-08-06 21:24:04 +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 81c1c206d4 port: make audio run at 60hz again but with smaller frames
this is required to tick music events correctly
2023-08-06 18:20:37 +02:00
fgsfds 063df3243d port: make audio tick at 30hz, add hack to prevent popping
this is a shit solution, but it'll do for now
2023-08-06 18:08:21 +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
fgsfds 32c05e6a3d port: swap sequence headers 2023-08-06 01:18:07 +02:00