Commit Graph

6632 Commits

Author SHA1 Message Date
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
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 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 05889b54cb port: partially unfuck menus 2023-08-04 01:11:19 +02:00
fgsfds 58120e299e port: fix (?) texture alignment, ignore LOD levels > 0 for now 2023-08-03 16:01:12 +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 9433dc7769 port: make it not crash on the intro sequence and render SOME geometry 2023-08-01 23:38:06 +02:00
fgsfds 157d46b73a port: fix tahoma 2023-08-01 01:28:08 +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
Ryan Dwyer aeca25d984 Fix arguments for if_chr_same_floor_distance_to_pad_lt 2023-07-21 00:03:01 +10:00
Ryan Dwyer cef885db72 Replace a heap of literals, mostly in sound code 2023-07-07 22:10:48 +10:00
Ryan Dwyer a780b5f179 Identify hov and hovtype properties 2023-06-28 23:37:39 +10:00
Ryan Dwyer 3b4451a2d1 Name more pak symbols 2023-06-25 22:33:57 +10:00
Ryan Dwyer 83e8265d5b Introduce RoomNum typedef 2023-06-20 19:14:13 +10:00
Ryan Dwyer c55f9c805c Decompile viUpdateMode 2023-06-18 19:43:27 +10:00
Ryan Dwyer a53320f35a ntsc-beta: Decompile mainInit 2023-06-18 10:28:15 +10:00
Ryan Dwyer ca6ce095f0 jpn-final: Decompile text0f154f38 2023-06-17 17:27:45 +10:00
Ryan Dwyer 8647634a54 Decompile bgLoadRoom 2023-06-16 21:10:03 +10:00
Ryan Dwyer e78d65b6e3 Improve mismatch of weatherRenderSnow 2023-06-14 17:43:51 +10:00
Ryan Dwyer 38c478259f Name and document pathfinding functions 2023-06-13 21:44:29 +10:00
Ryan Dwyer 154153b605 Discover remaining pad flags 2023-06-12 22:16:28 +10:00
Ryan Dwyer cac9aaf9bf Decompile weatherRenderRain 2023-06-10 17:04:30 +10:00
Ryan Dwyer 7c1c377db0 Decompile titleRenderPdLogo 2023-06-07 17:57:00 +10:00
Ryan Dwyer 8c22681e35 Set names for more bondgun symbols 2023-06-04 16:44:37 +10:00
Ryan Dwyer f9ba47b8a7 Decompile bodiesReset 2023-06-04 09:41:54 +10:00
Ryan Dwyer b97228e682 Fix beta builds when DEBUG is not defined 2023-06-03 12:43:56 +10:00
Ryan Dwyer 1df5e4dc51 Document propsnd functions 2023-06-03 11:17:22 +10:00
Ryan Dwyer e9a6e9849b Decompile propsndTickChannel 2023-06-01 21:02:06 +10:00
Ryan Dwyer 8afead29db Decompile aiSayQuip 2023-05-31 22:44:30 +10:00
Ryan Dwyer 8a7c22adda Decompile bgRenderGdlInXray 2023-05-31 17:48:41 +10:00
Ryan Dwyer 9b4c64d7ff Replace remaining pad literals in MP setup files 2023-05-30 21:05:50 +10:00
Ryan Dwyer e79e1d8068 Decompile beamRender 2023-05-30 20:51:02 +10:00
Ryan Dwyer 0ebce0dcf9 Set names for menucolourpalette properties 2023-05-29 18:31:26 +10:00
Ryan Dwyer 953afe9925 Name remaining aibot properties 2023-05-28 14:07:16 +10:00
Ryan Dwyer 2e386f7a34 Use ARRAYCOUNT in many more places 2023-05-28 00:48:58 +10:00
Ryan Dwyer 5255f7c346 Use Vtx/Col instead of struct gfxvtx, struct colour and u32 2023-05-27 13:22:14 +10:00
Ryan Dwyer d5a21a8459 Replace gDPSetVerticeArray with gSPVertex, rename gDPSetColorArray to gSPColor and rename gDPTri4 to gSPTri4 2023-05-27 10:27:15 +10:00