Commit Graph

1622 Commits

Author SHA1 Message Date
TakaRikka f8cf545848 cleanup d_a_obj_wflag (#3135) 2026-03-21 00:56:27 -07:00
CraftyBoss 328102ef2e Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-21 00:56:15 -04:00
CraftyBoss 955a70db1e more BE stuff, fix scissors for dmap/fmap 2026-03-21 00:56:01 -04:00
Max Roncace 2c7ae22167 Add more heap names for debug 2026-03-20 20:59:50 -04:00
Lurs e22c9da163 remove double swapping 2026-03-20 15:50:57 +01:00
Max Roncace 4a4a5724e1 Fix last argument in calls to dCamera_c::startEventCamera
The last argument is used as a char*, so we need to explicitly
pass nullptr instead of 0 to ensure it has the correct type.
This was causing crashes due to va_arg reading 8 bytes when only 4
were provided by the caller - if the out-of-bounds bytes are
non-zero, the null check fails and it continues pulling args from
beyond the argument buffer potentially triggering a segfault.
2026-03-20 02:51:29 -04:00
CraftyBoss 4c613244c1 oops forgot to include something 2026-03-19 23:59:37 -04: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 d1b9b74271 fix kcol wall correct 2026-03-18 22:58:43 -07:00
TakaRikka ad43dee0e7 fix horse grass 2026-03-18 18:27:22 -07: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
Lurs fc73bc364a BE field_0x04 of "new" struct SizedGroup in src\d\actor\d_a_passer_mng.cpp 2026-03-17 13:25:27 +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
CraftyBoss 2b93d6d288 npc actor in screen check fix, fix dBgWKCol::RoofChk using wrong var for prism idx calc 2026-03-17 02:16:09 -07:00
CraftyBoss 1923636835 BE swap shop params, fix shop cursor projection, handle divide by zero in d_vibration, stub startLevelSound audio func 2026-03-16 22:01:46 -07:00
CraftyBoss b0982f2e92 fix uninitialized f32 causing crash in palace of twilight, add FPS to menu bar 2026-03-16 15:43:42 -07:00
PJB3005 f6b41a0f57 dStage_startStage_c::set fix strcpy to same pointer
And just switch to strncpy_s while we're at it.
2026-03-16 15:48:09 +01:00
PJB3005 ba0468860c Fix sprintf buffer too small in dMsgObject_c::readMessageGroupLocal 2026-03-16 15:44:26 +01: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 2cb1d9e83c Fixes crash when entering the very first house 2026-03-16 08:35:35 +01:00
Max Roncace e62eeea8f9 Increase Scene2DHeap size (#90)
This fixes a crash when the game asks to save when leaving the ranch
after goats 1.
2026-03-15 23:28:34 -04: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
Max Roncace 9bed8b863f Fix some Clang compile warnings 2026-03-14 18:37:18 -04:00
PJB3005 06dc511212 JAudio field name/comment pass
HUGE thanks to XAYRGA for their work documenting JAudio file formats
2026-03-14 13:45:55 +01:00
qwertyquerty 168d1f7e10 fix reticles (#89) 2026-03-13 14:41:46 -07:00
TakaRikka 40cb988022 fix obj_sw ptr math bug 2026-03-13 02:42:45 -07:00
TakaRikka 64013cd46a Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-13 01:54:42 -07:00
TakaRikka 5bc8cfa9f6 fix bgobj particle block 2026-03-13 01:54:35 -07:00
Jasper St. Pierre 7eb2bc1340 grass fix 2026-03-13 01:13:22 -07:00
madeline be429a7a2c fix epona ub 2026-03-13 01:06:28 -07:00
Jasper St. Pierre c05691a0bb brg fix 2026-03-12 23:56:33 -07:00
Max Roncace eed6df2f46 Fix multiple classes being inappropriately zero-initialized via JKR_NEW* (#70)
This might also fix #71 and #72.
2026-03-13 02:50:53 -04:00
Jasper St. Pierre addcda0725 shadow fix 2026-03-12 23:49:13 -07:00
Jasper St. Pierre a1d581f6d9 dont draw zero things 2026-03-12 23:49:12 -07:00
madeline c614b5a28d Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 23:12:03 -07:00
madeline 139a66e613 fix LZ fadeout Fixes #87 2026-03-12 23:12:00 -07:00
Max Roncace 6217b5cb83 Initialize daObjSwPr_c::mRotateTime on actor create
This fixes a floating point exception due to division by zero when
executing the actor for the first time.
2026-03-13 01:35:23 -04:00
madeline 20b5d16d92 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 22:34:37 -07:00
madeline d0e7ca40cf fix menu snapshot viewports and loading zone ones (kind of but not at all) Fixes #59 2026-03-12 22:34:33 -07:00
TakaRikka 5004fdf497 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 21:16:04 -07:00