Commit Graph

1076 Commits

Author SHA1 Message Date
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 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
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
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
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 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 5f0f3d4ebe ItemService improvements (#2322)
* ItemService improvements

* Move Poe increment to item
2026-08-21 00:50:51 -06:00
ZipoLabs b5724fb6fd Add "Button Fishing" casting when lure fishing (#2226) 2026-08-20 17:13:00 -06:00
Luke Street 3ecd785ac2 Rework UI lifecycle, finish renaming & cleanup 2026-08-19 21:43:41 -06:00
jdflyer 85c2ddd8ff Merge with origin/main 2026-08-17 22:52:28 -07: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
TakaRikka 008a18c142 Merge pull request #2292 from TwilitRealm/item-svc
initial item service implementation
2026-08-12 15:34:45 -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
baxlek 6009db23ef Fix conditional check in Midna's NPC interaction 2026-08-10 15:05:38 -05:00
TakaRikka 0c3bbbaba0 standardize some check names 2026-08-10 12:35:08 -07:00
baxlek 4cc979b419 Simplify NPC check logic in d_a_midna.cpp
Refactor NPC interaction checks for shadow mode and transformation settings.
2026-08-10 09:01:53 -05:00
baxlek 451df63e4b Merge branch 'main' into transform-anywhere-fix 2026-08-10 04:17:03 -05:00
baxlek 0fc05028cc Add Aiming Reticle for Bow and Slingshot (#2290)
* Change sight drawing flag to on in arrow logic

* Refactor setBowSight for PC targeting and reticle logic

* Add Aiming Reticle option to settings

Add option for Aiming Reticle in settings.

* Add aiming reticle setting to game preferences

* Add aiming reticle to user settings registration

* Add aimingReticle configuration variable

* Fix syntax error in settings.cpp

* Add aiming reticle check to bow charge condition

* Refactor bow charge sight position logic

Removed redundant sight position handling when aiming reticle is not displayed.

* Refactor setBowSight for Dusk targeting

* Clarify aiming reticle option description

* Refactor bow sight logic in setBowSight function

Removed dusk condition from bow sight check and adjusted sight drawing logic.

* Refactor sight drawing logic in d_a_alink_bow.inc

Remove redundant call to offDrawFlg() when aiming reticle is enabled.
2026-08-10 00:14:17 -04:00
TakaRikka 71b2eedc82 initial item service implementation 2026-08-09 16:40:26 -07:00
jdflyer 4aa3b647a3 Merge with origin/main 2026-08-07 13:57:48 -07:00
Luke Street cf8ab52f55 Fix ATTRIBUTE_ALIGN placement 2026-08-05 21:16:06 -06:00
baxlek 66d6a6fec3 Non-PC target inclusion 2026-08-02 13:57:48 -05:00
baxlek f31b824f8c Add Can Transform Anywhere check when talking to Midna 2026-08-02 11:57:27 -05:00
jdflyer ecbec503dc Merge with origin/main 2026-07-20 17:24:48 -07:00
jdflyer 61a4ab3117 Mod SDK: Gamemode Service, Change Speedrun mode to a gamemode, Allow prelaunch to be restarted 2026-07-19 00:50:49 -07:00
TakaRikka 3e343acc86 revert, e_pm jpn logic change TODO later 2026-07-18 22:09:32 -07:00
TakaRikka 9696c12563 couple more fixes, revert e_pm for now 2026-07-18 21:17:29 -07:00
TakaRikka d3e05a4f37 pr comments again 2026-07-18 19:39:24 -07:00
TakaRikka e3075520e7 convert jpn logic changes to runtime checks 2026-07-17 20:35:15 -07:00
TakaRikka 1654d256ec mant/flower jp offsets 2026-07-16 20:06:37 -07:00
TakaRikka 6058a0c597 Merge branch 'main' of ssh://github.com/TwilitRealm/dusklight into jpn 2026-07-16 15:09:23 -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
Irastris 42910ab2fd Restore simultaneous gyro and joystick input for first person aiming (#2164) 2026-07-02 00:13:22 -06:00
Luke Street f32e069c4b Improve mouse hiding logic (#2163)
* Improve mouse hiding logic

* Restore ImGui logic
2026-07-02 02:03:18 -04: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 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
matthewdavidrichardanderson b07fb50128 monkey crash fix (#2034)
* monkey fix 🐒

* wrap saru_p clear in target_pc

* Clear monkey leader pointer on delete

---------

Co-authored-by: matthewdavidrichardanderson <matthewdavidrichardanderson@mfb.com>
Co-authored-by: Luke Street <luke@street.dev>
2026-06-13 22:39:30 -06:00
Luke Street 00707024bb Update aurora & flower/grass draw batching 2026-06-13 10:40:57 -06:00