Commit Graph

119 Commits

Author SHA1 Message Date
wedarobi c20314cd1b jinjo saving: Fix jinjo unsynced display state (#310)
* jinjo saving: Fix jinjo unsynced display state when entering pause menu after triggering the failsafe

* jinjo saving: Can never be too careful

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>

---------

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>
2026-07-25 20:47:11 -03:00
wedarobi 0e89ee2fe2 Add jinjo saving support (finished) (#240)
* Add jinjo saving support

* Cleanup

* jinjo saving: Improve jiggy position lock, and update static vars on level change

* jinjo saving: Check if jiggy during actor search

* jinjo saving: Remove redundant var

* jinjo saving: Address an uncommon logic scenario that could confuse players, plus some cleanup

* jinjo saving: Cleanup

* jinjo saving: Account for the case where a save file already has the jinjo jiggy collected

Thanks iCloudius for pointing this out

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>

* jinjo saving: Update UI for the same case

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>

* jinjo saving: Extend "note saving" option in settings menu to control jinjo saving

* jinjo saving: Cleanup

* jinjo saving: Fix accidental regression preventing jiggy respawn

Thanks iCloudius for tracking it down.

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>

* jinjo saving: Add bounds checks for jinjoIdx

And remove some old declarations that went unused after removing the patch for chjiggy_update

* jinjo saving: Add support for mods that save jinjos in Grunty's Lair, like Jiggies of Time

Thanks iCloudius for the suggestion

* jinjo saving: Prevent conflicts with Furnace Fun and credits when saving lair jinjos

* jinjo saving: Fix missing jinjo sfx

Thanks BoozemanDoorslam for the report! A bit surprised this wasn't picked up on sooner

---------

Co-authored-by: iCloudius <102083937+Cloudydude@users.noreply.github.com>
2026-07-23 23:17:09 -03:00
Darío 136cc733f9 Move allocation of audio buffers from heap to static buffers. (#308) 2026-07-23 23:04:06 -03:00
Reonu d5446cfda5 Fix flying camera inversion not applying to the bee (#307) 2026-07-23 22:39:40 -03:00
Darío 10189f2cd4 Add small value to Orthographic projection's Z far. (#305) 2026-07-23 20:46:33 -03:00
Reonu b176a668f1 Fixed camera inversion ice key SNS cutscene issue (#304) 2026-07-23 18:47:16 +01:00
Reonu 3f5c39057f Add compiler flag to fix build on clang 22 (#303) 2026-07-23 17:48:09 +01:00
Bizzycola f16702e0ca Expose functions and events from note saving patches (#241) 2026-07-23 08:46:42 -03:00
Darío dc0d5adac4 Reset camera target when player exits climbing state with analog camera held. (#301) 2026-07-23 00:42:02 -03:00
Dario 80963dd419 Revert high-poly Banjo patch. Bring it back when heap allocation is expanded. 2026-01-29 19:57:05 -03:00
Dario 91d1e2d272 Add missing extern for high poly Banjo patch. 2026-01-28 18:24:19 -03:00
TSRStormed 2fc6e70cb5 Update lod_patches.c
Added default:
2026-01-25 19:48:53 -07:00
TSRStormed 9a0b944f35 Update lod_patches.c 2026-01-25 19:29:36 -07:00
TSRStormed 025215049a Update lod_patches.c
Add force high poly player bk
2026-01-25 18:49:59 -07:00
Dario 269d9bec93 Newline. 2026-01-25 20:48:59 -03:00
Dario 7cff85fa22 Run UI callbacks per frame. 2026-01-25 20:30:51 -03:00
Dario da393d7391 Add turning off state to christmas tree. 2026-01-24 15:08:25 -03:00
Dario 6708aab4a9 Lower interpolation threshold for first beach cutscene. Skip interpolation on lens flare when camera skips. 2026-01-23 22:20:45 -03:00
Dario dbfb6714a8 Lower interpolation threshold for fake ending cutscene. 2026-01-22 19:54:49 -03:00
Dario 44d0265852 Interpolate parade text. 2026-01-22 19:27:07 -03:00
Darío da24f09d16 Add tagging to marker that draws wood explosions and others. (#122) 2026-01-21 03:45:31 -05:00
Mr-Wiseguy df17e71f91 Enable extended addressing so mod memory works for graphics data 2026-01-20 18:15:05 -05:00
Darío 74d041fb05 Use the free function instead of clearing the snow count directly. (#121)
* Use the free function isntead of clearing the snow count directly.

* Also initialize the queue count to 0 if re-allocated.
2026-01-20 09:33:46 -05:00
Darío 2c1bd3a433 Add skinning data to Score3. (#118) 2026-01-19 20:43:39 -05:00
Darío 036aea9e7b Fix Seal Banjo interpolation. Also add exports for model skinning and transform Ids. (#117) 2026-01-19 20:05:57 -05:00
Darío 4272acf56d Interpolate water for the ending cutscene. (#116)
* Interpolate water for the ending cutscene.

* Fix comment.
2026-01-19 18:53:20 -05:00
Mr-Wiseguy 2350716cee Add export to get active note saving state 2026-01-19 14:45:02 -05:00
Darío a4df69231f Fix timings for dingpot cutscene. (#107)
* Fix timings for dingpot cutscene.

* Remove comment, adjust timing.

* Match spacing.
2026-01-18 20:50:36 -05:00
Darío d07c0f7e1b Do not interpolate player shadow on large surface changes. (#102)
* Do not interpolate player shadow on large surface changes.

* Update comment.
2026-01-18 20:49:49 -05:00
Reonu 1b90889a28 Analog camera sensitivity (#94)
* WIP analog camera sensitivity

* Fix implementation errors.

---------

Co-authored-by: Dario <dariosamo@gmail.com>
2026-01-17 20:55:52 -05:00
Darío 40f95cec35 Add per-axis deadzones to analog camera. Remove radial deadzone from Recomp's side. (#83) 2026-01-15 18:43:30 -05:00
Wiseguy 8d30916b24 Fix interpolation for text during scrolling (#76)
Co-authored-by: Dario <dariosamo@gmail.com>
2026-01-12 23:25:34 -05:00
Dario 8b616a6b48 Update RT64 with texcoord wraparound point. 2026-01-10 22:46:20 -03:00
Wiseguy a7d9673074 Replace duplicate Mumbo Token IDs (#72) 2026-01-10 19:07:54 -05:00
Darío 8d974506f1 Skip interpolation when the hut switches to its destroyed state. (#68) 2026-01-10 13:22:15 -05:00
Darío 5765a4d1e5 Hide bull actors during the intro cutscene. (#57)
Co-authored-by: Reonu <reonuyt@gmail.com>
2026-01-08 15:46:23 -05:00
Reonu b1e0b41006 Fix intro cutscene timings (#56)
* Fix intro cutscene timings

* Address review

* Move code to individual functions

* address review

* Fix comments
2026-01-07 22:41:26 -05:00
Darío 5fefef83a2 Add vertex position overrides for water mesh in TTC. (#51)
* Add vertex position overrides for water mesh in TTC.

* Fix missing geometry.

* Change asset ID.

* Fix iterators.

* Add bounds check.

* Fix shrapnel by unconditionally setting up skinning data.
2026-01-07 21:24:11 -05:00
Reonu 1556a4def2 Fix bgm slider (#54)
* Fix BGM slider muting some SFXs

* formatting

* actually fix BGM slider
2026-01-07 20:58:55 -05:00
Darío 1cce665d7e Supress right analog sticks on btrot and wonderwing states. (#55) 2026-01-07 20:58:25 -05:00
Reonu aab05dfba8 Fix typo on recomp comment in christmas tree patch (#53) 2026-01-07 14:38:58 -05:00
Reonu f189fae8a7 Add -Werror=pointer-bool-conversion to patches makefile (#45) 2026-01-06 20:21:31 -05:00
Darío 768de1bda4 Manual vertex velocity computation. (#46)
* Update RT64 for vertex velocity segment support.

* Switch to using extended velocity data for CPU skinning.

* Integrate actor tracking into vertex velocity calculation

* Add vertex velocity calculation to overlay draws (e.g. Clanker)

---------

Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2026-01-06 20:21:15 -05:00
Darío e91aa09cb3 Don't return right analog inputs while input is disabled. (#47)
* Don't return right analog inputs while input is disabled.

* Update comment.
2026-01-05 20:01:09 -05:00
Reonu aff9ae0ba9 Fix HFR issues with xmas tree (#37)
* Fix xmas tree in HFR

* Add missing comment
2026-01-04 18:35:30 -05:00
Reonu c5ecd25a20 Add and implement all remaining axis inversion settings (#41)
* Add and implement all remaining axis inversion settings

* Improve third person inversion description, move enum

* Fix X axis inversion with analog camera

* formatting

* Remove boot map patch + fix newlines

* invert vanilla camera properly

* Fix comment

* add more comments

* fix demos and add wrapper functions

* rename analog camera mode to third person camera mode

* Fix first person Y inversion for demos (oops)

* Change phrasing

* reorder options
2026-01-04 18:07:29 -05:00
Reonu edfbe9f2fd Fix inconsistent intro skip delay (#40) 2026-01-03 23:09:50 -05:00
Reonu 1b46890056 rename cur_drawn_model_transform_id_skip_interpolation (#38) 2026-01-03 17:52:01 -05:00
Darío d26d18b373 UI Submodule Refactor (#32)
* Added recompui::IconButton

* Remove zelda themed input mapping visualization

* update toggle

* grayscale overlay colors

* recompui::theme namespace + border constants

* added ui_binding_button element

* Initial support for multiple controllers. (#3)

* Support for multiple controllers.

* Fix default bindings.

* Backwards compatibility with controls from previous version.

* WIP code driven input mapping and player assignment

* button press anims & temp reassignment state when opening assignment modal

* set base opacity for disable state getting re-enabled

* generic PlayerCard for both main Controls and assignment modal

* wip ui_select recompui component

* Add Input Profiles. (#4)

* Add Input Profiles.

* Add capability of setting custom profiles.

* Remove leftover early return.

* button sizes and annotation update

* flex wrap and context root being assets

* controls page multi vs single views

* ability to reparent elements

* ability to rotate elements

* added functional caret to Select component

* smaller edit profile button

* select fixes and player profile assignment

* pointer events property support and apply ptr events None to select arrow svg

* init mp kb mappings to be unmapped

* wire up selected profile's bindings

* reimplement binding system in new menu

* clear and reset input bindings implemented

* remove deprecated controls panel

* changes up to swapping to recompfrontend library

* switch ui/input to be using recompfrontend library (unfinished)

* register main font with recompui

* Changes for recompui built in default scss

* launcher + custom background

* update modern runtime for recompui

* Update N64ModernRuntime for recompui config changes

* Added RecordSpinner icon

* Added PlusKeyboard icon

* remove sass and rml

* single player + theme update

* Delete Rmlui and lunasvg from being dependencies.

* Update recomp frontend commit.

* Remove lunasvg and rmlui submodules.

* Update recomp frontend.

* Move findfreetype.

* Remove freetype windows binaries.

* More updates.

* Update frontend.

* It builds.

* Update frontend.

* Update runtime and frontend.

* Update frontend and RT64.

* Get rid of SDL2 path from recomp frontend.

* Update runtime and frontend and fix link order to fix Linux building

* Update frontend and remove gyro and mouse sensitivity options

* Update frontend to fix open menu button on controllers

---------

Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2026-01-03 16:44:58 -05:00
Reonu 7cd1cc8175 Add a 1 second delay for skipping the intro (#36)
* Add 1 second delay for skipping the intro

* Give a better name to the intro frame counter var

* Fix accidental formatting change
2026-01-02 18:52:38 -05:00