summaryrefslogtreecommitdiff
path: root/soh/src/code
AgeCommit message (Collapse)Author
2023-02-28[Accessibility] Add ability to disable camera re-centering on idle (#2503)David Chavez
* Add ability to disable camera recentering on idle * Remove platform check * Update else camera comment
2023-02-28Rando version warning on different builds (#2420)Adam Bird
* save build version to savefile * adjust rando hash icons to use fade in/out * add dialog message support on the file select screen and display rando version warning * remove duplicated message functions and use stubbed play state instead for rando warning * add major/minor/patch version saving to file and compare against * use strncpy and memset for build version * don't show rando warning one copy/erase screens * review feedback * Add german and french translations for rando warning Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com> --------- Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
2023-02-28[GameInteractor] Introduce GameFrameUpdate Hook and Migrate Cheats (#2554)David Chavez
2023-02-28Change autosave to use dropdown (#2550)Josh Bodner
2023-02-26[Game Interactor] Add LoadGame and ExitGame hooks (#2542)Adam Bird
* add loadgame/exitgame GI hooks * implement loadgame/exitgame hooks in game code * move entrance tracker data lifecycle to hooks * update cosmetic editor to update onloadgame hook
2023-02-26add greg to gameplay stats (#2544)briaguya
Co-authored-by: briaguya <briaguya>
2023-02-23Fix Lakeside Laboratory title card (#2501)Amaro Martínez
2023-02-17gibbs -> devbriaguya
2023-02-16you found greg! (#2458)briaguya
adds greg to the item tracker --------- Co-authored-by: briaguya <briaguya@alice>
2023-02-16don't show duped sequence names, don't repeat track intros on barinade (#2482)briaguya
* better fix for repeated sequence names, add delay to fix repeated bgm on barinade --------- Co-authored-by: briaguya <briaguya@alice>
2023-02-16exclude audio from shuffle (#2411)briaguya
* Rename "SFX Editor" to "Audio Editor" * Move some functionality out into a new class `AudioCollection` * Add a tab to exclude sfx/sequences from shuffle pool --------- Co-authored-by: briaguya <briaguya@alice> Co-authored-by: briaguya <briaguya> Co-authored-by: David Chavez <david@dcvz.io>
2023-02-15Separate X/Y axis sensitivity sliders (#2472)Bigs
* Update z_camera.c * Update GameControlEditor.cpp * Update GameControlEditor.cpp * Update GameControlEditor.cpp Adding Sliders for first person X and Y axis * Update z_player.c Modified variables to allowed separate sensitivity settings for x and y axis
2023-02-15[GameInteractor] Game Hooks (#2481)David Chavez
2023-02-14Option for link's models reflect the projectile weapon he's holding ↵Cardboy777
(Bow/Slingshot) (#2454) * Link's models reflect the projectile weapon he's holding extracted logic from months-old PR * apply bow/slingshot model changes only if 'gBowSlingShotAmmoFix' is enabled * Apply suggestions from code review Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> * whitespace --------- Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
2023-02-13Fix: Rando settings not being initialized in time (#2461)Adam Bird
* fix entrance init and entrance tracker not working properly when no spoiler log is loaded * fix rando adult trade spoilable items reverting when no spoiler log loaded
2023-01-30Rumble and check tracker fixes (#2419)Sirius902
* Fix rumble * Fix check tracker crash
2023-01-26Debug camera (#2400)Kenix3
* Moves SoH mixer to SoH from LUS. * Debug camera now works in SoH, but mempak saving does not (yet). * Debug camera is now enabled/disabled based on the gDebugEnabled cvar. * Updates OTRGlobals comments * Updates OTRGlobals comments
2023-01-25Implement GameInteractor & move CrowdControl and console commands to it (#2358)aMannus
* Begin GameInteractor * Basic skeleton of PoC * WIP * First 2 CC effects transitioned to GameInteractor * Prepare GameInteractor classes for CrowdControl * More effects & replace chaosEffects with GameInteractor * CC connection fixes & all CC effects (enemy spawns still borked) * First couple of build error fixes * Fix build * Proper enemy spawning * Clean up old CC code * Extract link size/invisibility into GameInteractor * Small fix/cleanup * Suggestions for PR * Address PR comment * Addressed more comments & small adjustments * Fix crash when spawning enemies * Remove Remove() * Move checks into Apply() and move CC and some console commands to it * Use inheritance to abstract check on application * Rename prefix Actions with RawAction * Make Remove return a Result * Fix issue with compilation * debugconsole -> GameInteractionEffects progress * Add State in GI * Unify some Effects * Port more debug console items * Remove state modifyiers from raw actions * Port over last raw action / state in console * Adjust some types * Consolidate link size modifier effect * Adjust more types * Define category strings in CC * Clean up remaining non defined strings * Fix bug in timed effects * Rename old pack * CC fixes * Translate GI enum function * Console cleanup/fixes/consistency Co-authored-by: David Chavez <david@dcvz.io>
2023-01-25Add faster farores enhancement (#2394)Garrett Cox
* Add faster farores enhancement * Add preset entry
2023-01-25Enhancement: Better Farore's Wind (#2374)Ralphie Morell
* Updated SaveManager, SaveContext; lifted restriction from gtg and ganon's castle; disabled clearing fw during master sword lift; added checkbox * increment load version (whoops); clear age fw after use * beef up fw console handler (for testing) * Simplify better FW (2 copies > 1 copy) * Apply suggestions * whoops
2023-01-23Don't require input for credits textboxes (#2193)Garrett Cox
* Don't require input for credits textboxes * Use cvar instead of rando flag
2023-01-23Add cheat for extending hookshot reach (#2178)Garrett Cox
* Add cheat for extending hookshot reach * Adjust cvar usage
2023-01-23fix mido spawn for dungeon entrance rando (#2384)Adam Bird
2023-01-21Full health spawn (#2377)briaguya
* full health spawn Co-authored-by: MoriyaFaith <46070717+MoriyaFaith@users.noreply.github.com> * add enahancement to gamemenubar, update to use new cvar method names, simplify save loading logic so loading a save with less than 3 hearts spawns with full hearts with enhancement enabled instead of spawing with 3 * formatting Co-authored-by: MoriyaFaith <46070717+MoriyaFaith@users.noreply.github.com>
2023-01-21Rando - Ganon & Ganondorf cutscene skips (#2321)aMannus
* Ganon(dorf) cutscene skips * Remove leftover code * Comment out the Ganondorf dying cutscene skip
2023-01-20Enhancement: Adds Slider for Duration of Sequence Names on the Overlay (#2375)Christopher Leggett
* New function: overlay text duration in seconds. `Overlay_DisplayText` took a float as an argument, with no clear indication of what that float represented. That float also evaluates to different durations given different frame rates. However, since we know what the frame rate should be at any given time (since it's stored in a CVar) we can calculate what this duration should be based on the number of seconds we want the overlay to be displayed. That's what `Overlay_DisplayText_Seconds` does. * Adds Slider for Overlay Sequence Name Durations
2023-01-20Rando: Boss Entrance Shuffle (#2194)Adam Bird
* sync 3ds upstream logic changes for boss rooms * add boss shuffle settings and handling to 3ds code * add boss shuffle handling to game code * repair authentically bugged entrances for boss shuffle * add boss entrances to the entrance tracker * unset hint area for boss rooms to fix altar hint * update boss reward hints to not mention dungeons * one more boss heart container hint fix * reorder entrance rando funcs * support closed forest with boss shuffle and simple boss room entrance pairs in shuffle table * fix death warp in boss rooms without saving; fix KD boss room in tracker * remove boss shuffle check from dungeon open checks and some cleanups * add boss shuffle to preset clear * remove dungeon entry exit connection from boss rooms * another no hint fix for boss shuffle * undo change for exact location hints * clarify comments
2023-01-19Rando: Misc. Hints (#1947)Ralphie Morell
* Added too much * Added 3d settings and brought over to soh * fixed conditionals for replacing LA hint * whoops * Finshed making settings consistent; minor text edit * fix leftovers from adding warp hints * more fixes from merge * fix skull hint messages * Added fire temple goron junk hints; menu stuff * Address feedback * Added optional scrub text * whoops * Add hint cvars to clear preset func * whoops again * whoops the third * ADD: French Pass * FIXED: Dampe + Skull Reward * TWEAK: German skulltula hint * TWEAK: French oopsie * Address feedback * whoops * remove "staticness" from altar/ganon text funcs * ADD: German * actually add warp song hints to things; always generate ganon hint and let OTRGlobals handle showing it * Fix CVar Getters * whoops * for real this time * Actually implemented scrub text in 3d rando Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
2023-01-19Add Starting Songs Option (#2221)Patrick12115
2023-01-19Adds option for showing sequence names on the overlay (#2237)Christopher Leggett
* Adds option for showing sequence names on the overlay Allows sequences to appear on the overlay in the bottom right corner for a few seconds whenever a new one is loaded into the primary sequence player. This means it does not apply to fanfares or enemy bgm. Fanfares I chose not to display because it would cause a lot of text to display back to back in some areas, and enemy bgm would have some technical challenges with this due to the way it loads. Mainly because the Lost Woods music would load in Goron City the same way (as well as the opposite). * Fixes crash when a sequence without a name is attempted to be displayed. * Removes accidentally committed CMakeSettings.json * Updates CVar_GetS32 to CVarGetInteger
2023-01-19documentation: use `NpcInteractInfo` from zret (#2370)briaguya
2023-01-17Moves SoH mixer to SoH from LUS. (#2361)Kenix3
2023-01-17Merge branch 'develop' into bradmergebriaguya
2023-01-17fix top left dungeon entrance icon in graveyard (#2303)briaguya
Co-authored-by: briaguya <briaguya>
2023-01-17Disable BEL char by default when terminal attached (#2306)Amaro Martínez
2023-01-17Rando: Adjust locked door logic for temples and give starting keys for MQ ↵Adam Bird
Spirit (#2343)
2023-01-17refactor: use LUS 1.0 RCbriaguya
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com> Co-authored-by: David Chavez <david@dcvz.io> Co-authored-by: KiritoDv <kiritodev01@gmail.com> Co-authored-by: Christopher Leggett <chris@leggett.dev>
2022-12-26fix: make fisherman rumble text work (#2279)briaguya
we weren't correctly setting the pakType in padMgr because the depreciated `gRumbleEnabled` cvar was being checked
2022-12-23Fix common enemy rando crashes (#2242)aMannus
2022-12-21Fix ice trap particles (#2229)aMannus
2022-12-21Fix particle regression (#2228)aMannus
2022-12-21Fix crash on mac with custom sequences (#2226)Garrett Cox
2022-12-20Rando - Fix ice traps & get item logic (#2210)aMannus
* Fix ice traps & get item logic * Fix shop keepers & more draw logic cleanup
2022-12-20Fix cosmetic oob hacks (#2211)Garrett Cox
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