Commit Graph

1397 Commits

Author SHA1 Message Date
PJB3005 95d6d24d31 Fix build without movie support 2026-03-29 03:50:37 +02:00
PJB3005 9738917a91 Clang compile fixes 2026-03-29 03:29:30 +02:00
PJB3005 2686c8dc81 Merge remote-tracking branch 'origin/main' into 26-03-28-movie-player 2026-03-29 03:16:24 +02:00
PJB3005 b09da82912 Allow movie support to be compiled out
(and therefore remove the libjpeg-turbo dependency)
2026-03-29 03:07:03 +02:00
PJB3005 23c6b78bc9 Properly clean up movie player threads
Pain and suffering.
2026-03-29 01:56:41 +01:00
PJB3005 b17b5fe405 Works a lot better now 2026-03-29 00:19:56 +01:00
Irastris daf2954d43 Revert d_s_logo speedup, skip logos entirely instead 2026-03-28 19:18:06 -04:00
PJB3005 bb92f955c8 Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
CraftyBoss 8cb91016d9 increase d_a_coach_2D heap size 2026-03-28 10:47:55 -04:00
CraftyBoss ce12d168f0 Fix uninitialized field causing occasional crash in d_camera::lockonCamera, fix wolf howling scissors 2026-03-28 00:56:10 -04:00
PJB3005 81d0312f2b Merge branch 'main' into pjb-audio 2026-03-27 17:18:11 +01:00
PJB3005 abfe917008 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
Max Roncace 6764a60364 Fix UB in search_ground_1 in d_a_e_yg
This could cause a crash and was previously fixed by 7d3795f7, but
it's a band-aid solution. This fix addresses the underlying bug that
actually causes the crash.

The workaround remains in place for now because similar bugs related
to NaNs have been encountered, and it's not currently known how many
places in the codebase are affected as well.
2026-03-26 20:11:39 -04:00
YunataSavior 488ceb8136 Fix "switch case passes initialization" in d_a_peru 2026-03-25 21:28:58 -07:00
Max Roncace 0de67a8320 Add even more heap debug names 2026-03-25 20:53:18 -04:00
madeline 85d3b982b2 fixes #107 2026-03-25 12:05:50 -07:00
PJB3005 7944437dcc Merge branch 'main' into pjb-audio 2026-03-25 16:43:59 +01:00
madeline 2618da7453 properly scale deku toad camera detection range 2026-03-24 18:34:12 -07:00
madeline c31fde8221 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-24 18:25:05 -07:00
madeline 5fd5882881 fix trimming viewport scissoring fixes #121 2026-03-24 18:25:01 -07:00
Lurs 42a0fbbf44 Add toggle for water projection offset. Potentially fixes #77 2026-03-24 11:19:58 +01:00
TakaRikka 58c406173a aeralfos UB fix 2026-03-21 22:56:44 -07:00
TakaRikka 7c03087600 fix d_a_peru animation data 2026-03-21 18:05:29 -07:00
TakaRikka ef0f9ef7fd various crash fixes 2026-03-21 05:07:51 -07:00
TakaRikka 775dad0633 Merge https://github.com/zeldaret/tp 2026-03-21 01:14:00 -07:00
TakaRikka ae6caa77a0 cleanup d_a_obj_wflag (#3135) 2026-03-21 00:56:27 -07:00
CraftyBoss da132863e9 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-21 00:56:15 -04:00
CraftyBoss 9510c94454 more BE stuff, fix scissors for dmap/fmap 2026-03-21 00:56:01 -04:00
Max Roncace 3fe39464f1 Add more heap names for debug 2026-03-20 20:59:50 -04:00
Lurs 0474db2fdf remove double swapping 2026-03-20 15:50:57 +01:00
Max Roncace 7ae18f3a9d 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 91d8e422ac oops forgot to include something 2026-03-19 23:59:37 -04:00
CraftyBoss 315f23b930 fix StaffWork being too big for work buffer, increase mpTalkHeap size 2026-03-19 23:54:00 -04:00
PJB3005 6c3d9d2e38 Merge remote-tracking branch 'origin/main' into pjb-audio 2026-03-19 20:16:57 +01:00
TakaRikka 6b74ee58d4 fix kcol wall correct 2026-03-18 22:58:43 -07:00
TakaRikka 86bad90a4f fix horse grass 2026-03-18 18:27:22 -07:00
TakaRikka 674e5dcaa1 Merge https://github.com/zeldaret/tp 2026-03-18 02:58:55 -07:00
TakaRikka 81add0a2ab fix push pull callback UB in other compilers (#3134) 2026-03-18 02:57:37 -07:00
TakaRikka 929e71975c add cc collider view (broken color) 2026-03-18 01:25:42 -07:00
Max Roncace bb061a1225 Merge remote-tracking branch 'decomp/main' 2026-03-18 01:56:47 -04:00
TakaRikka dee722dab5 cc debug work (#3133) 2026-03-17 22:48:37 -07:00
Max Roncace 8578874254 Fix a bunch of compiler warnings and document several more bugs (#3130) 2026-03-17 22:38:05 -07:00
Lurs 7ba4862622 BE or un-BE, that is the question 2026-03-17 14:39:02 +01:00
Lurs f2b73c1037 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 eaad85d618 initial collision viewer 2026-03-17 05:17:43 -07:00
TakaRikka 266c4317d9 Merge https://github.com/zeldaret/tp 2026-03-17 04:08:44 -07:00
TakaRikka 3aec45d6d7 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 851452bca6 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 e17c32f41e 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 e751e3b3da fix uninitialized f32 causing crash in palace of twilight, add FPS to menu bar 2026-03-16 15:43:42 -07:00