Commit Graph

36 Commits

Author SHA1 Message Date
fgsfds 1b1222494e port: move game viewport init to gfx_init() 2023-08-14 22:07:36 +02:00
fgsfds a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +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 51808cd1f8 port: fix a bunch of controller-related bugs
don't completely override kb+m input when a controller is connected (fixes #3)

handle controller disconnection

add adequate default controller binds

add deadzone
2023-08-13 23:18:24 +02:00
fgsfds 7ec10febae port: swap intro commands properly 2023-08-13 20:30:28 +02:00
fgsfds 6cb545aaf0 port: swap more cctv and linkliftdoorobj fields
props to Ryan for noticing
2023-08-13 16:48:21 +02:00
fgsfds 4b8c4a5bcd port: saner bg portal swapping 2023-08-13 15:52:43 +02:00
fgsfds 07adda3fa6 port: more reasonable mouse sensitivity
what the fuck was I trying to do here?
2023-08-11 00:03:37 +02:00
fgsfds 3416e0632d port: fix byteswapping the waypoint data 2023-08-11 00:03:16 +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 60e64e1a1d port: don't doubleswap envelope data
this fixes music running out of free channels
2023-08-09 19:08:48 +02:00
fgsfds 62f3007d2a port: halfassed solution for segmented addresses; fix some dyntex related stuff 2023-08-08 14:30:59 +02:00
fgsfds 2d6e6c887e port: add mp3 decoding via lieff/minimp3 2023-08-06 21:24:38 +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
fgsfds e1b892e8b4 port: hack in mouselook 2023-08-05 03:13:56 +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 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 ff9030f5fb port: swap light bboxes properly 2023-08-03 16:50:14 +02:00
fgsfds 46a9888647 port: hackfix modeswitching 2023-08-02 20:32:21 +02:00
fgsfds 4fa7deed5a port: swap more modeldef nodes 2023-08-02 02:30:02 +02:00
fgsfds 23f5b72943 port: swap room verts 2023-08-02 00:11:51 +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 a37bb4c3be port: fix REORDER model node byteswapping and gundl.numvertices 2023-07-31 22:36:26 +02:00
fgsfds 2331b0911d port: always report at least one controller connected 2023-07-30 21:25:01 +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