Commit Graph

2275 Commits

Author SHA1 Message Date
Irastris 0319eaa7b8 Revert "Increase shadow resolution" 2026-03-30 02:26:12 -04:00
Luke Street 6f4695506f Avoid allocating RAM for shadow textures 2026-03-29 23:08:53 -06:00
Luke Street 84e56cf4e3 Increase shadow resolution 2026-03-29 23:03:00 -06:00
TakaRikka cb6ee4b21e d_path / d_vibration debug work (#3138)
* dpath debug

* dvibration debug

* d_meter2_info debug

* gcyl/gpsh debug
2026-03-29 16:43:00 -07:00
Luzagar c98b96f94e E ws work (#3137)
* e_ws work

* more doc

* add debug message

* move declaration

* more match

* test

* Revert "more match"

This reverts commit 3d910e6e913d84685aa40fe993a50402b3ee27a1.

* fix

* cleanup

* fix

* rename mIsHome
2026-03-29 16:27:52 -07:00
Luke Street b536b73762 d_a_obj_brg: Fix out-of-bounds brg_init_pos 2026-03-29 14:59:27 -06:00
PJB3005 65da97eca2 Fix Midna portal spawning after boss
#140
2026-03-29 18:22:45 +02:00
PJB3005 5b18c7bbf3 Fix bad DSP assert
Fixes #150
Fixes #133
2026-03-29 18:22:12 +02:00
PJB3005 9527ce0069 Add fullscreen checkbox to game menu 2026-03-29 18:21:36 +02:00
PJB3005 bd08d05f3a Fix stub log memory leaking if imgui rendering is disabled 2026-03-29 18:21:27 +02:00
TakaRikka feeaaa45cb Merge pull request #144 from TakaRikka/fix/dvd-heap-exhaustion
Use separate heap for DVD decompression
2026-03-29 04:35:51 -07:00
Max Roncace d2c5614a47 Use separate heap for DVD decompression
This fixes crashes when first entering North Faaron cave and
Renado's Sanctuary due to system heap exhaustion resulting from
multiple threads allocating on the heap at once.

There's some sort of weird contention going on - for some reason the
game gobbles up seemingly any amount of memory you throw at it when
the two threads are competing for heap space. Using a separate heap
in the async thread sidesteps the issue.
2026-03-29 01:20:25 -04:00
PJB3005 576937f8b0 Don't include logging infrastructure in m_Do_graphic.h
This ends up wasting a ton of compile time because it pulls in all of Aurora's log infrastructure and fmt and all the noise into a thousand game files
2026-03-29 04:35:44 +02:00
PJB3005 28338ff354 Fix build without movie support 2026-03-29 03:50:37 +02:00
PJB3005 0ecd16133d Clang compile fixes 2026-03-29 03:29:30 +02:00
PJB3005 bf5032b5fa Merge remote-tracking branch 'origin/main' into 26-03-28-movie-player 2026-03-29 03:16:24 +02:00
PJB3005 58ca78ea80 Allow movie support to be compiled out
(and therefore remove the libjpeg-turbo dependency)
2026-03-29 03:07:03 +02:00
PJB3005 654a7a6f4c Properly clean up movie player threads
Pain and suffering.
2026-03-29 01:56:41 +01:00
PJB3005 7d73e93198 Comment 2026-03-29 01:54:49 +01:00
PJB3005 933e7f14c8 OSThread fixes
OSCancelThread and OSDetachThread stubbed out cuz they're probably both broken

Code cleanup, unnecessary code copied from decomp removed, copy-paste reduced.

Don't immediately detach threads when creating them (what's the point??)

Fix OSJoinThread
2026-03-29 01:54:45 +01:00
PJB3005 c28150be40 Works a lot better now 2026-03-29 00:19:56 +01:00
Irastris 9b3f72582a Revert d_s_logo speedup, skip logos entirely instead 2026-03-28 19:18:06 -04:00
PJB3005 76131c071f 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 472551d24a increase d_a_coach_2D heap size 2026-03-28 10:47:55 -04:00
CraftyBoss f53917016d Fix uninitialized field causing occasional crash in d_camera::lockonCamera, fix wolf howling scissors 2026-03-28 00:56:10 -04:00
TakaRikka adba1a3055 Merge pull request #135 from TakaRikka/pjb-audio
Audio
2026-03-27 20:36:06 -07:00
PJB3005 b6af13c673 Show better button names in controller mapping UI
Requires https://github.com/encounter/aurora/pull/68
2026-03-27 19:52:09 +01: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 0178ab35b3 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005 967ea0c939 Audio channels are sorted with a stable sort 2026-03-27 14:54:27 +01:00
PJB3005 b01581b043 Show new audio channels as green on the debug tool 2026-03-27 14:54:17 +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
PJB3005 625a94dcff Replace ugly cast in dusk::audio::DspRender 2026-03-27 13:35:33 +01:00
PJB3005 2e441c9156 Skip oscillator channels properly I think 2026-03-27 12:42:37 +01:00
Lurs 1faded3faf fix stuck note e.g. in Hyrule field 2026-03-27 12:23:41 +01:00
Max Roncace 12966c3b12 Merge remote-tracking branch 'decomp/main' 2026-03-27 02:02:24 -04:00
YunataSavior 37bccaa011 Add "Selected Layer" to Map Loader 2026-03-26 20:18:18 -07:00
Roman Sandu 0fc019dcfa JAHostIO and friends (#3131) 2026-03-26 18:54:07 -07:00
Max Roncace 053392f440 Fix UB in search_ground_1 in d_a_e_yg
This could cause a crash and was previously fixed by 3aa39867, 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
PJB3005 e2923d3745 Fix shutdown crash 2026-03-26 15:03:48 +01:00
TakaRikka 3f90d11e95 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-26 04:52:52 -07:00
TakaRikka 59d689724c save editor inventory menu wip 2026-03-26 04:52:09 -07:00
Lurs 72e2c71de6 Fix audio memory leak 2026-03-26 11:02:24 +01:00
YunataSavior 31e93a3e7c Fix "switch case passes initialization" in d_a_peru 2026-03-25 21:28:58 -07:00
Max Roncace 3b6582f1a2 Add even more heap debug names 2026-03-25 20:53:18 -04:00
Max Roncace c5d1ceffff Map loader: Reset room/point values when region is changed 2026-03-25 20:53:18 -04:00
madeline bfcfb3622e fixes #107 2026-03-25 12:05:50 -07:00
PJB3005 7ac96d0251 Merge branch 'main' into pjb-audio 2026-03-25 16:43:59 +01:00
Lurs 3ad7e70963 removing Z2Creature::startCreatureVoice stub 2026-03-25 09:35:16 +01:00