Commit Graph

702 Commits

Author SHA1 Message Date
Lurs 2b266048c6 Add temple of time reflections via GX2 stencil. Temporarily point to my own aurora fork before stencil PR is merged. 2026-06-12 08:21:57 +02:00
TakaRikka 776ee9b978 partially fix los exit portals 2026-06-11 21:55:58 -07:00
TakaRikka e345323f0a add los swpush variant 2026-06-09 03:28:40 -07: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
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
Pieter-Jan Briers 5d68762590 Add a *ton* of const and constexpr around the codebase. (#1864)
* Add a *ton* of const and constexpr around the codebase.

This makes the codebase compile without strings being cast to non-const char*. I also went through and added constexpr where appropriate for tons of static data.

* Make process definitions const too

Might as well
2026-05-27 23:12:16 -06:00
qwertyquerty 8668474a33 Achievements improvements v2 (#1553)
* make LJA achievement more attainable glitchlessly

* update loach achievement description

* 3 kill rollstab achievement

* update gone fishin description

* gorge skip achievement

* early city achievement

* make goats and snowboarding safety check stage

* fix indomitable requirement, add hero mode achievement

* properly check skybook completion when returned

* prototype ganondorf achievement

* Autospin Annihilation
2026-05-24 12:18:07 -06:00
Pieter-Jan Briers a6376368ee String safety (#1548)
* Array size UB fixes

* Fix ShieldD

* Remove (almost) all unsafe strcpy calls

Bunch of macros. C arrays are easy enough and just need a different call. For various cases where a char* is passed around bare, I've made a TEXT_SPAN macro that can store a length too for bounds checking.

* Move crash handling in safe string operations to separate TU

* strcat safe version

* sprintf made safe too

* Fix compile
2026-05-24 10:43:00 -06:00
Irastris c49f0e5c6e Use std::chrono for THP playback pacing (#1757)
* Use std::chrono for THP playback pacing

* Redundant include
2026-05-23 07:18:29 -06:00
TakaRikka 5a05433a2b Merge pull request #733 from TwilitRealm/fix/e_s1_e_yg
Frame interp: Fix e_s1 & e_yg
2026-05-09 04:35:25 -07:00
Pheenoh 06c77a6818 frame interp: e_s1 & e_yg 2026-05-08 21:16:57 -06:00
Pheenoh 4d4a80891f frame interp: fix obj_fchain 2026-05-08 20:21:37 -06:00
Irastris d2a1dda523 Add interp callbacks to the stalks of four Baba variants 2026-05-08 21:00:16 -04:00
Howard Luck 65e8577253 frame interp: fix b&c chain links (#724) 2026-05-08 17:26:33 -06:00
Pheenoh dd2b993cd5 frame interp: fix obj_klift00 chains 2026-05-03 09:58:31 -06:00
MelonSpeedruns 36dc43c602 Fix changing tunics crash while on top of mirror (#596)
* Fix changing tunics while reflection is active

* Revert "Fix changing tunics while reflection is active"

This reverts commit 89927dc7a6.

* Really fix changing tunics while reflection is active

* Fix transforming on ice again

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
Co-authored-by: Irastris <irastris15@gmail.com>
2026-04-29 18:13:07 -06:00
Irastris 5f33489465 Register interp callback for d_a_obj_lv8Lift 2026-04-27 01:04:45 -04:00
Howard Luck 9ddfcc38c9 fix interp on ooks rope (#553) 2026-04-25 20:37:36 -06:00
Howard Luck 6fc8628144 fix gdorf horseback reins + demo cuts (#551) 2026-04-25 20:44:38 -04:00
PJB3005 89acf923e0 Fix THP shutdown crash
Cleanly shut down movie player threads on exit.

I'm not 100% fond of having to manually insert a call like this into the shutdown logic, but the other solution is shutting down all processes and that's likely to result in causing more crashes.
2026-04-21 01:11:49 +02:00
Howard Luck 35a69e7ff1 Frame interp pacing/camera cuts, King Bulblin reins, and crash fixes
* misc fixes round 1

* kb1 fixes

* fixes for encounter/ira
2026-04-20 00:34:13 -04:00
Jasper St. Pierre 32cddc725b mirror flicker fix 2 2026-04-19 16:21:30 -07:00
Irastris 054c4384be Gyro: Add Subjectivity ProcIDs 2026-04-17 17:13:12 -04:00
MelonSpeedruns 83b210e26c Widescreen minigame counters 2026-04-14 15:10:28 -04:00
MelonSpeedruns d865c82f76 Added howling anywhere (R+X) 2026-04-13 18:08:05 -04:00
MelonSpeedruns 277d16c110 Time Stones Feature 2026-04-13 10:46:09 -04:00
TakaRikka c6fd502d01 Merge https://github.com/zeldaret/tp 2026-04-13 01:44:04 -07:00
TakaRikka b4ca7304a0 cat door cleanup (#3155) 2026-04-13 01:42:10 -07:00
YunataSavior 16241b45a6 Fix MDH cat door opening
* Needs to be upstreamed

Fixes #182
2026-04-13 00:44:18 -07:00
Irastris b5bb6bf53a Initial implementation of gyro aim 2026-04-12 14:58:16 -04:00
Irastris 0e2bd104b1 Frame interp: Fix Epona's reins 2026-04-11 21:45:54 -04:00
Howard Luck 83c6032c15 Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#3152) 2026-04-11 12:53:51 -07:00
Howard Luck 501f1c11d6 Fix daE_FB_c::mKeys array size on PC (#3151) 2026-04-11 12:52:48 -07:00
Howard Luck ef23a2294c Fix obj_maki_class::field_0x6f8 array size (#3149) 2026-04-11 12:51:20 -07:00
Howard Luck d0fa5f2675 Fix daNpcCoach_Attr_c::field_0x28 array size (#3148) 2026-04-11 12:50:50 -07:00
Pieter-Jan Briers 4698a889eb Fix daBaseNpc_c field_0x744 array size (#3154) 2026-04-11 12:37:32 -06:00
PJB3005 9704f32411 Merge remote-tracking branch 'decomp/main' 2026-04-11 19:59:09 +02:00
Howard Luck c51b8d0666 Fix daE_VA_c::mRopeCutStatus and va_tag_* array sizes (#325) 2026-04-11 19:49:52 +02:00
Howard Luck a8f4f44708 Fix daE_FB_c::mKeys array size on PC (#324) 2026-04-11 19:49:17 +02:00
Howard Luck ba9d5ba6c5 Fix obj_maki_class::field_0x6f8 array size (#322) 2026-04-11 19:48:47 +02:00
Pieter-Jan Briers a0e12c36e7 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 f735a07dca Fix daNpcCoach_Attr_c::field_0x28 array size (#320) 2026-04-11 17:33:27 +02:00
TakaRikka 6f793b0c42 henna ub fix (#3147) 2026-04-11 00:07:18 -07:00
Pieter-Jan Briers ba5799200e Fix field array size on field_0x50 (#3145)
UB caught by modern compilers, this fixes it.
2026-04-10 23:44:22 -07:00
Luke Street 8c07d8bb8e Fix npc_henna_class missing pointers 2026-04-11 00:30:40 -06:00
PJB3005 2edbcd6c65 Merge branch 'main' into 26-04-01-quick-transform 2026-04-02 20:35:49 +02:00
TakaRikka f04a0d2119 add enhancements menu tab 2026-04-02 03:11:58 -07:00
TakaRikka d5cd60cd0d Merge pull request #196 from TakaRikka/feature/camera-invert-option
Added camera invert X option to Tweaks menu
2026-04-01 18:30:35 -07:00
PJB3005 2c82fcb255 How did this compile on my branch but not here... (fix d_a_movie_player.h) 2026-04-01 23:48:45 +02:00