Commit Graph

2036 Commits

Author SHA1 Message Date
Irastris d67871181d Many interp fixes (#2394)
Co-authored-by: Luke Street <luke@street.dev>
2026-09-06 00:27:14 -06:00
gymnast86 cf1859f754 Merge branch 'main' of https://github.com/TwilitRealm/dusklight into charlo-fix 2026-09-04 21:47:31 -07:00
gymnast86 02facd8c99 fix charlo reward 2026-09-04 21:47:22 -07:00
Irastris bb09df7948 Tidy includes, drop PC STATIC_ASSERTs, and more macro usage 2026-09-04 20:48:36 -04:00
Luke Street e753884773 Some ASAN fixes 2026-09-04 12:54:55 -06:00
Luke Street 48746a9a67 Use aurora::thp; remove libjpeg-turbo (#2386) 2026-09-04 02:01:41 -06:00
gymnast86 0a4a335e4a SaveService: Move save_slot_written call and onWritten notification (#2388)
* move onWritten notification to before sidecar flush

* call save_slot_written in dataWrite() instead of memCardDataSaveWait2

* move save_slot_written to memCardDataSaveWait
2026-09-04 01:10:02 -06:00
Luke Street d94135f785 Avoid overlay files overflowing solid heaps (#2387) 2026-09-04 00:33:47 -06:00
jdflyer 5a92780d42 Mod SDK: Actor service (#2270)
* Mod SDK: Actor Service

* Modding doc fix

* Update naming for actor service. Begin custom actor example mod

* Example Mod Updates, On unregister: Only delete requested actors of the right type. Update docs

* Cleanup & fixes

* Rename to custom_actor_demo

* tweaks

* Finish mine demo actor

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
Co-authored-by: Luke Street <luke@street.dev>
2026-09-03 10:02:15 -06:00
jdflyer fb4142c7ef Stage Service: Support Player Spawns (#2311)
* Stage Service: Support Player Spawns

* Allow for spawn deletion, double-check spawn sizes

* Advance player_data on continue

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-09-03 10:01:42 -06:00
Irastris ea4d4d476a BLO revisions 2026-09-02 17:12:11 -04:00
Irastris 8bcf81b3c6 Recreate the aiming reticle as GX calls for Wii compatibility 2026-09-02 16:34:00 -04:00
Luke Street f83664074e Split randomizer mod into submodule
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: gymnast86 <stock.joann@gmail.com>
2026-09-01 21:22:36 -06:00
TakaRikka b76917ed48 Merge pull request #2363 from TwilitRealm/instant-death-fixes
Instant Death Fixes
2026-09-01 04:19:35 -07:00
TakaRikka 2570c8f072 fix gamemode onSaveLoaded handling with hideTvSettingsScreen setting 2026-09-01 01:09:42 -07:00
SuperDude88 2e19ffbf50 Shorten int Change 2026-08-31 20:15:15 -04:00
SuperDude88 4a632ff5dc Instant Death Fixes
- Fix some overflows with instant death mode
2026-08-31 18:24:30 -04:00
TakaRikka e2bf07805e Merge pull request #2259 from baxlek/transform-anywhere-fix
Can Transform Anywhere fix
2026-08-30 01:05:20 -07:00
TakaRikka cf65509da9 Merge pull request #2346 from baxlek/underwater-transform-fix
Prevent Quick Transform While Underwater
2026-08-30 00:29:03 -07:00
TakaRikka b718404b52 Merge pull request #2353 from TwilitRealm/fix/freecam-mouse-fix
Only move Flycam when holding right click
2026-08-29 23:06:25 -07:00
TakaRikka 9930c5aabf trigger viewer fixes 2026-08-29 18:51:11 -07:00
TakaRikka c4ded86010 Merge branch 'main' of ssh://github.com/TwilitRealm/dusklight into better-tools 2026-08-29 18:37:14 -07:00
MelonSpeedruns 7cc0c07ffb Only move freecam when holding right click 2026-08-28 13:37:36 -04:00
baxlek 308c0fca44 Update d_a_alink_dusk.cpp 2026-08-24 17:15:19 -05:00
baxlek c1213ef752 Update d_a_alink_dusk.cpp 2026-08-24 17:02:53 -05:00
Luke Street a775418c66 ItemService v2.1: Support display_item (#2344)
* ItemService: Support display_item

* Add goron_springwater_rush constant

* Commit f_op_actor_mng.h
2026-08-23 21:51:49 -06:00
Luke Street 705e7f058b Un-inline d_meter2_info functions 2026-08-23 20:26:26 -06:00
Luke Street 2d70c24b37 Improve mod hook compatibility (inlines) 2026-08-23 20:26:26 -06:00
Luke Street 72ccb14d35 Guard against null stag_info 2026-08-23 20:25:41 -06:00
Luke Street c53f3f774b Add Golden Wolf item checks 2026-08-23 20:25:41 -06:00
Luke Street 5a8622c6b2 Fix forced Poe item demo 2026-08-23 20:25:24 -06:00
Luke Street 29b86f938f Fix group lookup for custom flows 2026-08-23 20:22:12 -06:00
Luke Street e02638ac6d Fix custom flow entry nodes 2026-08-23 20:22:10 -06:00
Luke Street 16f2b954fa Add full color extension to messages 2026-08-22 21:55:14 -06:00
Luke Street 5f0f3d4ebe ItemService improvements (#2322)
* ItemService improvements

* Move Poe increment to item
2026-08-21 00:50:51 -06:00
gymnast86 172d06f38d Add Built-In Cosmetics Mod (#2291)
* template setup

* get most colors working

* add lantern, midna, and heart colors

* fix PaneCache naming conflict

* add UI colors

* fix pane cache again

* override colors for items on other models

* recolor heart piece models

* cleanup

* add support for ordon sword recoloring

* recolor epona's eyelids

* move option descriptions

* fix mod.json

* constexpr descriptions

* gx.h instead of dolphin/gx/GXstruct.h

* fix default midna hair color

* use TextureService instead of overwriting model file data on load

* update descriptions

* manual cleanup

* fix includes

* remove unneeded include and const qualifier

* UI: Add Popover, ColorInput & more; mod cleanup

* Make it a bundled mod

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-08-20 17:49:26 -06:00
Luke Street d3f10221b8 Merge remote-tracking branch 'origin/main' into better-tools
# Conflicts:
#	files.cmake
#	src/dusk/game_clock.cpp
#	src/dusk/imgui/ImGuiConsole.cpp
#	src/dusk/settings.cpp
#	src/dusk/settings.h
#	src/m_Do/m_Do_main.cpp
2026-08-20 17:21:22 -06:00
ZipoLabs b5724fb6fd Add "Button Fishing" casting when lure fishing (#2226) 2026-08-20 17:13:00 -06:00
jdflyer 5a4e6f3254 Mod SDK: Arc Overlays (#2280)
* Mod SDK: Arc Overlays

* Use DVD Functions for Arc overlays

* Re-add Fetchcontent for json.hpp

* Fix build for actions

* Make sure buffer usues aligned length

* Add include so msvc compiles

* Arc Overlays fixes: remove _arc suffix, handle getting overlayed file size from arcs, copy data correctly, etc.

* Reload overlayed data during loading screens

* Rename sync function

* Free overlayed files on load instead of re-loading them

* Rework arc overlays & load overlay files into host memory

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-08-20 00:47:57 -06:00
Luke Street fd4a5f0cfb Use carousel button on prelaunch; more cleanup 2026-08-19 22:58:43 -06:00
Luke Street 3ecd785ac2 Rework UI lifecycle, finish renaming & cleanup 2026-08-19 21:43:41 -06:00
Luke Street fd0e33460f Gamemode -> GameMode 2026-08-19 20:49:58 -06:00
jdflyer 21bc055552 Merge with origin/main 2026-08-19 00:16:37 -07:00
Luke Street f6b7448de3 FlowService & MessageService (#2313) 2026-08-19 00:32:23 -06:00
jdflyer c0d44d4a21 Gamemode service improvements. Disable achievements on custom gamemodes (for now) 2026-08-18 00:33:15 -07:00
jdflyer 85c2ddd8ff Merge with origin/main 2026-08-17 22:52:28 -07:00
jdflyer 8953532fe7 OnNewSaveSelectFunction fix (Don't show name anm) 2026-08-16 18:41:07 -07:00
Irastris c880d46fb5 d_menu_option bugfix (#2294) 2026-08-15 11:58:24 -06:00
Irastris 27d27e6d94 Add support for playing Dusklight using Wii disc images (#2296)
* Add offsets for Wii USA R0/R2, JPN, and PAL
Also fix an oopsie where l_pos and l_normal's offsets were swapped

* Allow loading Wii discs

* Change GameVersion::GcnJpn checks to isRegionJpn()

* Change GameVersion::GcnPal checks to isRegionPal()

* Add platformSelect and regionSelect templates, simplify a ton of code

* Add *_get() macros to simplify REL loads

* Actually accept Wii USA Rev. 2 discs

* Show the Wii USA revision in prelaunch's disc status

* l_normal isn't in Wii RELs, so I'll just hardcode it

* Account for various BLO differences

Fix crash when opening the map on Wii USA Rev 0 and Wii PAL

* Use the streamed version of the file select music

* Update language selection

* Fix the d-pad/cross button text for Wii PAL
Resizing panes that are already 120.0f wide is harmless, so I didn't bother with a GameVersion check

* Fix brightness check discrepancy, use IF_DUSK_BLOCK macros when ideal

* Update docs and the issue template
2026-08-15 11:58:09 -06:00
Luke Street 0f5a248401 Time revamp (#2304)
* Don't Use OSCalendarTime for Speedrun Timing

- Shouldn't rely on OSTicksToCalendarTime since it will be changed to handle time zone conversion, and that doesn't make sense on elapsed time

* Use OSGetSystemTime Extension

- Fixes desyncing issues with save file time and a couple other odd instances, particularly on mobile platforms that suspend apps

* Time revamp

* Update aurora

* Split IGT/RTA calculations

* Shift-Turbo to slow down

---------

Co-authored-by: SuperDude88 <82904174+SuperDude88@users.noreply.github.com>
2026-08-14 00:07:54 -06:00