Max Roncace
6491062dab
Fix Clang compiler error due to CRASH macro
2026-03-27 23:50:31 -04:00
TakaRikka
adba1a3055
Merge pull request #135 from TakaRikka/pjb-audio
...
Audio
2026-03-27 20:36:06 -07:00
PJB3005
c9a1f02f55
Fix map loader gameRegions literally being 2.7 MiB of recursive arrays
...
Just moving it to std::vector, easy enough.
2026-03-27 17:34:05 +01:00
PJB3005
248f3945b4
Merge branch 'main' into pjb-audio
2026-03-27 17:18:11 +01:00
PJB3005
4b30cd7ddb
Re-add src == dst check in SafeStringCopyTruncate
...
Accidentally dropped this while iterating on the exact implementation.
2026-03-27 17:17:45 +01:00
PJB3005
0e1718e80d
Do use strncpy in SafeStringCopy
...
I figured out how to mute the warnings.
2026-03-27 17:16:41 +01:00
PJB3005
96a61ed0b6
Fix CRASH() macro outside MSVC
...
Just add a CRASHF() overload that... isn't necessary anymore. Oh well.
2026-03-27 17:07:54 +01:00
PJB3005
0178ab35b3
Add replacement helpers for strncpy[_s]
...
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005
6073a0c3f0
Implement master volume & volume interpolation
...
Does not fix clicking :(
Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
Max Roncace
12966c3b12
Merge remote-tracking branch 'decomp/main'
2026-03-27 02:02:24 -04:00
Roman Sandu
0fc019dcfa
JAHostIO and friends ( #3131 )
2026-03-26 18:54:07 -07:00
PJB3005
e2923d3745
Fix shutdown crash
2026-03-26 15:03:48 +01:00
Max Roncace
3b6582f1a2
Add even more heap debug names
2026-03-25 20:53:18 -04:00
Max Roncace
3aa39867a0
Detect and replace NaNs in cXyz default ctor
...
This fixes intermittent segfaults due to invalid atan table lookups.
For some reason zero-initializing all cXyz objects causes issues, as
does initializing them with INFINITY or -INFINITY. However, at least
one of the possible crashes (in d_a_e_yg's search_ground_1) is
guaranteed to happen whenever a specific uninitialized cXyz contains
a NaN for x or z.
A possible explanation for these crashes not occurring on hardware might
be that the problematic objects happen to be placed at memory locations
that happen to never contain a NaN upon allocation, so the buggy code
was never caught. Further investigation would be needed to determine if
this is what's actually happening, though.
2026-03-25 20:53:18 -04:00
PJB3005
7ac96d0251
Merge branch 'main' into pjb-audio
2026-03-25 16:43:59 +01:00
TakaRikka
4a2294c40b
save editor wip
2026-03-23 05:01:42 -07:00
TakaRikka
2075da3347
Merge https://github.com/zeldaret/tp
2026-03-21 01:14:00 -07:00
TakaRikka
f8cf545848
cleanup d_a_obj_wflag ( #3135 )
2026-03-21 00:56:27 -07:00
CraftyBoss
955a70db1e
more BE stuff, fix scissors for dmap/fmap
2026-03-21 00:56:01 -04:00
PJB3005
ebebb1af34
Audio system cleanup and comments
2026-03-20 17:51:42 +01:00
Lurs
e22c9da163
remove double swapping
2026-03-20 15:50:57 +01:00
CraftyBoss
fe60866ffd
fix StaffWork being too big for work buffer, increase mpTalkHeap size
2026-03-19 23:54:00 -04:00
PJB3005
e0ad41e3be
Merge remote-tracking branch 'origin/main' into pjb-audio
2026-03-19 20:16:57 +01:00
TakaRikka
b202701757
Merge https://github.com/zeldaret/tp
2026-03-18 02:58:55 -07:00
TakaRikka
bc7503cb70
fix push pull callback UB in other compilers ( #3134 )
2026-03-18 02:57:37 -07:00
TakaRikka
cefd7e59a1
add cc collider view (broken color)
2026-03-18 01:25:42 -07:00
Max Roncace
5cb3a39f43
Merge remote-tracking branch 'decomp/main'
2026-03-18 01:56:47 -04:00
TakaRikka
f64015ea38
cc debug work ( #3133 )
2026-03-17 22:48:37 -07:00
Max Roncace
6694c1b281
Fix a bunch of compiler warnings and document several more bugs ( #3130 )
2026-03-17 22:38:05 -07:00
Lurs
555bf395fb
BE or un-BE, that is the question
2026-03-17 14:39:02 +01:00
TakaRikka
4d4db83405
initial collision viewer
2026-03-17 05:17:43 -07:00
TakaRikka
fa270c0fe9
Merge https://github.com/zeldaret/tp
2026-03-17 04:08:44 -07:00
TakaRikka
9f340b604b
various d_bg debug cleanup / d_menu_window_HIO debug ( #3132 )
...
* various d_bg debug cleanup
* matching forward decl for compiler compatibility
* fix build
2026-03-17 03:44:11 -07:00
PJB3005
8fecff3170
Clang Windows compile fixes
2026-03-16 15:44:02 +01:00
Lurs
100be49dee
Fixes #80
...
?
2026-03-16 08:35:35 +01:00
Lurs
67af4dadf6
Fixes #74
2026-03-16 08:35:34 +01:00
roeming
ae0f8909a6
convert daPasserMng_c::mGroupTbl underlying data from bytes to daPasserMng_c::Group ( #3129 )
...
* daPasserMng_c::mGroupTbl underlying data to daPasserMng_c::Group
* move over to const groups
* templated solution that works on modern compilers + mwcc
---------
Co-authored-by: roeming <roeming@users.noreply.github.com >
2026-03-15 18:06:16 -07:00
Jeffrey Crowell
11516d4b59
Fix rotations on optimization builds
...
I have literally zero idea why this broke. Optimizations are wild.
2026-03-15 18:27:25 -04:00
PJB3005
79ddc6815d
Names mixed in with some BE fixes
2026-03-15 01:23:11 +01:00
PJB3005
61b6111954
Fix sound userdata pointers being truncated
2026-03-14 16:43:29 +01:00
PJB3005
dca0964f27
Assign names to threads
...
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005
002a34f18b
We have audio!!
2026-03-14 14:03:10 +01:00
PJB3005
4c2d0064a2
Add CRASH() macro
2026-03-14 14:02:15 +01:00
PJB3005
0c993fd7ed
Basic audio system start
2026-03-14 14:02:13 +01:00
madeline
23b2edafdf
enable audio
2026-03-14 13:49:16 +01:00
Max Roncace
efa629ca6a
Add point selector to map loader (+ other loader UI improvements)
2026-03-14 01:20:27 -04:00
qwertyquerty
168d1f7e10
fix reticles ( #89 )
2026-03-13 14:41:46 -07:00
Jasper St. Pierre
7eb2bc1340
grass fix
2026-03-13 01:13:22 -07:00
Jasper St. Pierre
addcda0725
shadow fix
2026-03-12 23:49:13 -07:00
TakaRikka
fecc0fe3c5
fix event camera ptr param size
2026-03-12 21:15:50 -07:00