summaryrefslogtreecommitdiff
path: root/soh/src/code
AgeCommit message (Collapse)Author
2022-12-13Always use authentic cache policy for replaced seqs (#2176)Christopher Leggett
2022-12-12Prevents autosave during Ganon fight. (#2163)Christopher Leggett
* Prevents autosave during Ganon fight. * Removes unnecessary switch case.
2022-12-12improving free cam settings configurability (#1987)frizzle101101
* Initial camera distance slider * works with freecam * improving the settings configurability, adding distance slider and transition speed for the free camera adding seperate sensitivity and invert settings for aiming/first person camera * spelling * tooltip msg on camera invvert * typos * removing the original free camera checkbox in experimental menu * adding name change to new presets file Co-authored-by: RaelCappra <rael.cappra@gmail.com>
2022-12-12added fix option to fix camera swing; (#1992)frizzle101101
* added fix option to fix camera swing; Fixes camera getting stuck on collision when standing still, also fixes slight shift back in camera when stop moving * add option to fix hang off ledge swing rate; Fixes camera swing rate when player falls of a ledge and camera swings around * adding camera fixes to preset list
2022-12-12Fixes crash due to OOB soundfont access. (#2157)Christopher Leggett
2022-12-10Don't autosave immediately after purchasing from a shop (#2079)Josh Bodner
2022-12-10Gameplay stats 1.1 (#2129)Sarge-117
2022-12-09fix: prevent oob access of sequenceMap (#2123)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-12-08Cosmetic Editor v3 (#1898)Garrett Cox
* Cosmetic Editor v3 * Workaround for cvar_clear not working correctly * Nest RGBA values under Value key * Implement arrow cosmetics * Implement keese cosmetics * Tweaks to life meter * Implement file choose color * Remove old title fire colors * A few more silly things * Fix from upstream pulls * Fix hilts and sword during ganon cutscene * Add slingshot * Add metal trap and red ice * Add iron knuckles cosmetics * Add navi cosmetics * Attempt to fix linux error * adjust some comments and alignment * Implement trails cosmetics * Implement charged sword spins * Comment out options that haven't been implemented * Fix exploded rupee color in shooting gallery * Add two silly options * Add comments and minor changes from feedback * Adjust comment about boomerang gem * Gracefully handle chest textures missing
2022-12-08Custom Sequences (#2066)Christopher Leggett
* Allows OTRExporter to parse pairs of .seq and .meta files * Gets added sequences available to SfxEditor and playing in game. * Some cleanup of the names appearing in the SfxEditor. * Moves sequence swap lower in the audio command stack. * Increases temp cache memory available on title/file-select screen. Certain sequences wouldn't play on the file select and title screen because they were too large to be cached. * Introduces workaround for 255 sequence limit. * Bug fixes and cleanup. * Fixes bug where fanfares would sometimes disable the sequence player. * Fixes bug causing certain areas to discard caches when loading enemy music. * Fixes potential config-related crash by replacing invalid characters. * Allows custom bgm to play in all BGM categories. * Properly randomizes the custom tracks. * Moves custom sequences to a patch OTR. * If custom music was not loaded, fall back to default values. * Prevents OOB crash on Synthwave array and adds octave drop feature. Added octave drop to experimental features, which drops the octave of a note that is too high for the audio engine to actually play. Without this, some custom sequences have notes which cap at a specific value and sound terrible. At least with this they will still harmonize with the other notes. Experimental tab added to the SfxEditor to house the checkbox for the octave drop feature. * Adds more pool memory for a few tracks that couldn't fit. * Some cleanup on the generated music archive process. * Fixes missed memory boost from earlier. * Adds ability to remove enemy proximity music. * Applies correct cache policy to fanfares to prevent unloading sequences. * Removes case-sensitiveness of the sequence type. * Fixes not reverting to sequence after miniboss. * Fixes transition to/from miniboss (again) and ocarina bug. To be clear, fixes the more rampant portable ocarina bug present in my earlier builds, not the authentic one. * Finally properly fixes transitions between sequences For miniboss fights and SfxEditor previews. * Removes unneeded boolean expression. * Adds randomize button to individual SFX Editor entries. * Fixes lost woods music overwriting goron city music. * Plays swapped Hyrule Field music when transitioning to daytime. * Fixes swapping Gerudo Valley music when transitioning from daytime. * Updates custom sequence OTRPath to match SequenceOTRizer. * Reverts changes to OTRExporter in favor of external tool * Fixes formatting issues. * Attempts to fix formatting issue in git diff. * Should actually fix formatting issues. * Should fix mac/linux exclusive build error. * Fixes segfault on macos. * sort custom seqs * Fixes audioseq crash when under 255 seqs * Removes magic numbers. * Removes commented out code. * fixes formatting in SfxEditor.h Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> * Cleans up the one hardcoded QueueSeqCmd call. * Fixes unneeded erroneous memory boost applied earlier. * Applies additional formatting/cleanliness suggestions from review * Fixes small logic bug Co-authored-by: RaelCappra <rael.cappra@gmail.com> Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
2022-12-08fix: ensure `play` isn't null when reading from it (#2115)briaguya
Co-authored-by: briaguya <briaguya>
2022-12-06Rando: Entrance Tracker v1 (#2005)Adam Bird
* initial pass for entrance tracker * add search meta tags to entrance tracker data; clear entrance tracker on title screen * rename to use playstate/play * fix lus imports * move discovered entrance info to SohStats struct * Add scene info and highlighting to entrance tracker * hide undiscovered text when searching * add comments for entrance tracker * fix merge conflict error * account for zora river -> hyrule field water entrance in tracker * fix assignement error * remove unneeded defaults from debug file init * adjust entrance tracker settings and add more search tags * convert magic numbers to defines; add more comments to entrance tracker; clarify variable names * add reverse index to entrance tracker data to compare with instead of using strings * rename variables
2022-12-06Merge branch 'develop-flynn' into flynn-to-devbriaguya
2022-12-07[Feature] Entrance Rando v2 (#2071)Adam Bird
2022-12-06[Feature] Rando: Enemy Randomizer V1 (#1781)aMannus
2022-12-06use enum for boss keysanity (#2096)briaguya
* use enum for boss keysanity * merge Co-authored-by: briaguya <briaguya@alice>
2022-12-06use enum values for maps and compasses (#2086)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-12-06use enum for language (#2097)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-12-06use enum for starting age (#2085)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-12-04Don't autosave after obtaining bombchus if bombchu drops are enabled (#2077)Josh Bodner
2022-12-04Don't autosave in the Chamber of Sages (#2076)Josh Bodner
2022-12-04Disable bunny hood NPC interactions with MM bunny hood on (#2058)aMannus
* Disable bunny hood NPC interactions * Enum
2022-11-29use trial enum instead of magic numbers (#2039)briaguya
* use trial enum instead of magic numbers * simplify trial count/random trial logic * set default to set number Co-authored-by: briaguya <briaguya@alice>
2022-11-30use forest enum values instead of magic numbers (#2038)briaguya
2022-11-30use enum for keysanity (#2044)briaguya
2022-11-30use enum for ganon's boss key (#2046)briaguya
2022-11-30Use enum for links pocket, dungeon reward shuffle (#2045)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-11-30Use enum for kak gate (#2043)briaguya
Co-authored-by: briaguya <briaguya@alice> Co-authored-by: David Chavez <david@dcvz.io>
2022-11-30Use gerudo fortress enum (#2040)briaguya
Co-authored-by: briaguya <briaguya@alice>
2022-11-30[docs] Pull upstream updates: SetupDL (#2048)Garrett Cox
2022-11-30[docs] Upstream updates 1 (#1955)Garrett Cox
* First round of upstream updates and commenting patternss * Renames from z64player * Renames from z64save * Undo changes to legacy save struct * Add missing reference from entrance rando * Fixes from stat tracker * More tweaks
2022-11-28fix: rando door of time enum usage (#2032)briaguya
2022-11-23Fix C-button counts and ice trap count (#2009)Sarge-117
2022-11-22Gameplay Stat Tracker V1 (#1986)Sarge-117
* First test of gathering some gameplay stats * timer changes and other stuff * Move code to new files + rename * Name change - gamePlayStats * Finish rename, remove n64ddFlag checks * Improve item get times * Better time tracking, more stats, * Put button under Enhancements * Fix merge conflict * Add pauseCount, fix bug with rando items * Adjust inits/declarations * step counter * Name change: "itemGetTime" to "timestamp" * Tidying + CI test * Set up array for stat counts * Macro #define GAMEPLAYSTAT_TOTAL_TIME (gSaveContext.gameplayStats.playTimer / 2 + gSaveContext.gameplayStats.pauseTimer / 3) * Add boss defeat timestamps * Add sword swings, pots broken, bushes cut * fix int type * Add counts for enemies defeated Broken down by enemy, with a total * Add ammo used * Hide breakdowns until count > 0 * Forgot Big Octo * Count chests opened * Update after LUS submodule * Enemy count spacing * Comments * Count 3 mini Floormasters as 1 Floormaster + some cleanup * Comments * Colour coding for timestamps on quest items i.e. medallions/stones/songs * Move stat into the sohStats struct + rearrange the counts enum for easier addition of future counts * Some documentation + count button presses * Stop counting button presses when Ganon defeated * Couple bugfixes Add count for Gerudo Thief, fix step counter counting in some situations where it shouldn't * Fix comment
2022-11-22[Enhancement] Add fix camera drift option to fixes menu (#1983)frizzle101101
2022-11-18Fix credits timing (#1254)Josh Bodner
* Fix credits timing * Add documentation * Fix typo
2022-11-16Implement option to start with a specific number of skulltula tokens (#1967)Garrett Cox
2022-11-14update lus (#1965)briaguya
* update lus * rename things to fix build Co-authored-by: briaguya <briaguya@alice>
2022-11-14Prevent autosave when first loading a file (#1792)Josh Bodner
2022-11-14Cheat: Switch Age and Reload Link (#1963)briaguya
* Added button to switch age * Added logic to switch link's age Reloads link from last entrance he went through once his age is switched. * Link now respawns where he last was * Update game.c * move setting to GameMenuBar.cpp, fix build issues Co-authored-by: Jake Edvenson <77412657+JakeEdvenson@users.noreply.github.com> Co-authored-by: briaguya <briaguya@alice>
2022-11-14Fixes most known bugs associated with FreeCam (#1960)RaelCappra
* Fixes most known bugs associated with FreeCam Co-authored-by: MelonSpeedruns <melonspeedruns@outlook.com> * Address review suggestions Co-authored-by: MelonSpeedruns <melonspeedruns@outlook.com>
2022-11-14Entrance Rando (#1760)Adam Bird
2022-11-14Import libultraship as a submodule (#1943)briaguya
Co-authored-by: briaguya <briaguya> Co-authored-by: Christopher Leggett <chris@leggett.dev> Co-authored-by: David Chavez <davi@dcvz.io>
2022-11-06Use PlayState instead of GlobalContext (#1927)Garrett Cox
* Use PlayState instead of GlobalContext - GlobalContext -> PlayState - globalCtx -> play - GlobalCtx -> PlayState - globalContext -> playState * Find and replace Gameplay_ with Play_ * Correct some misnamed argument cases
2022-11-05Fix copy/paste for ganons castle keyring (#1916)Garrett Cox
2022-11-04handle keyrings on sohStats (#1911)Garrett Cox
2022-11-03Change lineup tick default to off (#1899)Garrett Cox
2022-11-02Add glitch line-up tick option (#1875)Garrett Cox
2022-11-02Track keys, heart pieces, and heart containers collected (#1849)Garrett Cox
* Track keys, heart pieces, and heart containers collected * Update soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp
2022-11-02Sfx Editor - 3rd Pass (#1873)Garrett Cox
* First pass on SFX Editor * Fix crash at night in Colossus (and probably other undocumented issues) The SFX editor was swapping out the bytes corresponding to the sequence to be played regardless of the audio command being issued. This fix ensures the swap will only happen on commands which actually treat those bytes as a sequence identifier. * enabling a few more songs/fanfares * Removing a few broken bgms, fixing the preview button returning to the wrong bgm * Fixes restoration from miniboss music to previous one * add timed minigame into the sounds pool * A few small tweaks * More cleanup and add instruments * adjust usage of getReverseReplacementSeq * Changes from feedback and prefix external methods with SfxEditor Co-authored-by: RaelCappra <rael.cappra@gmail.com>