fgsfds
2386494030
port: 64-bit: fix mema end marker ( fixes #545 )
2024-12-02 13:43:28 +01:00
fgsfds
06dcbcc1b1
port: rename random to rngRandom to avoid conflicts with libc
2024-11-17 11:03:57 +01:00
fgsfds
163dbf9495
port: 64-bit: get rid of host_ structs; further cleanup
2024-11-12 13:13:42 +01:00
fgsfds
16f025cbbe
port: 64-bit: fix pointer length in mp3.c
2024-11-10 15:25:47 +01:00
Raf
8533189561
portx64: include "platform.h" wherever the flag PLATFORM_64bit is used, to avoid possible nasty surprises
2024-08-12 21:20:30 +08:00
Raf
a9e82658fd
portx64: a couple things breaking the build in github - actual fix, plus renamed more functions in filebg.c
2024-08-09 01:21:28 +08:00
Raf
5bee1b0cce
portx64: a couple things breaking the build in github
2024-08-09 00:50:21 +08:00
Raf
8b1e81f32a
portx64: pd-extract,preprocess: renamed "_x64" functions, removed now unused preprocess functions, increased snd heap size (x86)
2024-08-08 17:15:33 +08:00
Raf
5beef0916b
portx64: warn if memory pool is full
2024-08-02 17:47:35 +08:00
Raf
288a007202
portx64: bug fix: mp3 code accessing out of bounds memory: increased alloc/audio heap size
2024-08-02 17:43:05 +08:00
Raf
ef4b60d384
portx64: audio system changes
2024-07-30 16:57:17 +08:00
Raf
8a94af6a1c
portx64: and more s32 -> uintptr_t
2024-07-30 16:46:02 +08:00
Raf
00c990eded
portx64: lots of adjustments in memory allocations/data sizes/offsets etc
2024-07-23 01:52:35 +08:00
Raf
b0e6e8f24f
portx64: lots more u32 -> uintptr_t
2024-07-11 19:43:01 +08:00
Raf
4dbbcbeb58
portx64: changed pointers stored in u32 to uintptr_t
...
- adjusted hardcoded mask/hardcoded offsets used in memory operations (modelasm_c.c)
- makefile: enabled x64 support and added lib dependency
- title: increase alloc size
- tex: adjustment to calculations involving GDL sizes
2024-07-06 01:16:39 +08:00
Raf
63c456a233
port-64: first changes, able to build
2024-01-27 18:25:55 +08:00
fgsfds
1aea68b89a
Revert "port: unsquish the aspect ratio"
...
This reverts commit af34015562 .
I'll have to come up with a better way to do this
2023-12-01 17:21:27 +01:00
fgsfds
af34015562
port: unsquish the aspect ratio
...
this might break something but I haven't noticed anything bad yet
2023-11-30 10:51:21 +01:00
fgsfds
600dae58e2
port: allow using N64 control schemes
...
change from Ext to another control scheme to activate
note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
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