Commit Graph

2134 Commits

Author SHA1 Message Date
Irastris bd496e5662 Frame interp: Refactor JUTFader
Now works regardless of interpolation being on/off
2026-04-12 13:56:00 -04:00
Irastris ff64071db8 Frame interp: Fix stars 2026-04-12 13:20:04 -04:00
CraftyBoss b28ca94153 fix clang compilation error 2026-04-12 03:34:14 -07: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
MelonSpeedruns d1003faacc 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 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
Irastris 87f748b3a9 Frame interp: Fix d_kankyo lights 2026-04-11 17:50:44 -04:00
MelonSpeedruns 5973581dc3 yes i pushed into main like a mad man for a single space 2026-04-11 17:38:42 -04:00
TakaRikka 4eca64656a Merge pull request #329 from TwilitRealm/presets
Fix preset oddities
2026-04-11 14:25:49 -07:00
MelonSpeedruns 2a34b42480 fix oddities 2026-04-11 17:23:44 -04:00
TakaRikka 4a5a378782 Merge pull request #240 from TwilitRealm/presets
First run config presets
2026-04-11 14:23:24 -07:00
TakaRikka 154893c69f 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 e1aee905ff Group Collection tab sections into collapsible tree nodes 2026-04-11 15:18:22 -06:00
MelonSpeedruns 90944a8607 Only 2 presets for now, Standard and HD 2026-04-11 17:16:40 -04:00
MelonSpeedruns ee4b5388c8 removed unused variables and includes 2026-04-11 16:55:55 -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
Pheenoh 2a625598ca Add Collection tab and Inventory slot defaults to save editor 2026-04-11 14:43:08 -06:00
TakaRikka 5da48bf5a4 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 a2f985ab70 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 3160bfeb61 Merge pull request #317 from TwilitRealm/26-04-11-render-opts
UI render opts
2026-04-11 13:06:22 -07:00
Lurs 3dfe493211 Fixes dominion rod camera #176 2026-04-11 21:33:46 +02: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 93f7c0ab1a Fix dMsgFlow_c::event027 aParam8 buffer size (#326) 2026-04-11 19:53:03 +02:00
Howard Luck 32468db69d Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#325) 2026-04-11 19:49:52 +02:00
PJB3005 cd09e872ee 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 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
MelonSpeedruns 7b62623690 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 a2afeec23e Moved check for event running & Added sfx if trying to quick transform while in a cutscene 2026-04-11 11:38:36 -04:00
PJB3005 64f77dd5c8 Guess this isn't going to Tracy. 2026-04-11 17:10:04 +02:00
MelonSpeedruns 8268f93cf0 Don't allow quick transform while in the STAR tent 2026-04-11 10:22:58 -04:00
PJB3005 c1dd1a52a5 Bunch of debug/tracy groups for J2D 2026-04-11 16:11:41 +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
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
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
Pieter-Jan Briers dcb5f048d7 Replace some pointer casts with field references. (#3141) 2026-04-10 23:37:03 -07:00
Irastris 4ab64e8813 Add Aurora config options for enabling texture replacement and dumping (#222) 2026-04-10 19:14:15 -06:00
Luke Street b0e84b78e1 Avoid re-initializing game_main 2026-04-10 16:46:25 -06:00
Luke Street 1875c7c224 --dvd param skips prelaunch 2026-04-10 16:46:24 -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 7ed05711a7 Why did I fix this when we have a helper 2026-04-09 23:32:42 -06:00
Luke Street a57daef11b Fixes for controller config & input viewer 2026-04-09 23:30:03 -06: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