Commit Graph

6727 Commits

Author SHA1 Message Date
fgsfds 60e64e1a1d port: don't doubleswap envelope data
this fixes music running out of free channels
2023-08-09 19:08:48 +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 245d5095b5 port: remove hacks from makefile 2023-08-08 14:31:30 +02:00
fgsfds 62f3007d2a port: halfassed solution for segmented addresses; fix some dyntex related stuff 2023-08-08 14:30:59 +02:00
fgsfds f9b27d7d01 port: match rendering resolution to window resolution, but keep 4:3 for now
16:9 requires some work
2023-08-06 22:04:22 +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 9081421eba port: add stupid hack to avoid double-swapping audio data 2023-08-06 21:23:47 +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 af3e235348 port: reenable SSE/NEON checks in mixer 2023-08-06 15:52:54 +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 866be01860 port: swap ADPCM books and loop states 2023-08-06 15:50:07 +02:00
fgsfds 32c05e6a3d port: swap sequence headers 2023-08-06 01:18: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 51a27cba75 port: disable windows imagebase hack
that makes windows put the heap at a lower address instead
2023-08-05 01:13:40 +02:00
fgsfds 0e931b0be0 port: add gSPPerspNormalize support
this fixes the viewmodel
2023-08-05 01:12:47 +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 172f943891 port: remove GetModuleHandleA call 2023-08-04 21:49:22 +02:00
fgsfds e6965580a0 port: mostly unfuck texture loader 2023-08-04 21:47:54 +02:00
fgsfds a9b772ef99 port: fix hitscans and other uses of Gtri 2023-08-04 16:46:05 +02:00
fgsfds c2d1d9b4bf port: don't crash when reading briefing in the mission screen 2023-08-04 01:25:18 +02:00
fgsfds d6ee4f49d2 port: flesh out the input system a bit 2023-08-04 01:11:50 +02:00
fgsfds 05889b54cb port: partially unfuck menus 2023-08-04 01:11:19 +02:00
fgsfds 952d23de08 port: fix gun file swapping 2023-08-03 21:54:34 +02:00
fgsfds c8e3641bbc port: fix colors when both fog and SHADE_ALPHA are enabled 2023-08-03 18:26:59 +02:00
fgsfds a12d756d79 port: detect fog alpha usage 2023-08-03 16:58:52 +02:00
fgsfds 406900e253 port: detect fog color usage 2023-08-03 16:50:24 +02:00
fgsfds ff9030f5fb port: swap light bboxes properly 2023-08-03 16:50:14 +02:00
fgsfds 316516422b port: fix lookat loading; allow for multiple mipped textures 2023-08-03 16:17:31 +02:00
fgsfds 58120e299e port: fix (?) texture alignment, ignore LOD levels > 0 for now 2023-08-03 16:01:12 +02:00
fgsfds 46a9888647 port: hackfix modeswitching 2023-08-02 20:32:21 +02:00
fgsfds a542e93fe7 port: temporarily disable sleep timer 2023-08-02 19:45:49 +02:00
fgsfds 03ea57dab8 port: disable zbufDrawArtifactsOffscreen for now 2023-08-02 19:45:11 +02:00
fgsfds 9d1e40c5f7 port: unfuck font palettes 2023-08-02 19:44:41 +02:00
fgsfds a3c3f8df72 port: fix LOD textures exploding, fix palette loading 2023-08-02 19:44:13 +02:00
fgsfds 4fa7deed5a port: swap more modeldef nodes 2023-08-02 02:30:02 +02:00
fgsfds c0e73091f5 port: check GL attrib and uniform indices before using them 2023-08-02 02:29:38 +02:00
fgsfds c449a687cf port: fix vertex color indexing 2023-08-02 01:04:15 +02:00
fgsfds 23f5b72943 port: swap room verts 2023-08-02 00:11:51 +02:00
fgsfds 9ec6fa06f8 port: oops, forgot Makefile this whole time 2023-08-01 23:39:14 +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 9508b136ff port: replace old fast3d with libultraship-fast3d 2023-08-01 23:37:49 +02:00
fgsfds 157d46b73a port: fix tahoma 2023-08-01 01:28:08 +02:00
fgsfds a37bb4c3be port: fix REORDER model node byteswapping and gundl.numvertices 2023-07-31 22:36:26 +02:00