Commit Graph

1382 Commits

Author SHA1 Message Date
Irastris 83f50329d8 Refactor chain and line interpolation, revert portion of last PR (#2397)
* Consolidate chain interpolation

* 3D lines interpolate themselves

* Revert d_kankyo_rain camera changes
2026-09-06 19:14:00 -04:00
Irastris d67871181d Many interp fixes (#2394)
Co-authored-by: Luke Street <luke@street.dev>
2026-09-06 00:27:14 -06:00
Irastris bb09df7948 Tidy includes, drop PC STATIC_ASSERTs, and more macro usage 2026-09-04 20:48:36 -04:00
Luke Street 48746a9a67 Use aurora::thp; remove libjpeg-turbo (#2386) 2026-09-04 02:01:41 -06:00
Luke Street d94135f785 Avoid overlay files overflowing solid heaps (#2387) 2026-09-04 00:33:47 -06:00
gymnast86 b748eaca1e Remove private specifiers from game code classes (#2375)
* remove private specifiers from game code

* fix formatting

* fix more formatting

* Add some missing public modifiers

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-09-03 09:30:26 -06: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 c4ded86010 Merge branch 'main' of ssh://github.com/TwilitRealm/dusklight into better-tools 2026-08-29 18:37:14 -07: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 c53f3f774b Add Golden Wolf item checks 2026-08-23 20:25:41 -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
Luke Street fd4a5f0cfb Use carousel button on prelaunch; more cleanup 2026-08-19 22:58:43 -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
TakaRikka 5b4def820a couple fixes 2026-08-12 15:02:33 -07:00
TakaRikka 5abc956448 daTbox2 handling 2026-08-11 14:45:53 -07:00
TakaRikka 71b2eedc82 initial item service implementation 2026-08-09 16:40:26 -07:00
madeline bf4c727d04 Merge branch 'main' of https://github.com/TakaRikka/dusk into better-tools 2026-08-08 19:36:21 -07:00
jdflyer 8be95d3aa3 Allow Gamemodes to interrupt flow on file creation 2026-08-07 18:46:52 -07:00
TakaRikka ce386d8dbd convert jpn ui/text changes to runtime checks 2026-07-17 18:12:28 -07:00
Luke Street a6f059827b Game ABI / headers refactoring (#2215)
* Game ABI / headers refactoring

* Delete dusk/imgui.h
2026-07-14 19:24:08 -06:00
Luke Street eed14acdc6 Annotate all data with DUSK_GAME_DATA (#2214)
The hope of auto-importing data via lld MinGW
+ pseudo_reloc is now dead thanks to ARM64,
so I just wrote a script to go annotate every
exported data symbol in the game instead.
2026-07-14 13:49:21 -06:00
Luke Street 50565b37fc Fix mod demo CI linkage and signing 2026-07-10 01:45:05 -06:00
Luke Street 4339e60ba6 Hook service, symgen manifest & data linking 2026-07-08 01:47:49 -06:00
Luke Street e0ab36b7d9 Stable game ABI: Use PARTIAL_DEBUG
To make sure that mods can work across debug and release build, we can utilize PARTIAL_DEBUG to enable only DEBUG changes that affect struct and vtable layout
2026-07-07 01:14:29 -06:00
Luke Street 09f087656a Guard against null dMsgObject_getMsgObjectClass() in a few places 2026-06-30 15:19:30 -06:00
Irastris fe15366912 Make Ganondorf cape tearing deterministic when using texture replacements (#2145)
* Make Ganondorf cape tearing deterministic when using texture replacements

* GXIsTexObjReplaced -> has_replacement

* Only check for a replacement once during creation

* Update Aurora
2026-06-28 22:44:26 -06:00
Luke Street 2d4e69466b Refine menu_pointer click events
Only short clicks/taps count & they must
not move between targets
2026-06-17 22:48:44 -06:00
Luke Street 1fd8a2ca3c More fixes for clawshot touch controls 2026-06-16 13:37:04 -06:00
Luke Street 8e9d4d624a Fix hookshot hanging w/ touch controls 2026-06-15 22:55:30 -06:00
Luke Street ad53af5c78 Touch controls (#2053)
* WIP touch controls

* Action icons

* Updates

* Don't mutate freeCamera config; allow switching between touch and controller cam

* Wow

* Fix build & add Skip button

* Fix build & add settings

* RCSS cleanup

* Dpad and fishing, might redo

* Add menu mouse controls

* More pointer & fix icons

* Optimizations & introduce layout system

* Update aurora

* Implement touch controls layout editor

* Cleanup & fixes

* Allow disabling mouse/touch in menus

* More fixes
2026-06-15 12:48:04 -06:00
doop 38a0a7be0b Always create a save file if one doesn't exist (#2028)
* Always create a save file if one doesn't exist

* Fix MSVC build

* Re-add accidentally deleted line

* Integrate into d_file_select state machine & put behind instantSaves

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-06-15 12:47:23 -06:00
Luke Street 02fdde3768 Scale map rendering with IR (#2056)
* Scale map rendering with IR + scale config

* Remove config option
2026-06-14 22:41:33 -06:00
Luke Street 00707024bb Update aurora & flower/grass draw batching 2026-06-13 10:40:57 -06:00
Luke Street 692c04e936 Merge branch 'main' into better-tools 2026-06-07 22:37:14 -06:00
BoLThompson 8b7ed4b5da Interpolation fixes (fishing rod, key door chains, hookshot chain) (#2008)
* fishing rod line (item and minigame) interpolated

* small key, big key door chains interpolated

* hookshot chain interpolated
2026-06-08 00:28:48 -04:00
Luke Street b00b7f8f1b More texture caching 2026-06-04 23:21:13 -06:00
Pieter-Jan Briers f8ba14ea8f Optimize some special kankyo draw packets (housi, snow, odour) (#1970)
* Slight dKankyo_housi_Packet documentation

* Optimize dKyr_drawHousi (twilight squares)

Now a single draw call rather than like 300

* Optimize dKyr_drawSnow

Snowpeak stonks rising

* Optimize dKyr_odour_draw
2026-06-02 23:47:34 -06:00
madeline e855e6471f Merge branch 'main' of https://github.com/TakaRikka/dusk into better-tools 2026-06-01 23:05:09 -07:00
madeline 848f635798 better tools 2026-06-01 22:56:14 -07:00
Irastris bd9b81f700 Add mouse input option for the third-person camera (#1011)
* Untie existing mouse logic from gyro

* A bit more mouse cleanup before I start building off it

* Rebase and last bit of cleanup

* Fix rebase mistake, don't apply invertFirstPerson to gyro or mouse input

* Remove the deprecated ImGui toast system

* Add Mouse Camera option in preparation for its use

* WIP, add mouse controls for the third-person camera

* Various helpText revisions

* Enable free camera on horseback

* Untie mouse camera and free camera options
Either being enabled now allows the underlying freecam logic to run

* Allow simultaneous C-stick and mouse input

* Combine mouse sensitivities for both aim and camera

* Add option for inverting mouse Y

* Refactor cursor visibility handling

* Tighten aim capture condition and constrain cursor to window region

* Tidying my trash

* Last bit of housekeeping so I'm satisfied

* Don't write code while sleep deprived

* Fix my sloppy merge and a few helpText updates

* Disable control stick aim when mouse aim is active

* Use same conditions for cursor grabbing as for capture
2026-06-01 23:37:53 -06:00
Sirius902 e5c032f6e6 fix: item and talk rendering (#1896) 2026-05-29 03:15:56 +02:00