fgsfds
72e9e2af95
port: very experimental uncapped framerate support
...
set Game.TickRateDivisor in pd.ini to 0
this still has many issues, such as combat boost not working
2023-11-14 23:29:44 +01:00
fgsfds
3ac194f9ee
port: pal: fix (?) audio stutter
2023-11-02 00:20:18 +01:00
Catherine Reprobate
80d787caf9
Support for two-sticks, one controller
...
port: implements analog movement for pc controllers
port: Implement menu movement with the C stick
port: Implement analog leaning
port: Implement 1.2 + 1 analog zooming
port: pd input lib now handles 32 buttons
port: modern crouch implementation
port: implement analog slayer airbraking
port: xbla farsight strafing
Map crouch buttons
- map cycle crouch to L3
- sensible 1964-style crouch bindings
2023-10-17 18:28:18 -07:00
fgsfds
466c77362e
port: mod: add support for sequence replacements
2023-09-28 00:55:14 +02:00
fgsfds
8a342a0698
port: mod: add a dumb replacement system for individual textures and animations
2023-09-27 23:42:47 +02:00
fgsfds
d303971c2d
Revert "port: use system trig functions"
...
apparently this only causes issues, though it might be possible to use SOME trig functions from libc
2023-09-24 11:47:14 +02:00
fgsfds
dad5b3c074
port: use system trig functions
...
this might cause different behavior from the N64 version or it might fix some issues, who knows
2023-09-23 13:18:51 +02:00
fgsfds
c3f572f016
port: recreate infiltration camera effects
...
using newly added modulation blending and noise
2023-09-17 23:34:02 +02:00
fgsfds
840a2e73a5
port: implement screen shake
2023-09-03 19:12:29 +02:00
fgsfds
b6a3aef345
port: add logging and some command line args
...
--log: logs messages to pd.log
--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)
--no-sound: disable sound
--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds
7d152b37ad
Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
2023-08-29 14:00:48 +02:00
Alexandre-Xavier
e4742bcafb
Fix array out of bound in decoder.c
2023-08-29 01:07:44 +00:00
fgsfds
2b27c2dc6a
port: make matrices work with GBI_FLOATS
...
add GBI_FLOATS=1 to DEFINES to enable it
not enabling by default yet because not sure if it'll break anything
2023-08-26 13:49:23 +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
fgsfds
6fbb7e39ec
Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
2023-08-20 14:41:57 +02:00
Ryan Dwyer
d7926f12ad
Fix incorrect rounding in C version of sinf
2023-08-20 16:34:38 +10: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
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
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
d51a7bc9d6
port: rename some math functions to avoid conflicts with libc
2023-08-13 17:13:08 +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
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
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
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
Ryan Dwyer
cef885db72
Replace a heap of literals, mostly in sound code
2023-07-07 22:10:48 +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
38c478259f
Name and document pathfinding functions
2023-06-13 21:44:29 +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
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
Ryan Dwyer
a8d92b1845
Replace calls to SetCombineLERP with custom modes
2023-05-24 18:24:28 +10:00
Ryan Dwyer
92075c6fe7
Name almost all BG symbols
2023-05-23 19:37:20 +10:00
Ryan Dwyer
4017d5cba5
Rename vm.c to vminit.c, tlb.s to vm.s and annotate vm.s
2023-05-21 15:54:54 +10:00
Ryan Dwyer
b4355ab55f
Annotate exceptasm.s
2023-05-20 16:43:48 +10:00
Ryan Dwyer
21cda43806
Use li and move pseudo instructions in ASM where possible
2023-05-20 00:08:54 +10:00