Commit Graph

3211 Commits

Author SHA1 Message Date
MelonSpeedruns fe44e3adff replaced wrong NULLs with error process id 2026-04-12 12:21:06 -04:00
MelonSpeedruns e816d1bdd9 Allow hearts to spawn from girls in castle town & yeti love cutscene 2026-04-12 11:39:56 -04:00
MelonSpeedruns ef64ac08f8 No Heart Drops 2026-04-12 11:22:16 -04:00
CraftyBoss a8f5fb3899 fix clang compilation error 2026-04-12 03:34:14 -07:00
Luke Street 85df64618d Add "Enable Water Refraction" toggle & cleanup 2026-04-11 20:13:39 -06:00
Luke Street 3c281cc988 BE swap J3DMaterialFactory::newIndTexMtx/newFog 2026-04-11 20:13:39 -06:00
Irastris 0e2bd104b1 Frame interp: Fix Epona's reins 2026-04-11 21:45:54 -04:00
MelonSpeedruns 62df2c0460 Shadow Quality Enhancement (#311)
* Shadow Quality Enhancement

* added 1 space because we like consistency here

* Addressed encounter comments

* Renamed description of shadow resolution

* added period at the end of shadow resolution description

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-11 17:52:08 -06:00
MelonSpeedruns eaf1b386a6 Third Dusk Preset (#331)
* fix aspect ratio not changing when applying the sd preset

* Added a third preset, and renamed SD preset to Classic

* show preset menu before setting the iso

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-11 17:51:37 -06:00
Luke Street aafd50cd09 Use Limiter class in waitForTick (#330)
This uses the existing `Limiter` class (stolen from Metaforce) in `JFWDisplay::waitForTick`.
The limiter also now uses `SDL_DelayPrecise` internally on non-Windows platforms.
On Windows, the existing `NanoSleep` logic is untouched, as it appears to provide a
more stable framerate for the folks testing it on Windows than `SDL_DelayPrecise` does.
On Linux, however, `SDL_DelayPrecise` is plenty accurate.
2026-04-11 17:50:52 -06:00
Irastris b628a1beb6 Frame interp: Fix fmap scroll arrows 2026-04-11 18:19:09 -04:00
Irastris 880c9f9e9e Frame interp: Fix d_kankyo lights 2026-04-11 17:50:44 -04:00
MelonSpeedruns 2e6a58b140 yes i pushed into main like a mad man for a single space 2026-04-11 17:38:42 -04:00
TakaRikka 7e2e4a73f6 Merge pull request #329 from TwilitRealm/presets
Fix preset oddities
2026-04-11 14:25:49 -07:00
MelonSpeedruns bccc5167bc fix oddities 2026-04-11 17:23:44 -04:00
TakaRikka 8d433c8647 Merge pull request #240 from TwilitRealm/presets
First run config presets
2026-04-11 14:23:24 -07:00
TakaRikka 96034ab361 Merge pull request #328 from TwilitRealm/feat/save-editor-collection
Fill out Collection tab and Inventory slot defaults to save editor
2026-04-11 14:21:48 -07:00
Pheenoh be8e67ab18 Group Collection tab sections into collapsible tree nodes 2026-04-11 15:18:22 -06:00
MelonSpeedruns fd59a6e281 Only 2 presets for now, Standard and HD 2026-04-11 17:16:40 -04:00
MelonSpeedruns 3497ddbcd0 removed unused variables and includes 2026-04-11 16:55:55 -04:00
MelonSpeedruns ffc5d03fd6 Merge remote-tracking branch 'origin/main' into presets
# Conflicts:
#	files.cmake
#	src/d/actor/d_a_title.cpp
#	src/dusk/config.cpp
#	src/dusk/imgui/ImGuiConsole.cpp
#	src/dusk/imgui/ImGuiEngine.cpp
2026-04-11 16:53:04 -04:00
Pheenoh 5865ccc9d5 Add Collection tab and Inventory slot defaults to save editor 2026-04-11 14:43:08 -06:00
TakaRikka 6a91693752 Merge pull request #327 from TwilitRealm/26-04-11-dynamiclink-gone
Stub out most of DynamicLink.cpp and more of c_dylink.cpp
2026-04-11 13:07:21 -07:00
TakaRikka 5977706618 Merge pull request #318 from TwilitRealm/fix/quick-transform-fix
Don't allow quick transform while in the STAR tent
2026-04-11 13:07:02 -07:00
TakaRikka 0b480fe9d8 Merge pull request #317 from TwilitRealm/26-04-11-render-opts
UI render opts
2026-04-11 13:06:22 -07:00
PJB3005 14e77aed9c Fix JUTResFont duplicating texture data
I misunderstood the way this code works the first time.
2026-04-11 21:46:14 +02:00
Lurs e31efcfbd6 Fixes dominion rod camera #176 2026-04-11 21:33:46 +02:00
PJB3005 fe46adf3cb Merge branch 'main' into 26-04-11-render-opts 2026-04-11 20:36:46 +02:00
PJB3005 9704f32411 Merge remote-tracking branch 'decomp/main' 2026-04-11 19:59:09 +02:00
Howard Luck 97e566f117 Fix dMsgFlow_c::event027 aParam8 buffer size (#326) 2026-04-11 19:53:03 +02:00
Howard Luck c51b8d0666 Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#325) 2026-04-11 19:49:52 +02:00
Howard Luck a8f4f44708 Fix daE_FB_c::mKeys array size on PC (#324) 2026-04-11 19:49:17 +02:00
Howard Luck ba9d5ba6c5 Fix obj_maki_class::field_0x6f8 array size (#322) 2026-04-11 19:48:47 +02:00
PJB3005 c77ade5f24 Stub out most of DynamicLink.cpp and more of c_dylink.cpp
This code wasn't used (no dynamic linking) and was causing various compiler warnings that don't make sense to clean up. Get rid of it.
2026-04-11 19:46:22 +02:00
Pieter-Jan Briers a0e12c36e7 UB fixes (#3150)
* Fix incorrect size for J2DTevBlock8::insertTexture local_38

* Fix dMeter_drawOptionHIO_c mOptionTypeBGPosX/Y size

* dMeter_drawLightDropHIO_c mVesselAlpha fix

* d_a_mg_rod array size fixes

* Fix e_tk2_class mActionTimer array size

* daObjTOMBO_c field_0x714 array size fix
2026-04-11 11:28:01 -06:00
MelonSpeedruns 82e3845d64 Added periods at the end of every option description (#323)
This allows multiple sentences to be defined for a description.

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-11 19:12:32 +02:00
MelonSpeedruns 8522d33935 Moved check for event running & Added sfx if trying to quick transform while in a cutscene 2026-04-11 11:38:36 -04:00
Howard Luck f735a07dca Fix daNpcCoach_Attr_c::field_0x28 array size (#320) 2026-04-11 17:33:27 +02:00
PJB3005 c29f6737e5 Guess this isn't going to Tracy. 2026-04-11 17:10:04 +02:00
MelonSpeedruns a72dbe779d Don't allow quick transform while in the STAR tent 2026-04-11 10:22:58 -04:00
PJB3005 cffb4b2400 Make J2DPictureEx not draw if zero alpha
Reduces the amount of draw calls from inactive UI elements by a lot.
2026-04-11 16:13:45 +02:00
PJB3005 bcf7b4ca85 Bunch of debug/tracy groups for J2D 2026-04-11 16:11:41 +02:00
PJB3005 855c794586 Improve dDlst_list_c::draw debug group code to also go to tracy, be less of a performance hog when active. 2026-04-11 16:11:19 +02:00
TakaRikka 6f793b0c42 henna ub fix (#3147) 2026-04-11 00:07:18 -07:00
Irastris fb9178cac9 Implement unlocked framerates via interpolation (#315)
* Disable waitForTick and waitBlanking

* Initial frame interpolation implementation

* Initial batch of speed fixes

* Fix Iron Boots

* Strip dead code once used for debugging

* Interpolate shadows

* Revert overzealous/redundant lookups

* Fix JUTFader

* Fix field map cursor

* Fix various particle effects

* Fix Midna when riding Wolf Link

* Fix title logo

* Title Logo 2: Electric Boogaloo

* Fixed grass and flowers

* "Unlock Framerate" config option (WIP)

* Wrap more things in TARGET_PC

* Finish wrapping things in TARGET_PC

* Missed one

* Disable dComIfGd_drawXluListInvisible when interpolating

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-11 01:06:25 -06:00
Pieter-Jan Briers ba5799200e Fix field array size on field_0x50 (#3145)
UB caught by modern compilers, this fixes it.
2026-04-10 23:44:22 -07:00
Max Roncace 3f8bbe7c57 Replace magic constants derived from framebuffer size (#3144) 2026-04-10 23:43:37 -07:00
Pieter-Jan Briers 422ed7afc3 Couple sizeof(CMemBlock)s (#3143) 2026-04-10 23:42:00 -07:00
Pieter-Jan Briers c2113abd62 Couple names in dMeterMap_c (#3142) 2026-04-10 23:41:24 -07:00
Pieter-Jan Briers b0728f9b8d Replace some pointer casts with field references. (#3141) 2026-04-10 23:37:03 -07:00