Commit Graph

2067 Commits

Author SHA1 Message Date
TakaRikka ddfc8f7789 Merge pull request #339 from TwilitRealm/feature/restore-dolby-for-builds
Restore Warning Screen behind Toggle
2026-04-12 13:43:21 -07:00
TakaRikka 9d656b04b6 Merge pull request #338 from TwilitRealm/feature/no-heart-drops
No Heart Drops Feature
2026-04-12 13:42:16 -07:00
Irastris ff64071db8 Frame interp: Fix stars 2026-04-12 13:20:04 -04:00
MelonSpeedruns d5a388d323 added skip warning screen toggle 2026-04-12 12:33:05 -04:00
MelonSpeedruns 8e822112b2 No Heart Drops 2026-04-12 11:22:16 -04:00
Luke Street e7af33d0cc Add "Enable Water Refraction" toggle & cleanup 2026-04-11 20:13:39 -06:00
Irastris 2b95ce7444 Frame interp: Fix Epona's reins 2026-04-11 21:45:54 -04:00
MelonSpeedruns 950b543f0f 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
Luke Street 943ac05f16 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 c3fb8da1c8 Frame interp: Fix fmap scroll arrows 2026-04-11 18:19:09 -04:00
MelonSpeedruns d32adeeba7 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
PJB3005 842c74f940 Merge branch 'main' into 26-04-11-render-opts 2026-04-11 20:36:46 +02:00
PJB3005 71a8642f19 Merge remote-tracking branch 'decomp/main' 2026-04-11 19:59:09 +02:00
Howard Luck 32468db69d Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#325) 2026-04-11 19:49:52 +02:00
Howard Luck 2ca35905a3 Fix daE_FB_c::mKeys array size on PC (#324) 2026-04-11 19:49:17 +02:00
Howard Luck 5c39c04937 Fix obj_maki_class::field_0x6f8 array size (#322) 2026-04-11 19:48:47 +02:00
Pieter-Jan Briers 9b900a1a55 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
Howard Luck 970ead7e13 Fix daNpcCoach_Attr_c::field_0x28 array size (#320) 2026-04-11 17:33:27 +02:00
PJB3005 ffd7183669 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 472af2590a henna ub fix (#3147) 2026-04-11 00:07:18 -07:00
Irastris eaec6487a3 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 22d9840ed1 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 d7c34741e2 Replace magic constants derived from framebuffer size (#3144) 2026-04-10 23:43:37 -07:00
Pieter-Jan Briers bcd5a96391 Couple names in dMeterMap_c (#3142) 2026-04-10 23:41:24 -07:00
Luke Street 6b4912a59c Fix npc_henna_class missing pointers 2026-04-11 00:30:40 -06:00
TakaRikka 1e4e71af13 Merge pull request #310 from TwilitRealm/26-04-10-render-opts-2
Rendering optimizations
2026-04-10 15:21:44 -07:00
MelonSpeedruns e643d3d911 Show Pipeline Compilation option (#312)
* Show Compiling Shaders option. Off by default.

* Addressed encounter comments

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-10 15:53:28 -06:00
PJB3005 c2d687a4a7 Change star rendering to be more optimal on modern GPUs.
Use vertex colors and a single large draw.
2026-04-10 19:19:12 +02:00
Luke Street 95191036f3 Big imgui overhaul 2026-04-09 23:11:10 -06:00
CraftyBoss ed7fa8f2c5 implement pre-launch ui for configuring iso directory (#301)
UI will automatically open on boot and will not launch the game if there is no valid iso path specified in the config. Can optionally be disabled on future game launches.
2026-04-09 23:06:37 -06:00
qwertyquerty 229c8ed88f CI/CD, CMake improvements, more targets, fix gcc (#258)
* CI attempt

* syntax

* fix cmake for linux

* fix include directories and merge main

* fix PDB fighting

* fix gcc compiling

* fix SSCACHE for windows

* try and fix gcc

* more CI presets

* remove the android target for now

* bump cmake minimum to fix debug information format

* yet another attempt at fixing gcc

* yet another attempt at fixing gcc

* better CI matrixing

* yet another attempt at fixing GCC

* fix arm

* fix CI

* placeholder icons

* compile dawn from source for windows arm64

* fix icons and linker warnings

* fix cmake

* fetch libjpegturbo

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-09 19:22:53 -06:00
MelonSpeedruns 0a273425e4 Merge remote-tracking branch 'origin/main' into presets 2026-04-09 17:34:05 -04:00
PJB3005 a2d008ab09 Add Tracy stuff 2026-04-09 18:47:34 +02:00
TakaRikka 99fd9a0ee6 Merge pull request #288 from TwilitRealm/magic-armor-enhancements
Free Magic Armor
2026-04-08 16:27:19 -07:00
SuperDude88 03bb887bb5 Free Magic Armor
Remove the rupee drain for using the magic armor
2026-04-08 17:58:21 -04:00
madeline 7b4d9ce807 frame usage debug info 2026-04-07 22:11:50 -07:00
madeline be7161abc0 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-07 21:40:01 -07:00
madeline 8062cbf009 instant saves as a toggle instead of default 2026-04-07 21:39:28 -07:00
MelonSpeedruns 3456496ff3 Merge remote-tracking branch 'origin/main' into 26-04-05-locked-aspect-ratio
# Conflicts:
#	include/dusk/settings.h
#	src/dusk/settings.cpp
#	src/m_Do/m_Do_main.cpp
2026-04-07 18:20:45 -04:00
PJB3005 393bf7b77a Fix Aurora draw call display in performance overlay
It was getting reset at the start of the frame... Just cache the values.
2026-04-07 22:17:48 +02:00
PJB3005 2d7c98e0c8 Fix bigger wallet type display in collection screen
Fixes https://github.com/TwilitRealm/dusk/issues/223
2026-04-07 20:36:44 +02:00
PJB3005 208f2aba9f Cleanly shut down JKRDecomp thread
Properly join the thread to ensure it's shut down before we try to exit.

Fixes #268
2026-04-07 20:06:52 +02:00
MelonSpeedruns 39fae82047 Fixes audio volume at boot if changed (#270)
* Fixes audio volume at boot if changed

* Update Settings refactor for settings we want to update in the future

* remove unused include

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-07 19:56:23 +02:00
PJB3005 c6b53b079c More TU debug consistency
Thought this was the cause of #264. Didn't end up being the case but figure it's still best to fix it.
2026-04-07 15:44:43 +02:00
TakaRikka 8c0fd7d860 Merge pull request #243 from TwilitRealm/runtime-data-asset-loader
Runtime rel/dol asset loader
2026-04-06 23:22:41 -07:00
Luke Street 462001d398 Add vsync toggle & honor fullscreen setting 2026-04-06 23:07:48 -06:00
madeline 02c2631d6c address review 2026-04-06 20:37:40 -07:00
madeline d6d5c318ae runtime data asset loader 2026-04-06 20:37:39 -07:00
CraftyBoss f43e4452b4 fast spinner cheat impl
just makes it so holding R while on the spinner increases its speed to 60 units
2026-04-06 18:26:33 -07:00
Jeffrey Crowell d3142f779b use "Cmd" instead of "Ctrl" for hotkeys on Apple (#239) 2026-04-07 02:33:27 +02:00