summaryrefslogtreecommitdiff
path: root/soh/src/code/z_actor.c
AgeCommit message (Collapse)Author
2026-03-26Move retrieval of dbEntry after Actor_Destroy (#6410)Christopher Leggett
Before I had the change back to the placeholder actor id the Dummy Player actors were spawned with, but since we grabbed the actorDB entry before Actor_Destroy was called it didn't matter. Move it and the requisite log statement to after Actor_Destroy.
2026-03-23Enemy rando: don't mutate ActorEntry (#6400)Philip Dubé
2026-03-21Enemy rando cleanup 2 (#6365)Pepe20129
Move stuff to main file, delete header & refactor lists
2026-03-17Enemy rando cleanup (#6327)Pepe20129
Change Actor_SpawnEntry to use VB Move adult zelda collapse stalfos to a explicit hook Move dark link to a explicit hook Some more canRandomize that were not needed Move bg_haka & bg_haka_tubo to explicit hooks Move en_vali to an explicit hook Move bg_mori_bigst to an explicit hook Fix door opening before the enemies are killed Remove `canRandomize` parameter Move bg_haka_huta to explicit hooks
2026-01-05Enable Battle Music for Leever option + Modularize EnemyBGMDisable (#5985)nclok1405
Add "Enable Enemy Proximity Music for Leever" option + Modularize EnemyBGMDisable
2026-01-03Allow Enemy Randomizer in Debug Save (#5841)nclok1405
2025-11-08Various hooks to support anchor (#5929)Garrett Cox
2025-07-01Spirit Flags (#5631)Philip Dubé
1. skip cutscene delay for sun on floor & sun on block 2. persist sun on floor temp flag 3. persist big mirror being solved before platform lowered 2 removes need for weird bomb key logic 3 needed for shuffle doors
2025-07-01CrowdControl additions & improvements (#5104)aMannus
* CrowdControl additions & improvements * Update after dev merge * clang format * Revert "clang format" This reverts commit 1be5ad18f5995792971fa0a1772109b0157817b4. * clang format
2025-06-11Convert actor health bars to use ObjectExtension (#5565)Rozelette
2025-05-23Rework ActorViewer to use hooks (#5474)Rozelette
* Rework ActorViewer to use hooks * Rework ActorViewer to use hooks * Remove ResetData
2025-05-23Add ObjectExtension system (#5429)Rozelette
2025-05-17port over nametag improvements from 2ship (#5160)Archez
2025-04-01Apply clang-format to files (#5273)Archez
2025-03-30NTSC Support (N64) (#4198)inspectredc
* copy n64 pal 10 doing this so i can check diffs i make * transfer german->jp icon item * overlays, message data, icon item jpn, audio, code todo: title_static, gameplay keep * add kanji and fix title cards * title static * spell folder correctly * boss title cards, do action, icon item, item name, map name * headers for jpn stuff * gameplay_keep * Scenes, audio, jp text extraction, rom support, overlay fixes, sheik & darunia todo: test & disable darunia fix cvar for ntsc * msgptr init fix * icon item offsets * comment out title cards until zapd can fix itself (we extract these in a different file anyway) * compile and font implemented to get past title screen * file select * message, kaleido and everything else but rando * uintptr_t * rando and custom messages working! * ntsc-j 1.0 support * n64 logo? * copy ntsc 10 to 11 * ntsc 11 extraction * change title version names * copy ntsc 11 to 12 * ntsc 12 extraction * clean up some todos * re checkout submodules post merge * fix US filename * support cross-version filenames * add new versions to non-mq list * use correct message table init * Fix ntsc nes message table overriding pal nes message table * actual fix, allows extraction * fix file name using wrong font of file being hovered over * Fix barinade crash * re-add pal * better jabu fix and revert LUS * fix gerudo title cards * better better owl select * more owl fixes * build * fix some name decode issues * Switch Language Mid Text * Fix PAL displaying for JP filenames * Fix AskToEquip Crash * Disable Credits Timing Fix on NTSC * Fix JP Text positioning * basic language switching (BIG todo: file select, title screen) * Title Screen Hopefully working * add ntsc to linux appimage stuff, TODO: add .v64/.n64 support * Update OTRExporter * Fix pause to decide offset * Fix bomb item name crash * fix fire arrows and PoH * builds * update asset changes and fix menu language changing * fix name decode * Fix crashes and add rando/boss rush select stuff * Revive debug feature by setting language cvar too * Fix ocarina text speed softlock, and update jp text speed changes * Merge remote-tracking branch 'upstream/develop' into NTSC * Fix options menu and let pal use japanese fully * Resolve some suggestions * match up gTextSpeed changes to english (still broken!) * Fix text speed crash * Set default filename language on save init funcs * bump otrexporter * Display same correct info for n64 ntsc-j and ntsc-u * quicktext more closely aligned with decomp * linux appimage v64/n64 checksums * bump zapd * Credits Fix Tooltip Adjusted * update supported hashes json * update shasums to include JP n64
2025-02-12Created and implemented PosType enum (#5046)Miles Acquaviva
* Created and implemented PosType enum * fixed formatting --------- Co-authored-by: link5669 <acqmiles@gmail.com>
2025-01-16Update Actor Flags to decomp (#4822)Pepper0ni
2025-01-15Organize ship specific save context additions (#4597)Pepe20129
* Basic restructure * Undo most randomizerInf changes for now * Small fixes * Fix linux & mac builds? * Fix remnants of randomizerInf changes * Post-merge fix * Post-merge fix
2024-12-14Rename a lot of actor movement-related functions from decomp (#4680)Jordan Longstaff
2024-12-13Rename two Actor functions from decomp (#4674)Jordan Longstaff
2024-12-09Name alpha-distance update function from decomp (#4658)Jordan Longstaff
2024-12-02Adjust Actor_GetProjectileActor to behave more like hardware, fixing an ↵Garrett Cox
issue with Dark Link (#4606)
2024-11-26Cosmetics Changes (#4275)Pepe20129
* Clean CosmeticsEditor.h * Add CosmeticsEditor_GetDefaultValue * Add message text cosmetics * Format cleanup * Remove dependency on 3drando random functions * Fix rainbow for every cosmetic * Add "Rainbow All" & "Un-Rainbow All" * Add HookshotChain cosmetic * Add Nayru's cosmetics * Add Farore's cosmetics * Add Din's cosmetics * Add Title card cosmetics * Update CosmeticsEditor.cpp * Add Copyright text cosmetic
2024-11-19OTRGlobals cleanup (#4251)Pepe20129
* Remove unused headers * Move all "ResourceMgr_" functions to a new file * Don't transitively include SaveManager * Move cvar prefixes to a new header * Add missing includes * Update OTRGlobals.cpp * Fix build * Address review * Fix some of the errors * Update gameplaystats.h * Update z_en_in.c * Hopefully fix the linux issues * Fix Linux issues for real this time, I checked * Update ResourceManagerHelpers.cpp * Update z_obj_mure2.c * Post-merge fixes * Fix build (hopefully) * Post-merge fixes * Update z_file_nameset_PAL.c * cleanup some unnecessary headers (#7) --------- Co-authored-by: Archez <Archez@users.noreply.github.com>
2024-11-08Update SFX symbols from decomp (#4531)Jordan Longstaff
2024-10-21Modify all (4) instances of `Flags_GetRandomizerInf()` returns that were u8 ↵Malkierian
to s32 to avoid value overflow. (#4463)
2024-10-17`z_player` documentation 2024-10-11 (#4407)Pepe20129
* Add names to start of typedefs * Idle stuff * 2 functions * Player state flags * Name functions + misc * ActionChange => ActionHandler * Some player unks * More player unks * Header misc * Misc * More misc * Player Actions * Missed comments * Move ship specific stuff * Fix build * CsCmdActorAction to CsCmdActorCue * Fix build
2024-10-10Port pause menu framebuffer handling from 2Ship (#4346)Archez
* bring over framebuffer effects methods * Implement framebuffer capture and drawing for pause menu * revert hookshot and title cards to draw using original buffers * remove old game over crash fix * Adjust mirror mode handling for kaleido * Avoid flashing the hud when pausing
2024-08-14Merge remote-tracking branch 'origin/develop' into develop->develop-randoArchez
2024-08-13Merge remote-tracking branch 'origin/develop' into macready-golf-mergeArchez
2024-08-12Tweak: Implement better extended culling options (#4285)Archez
* implement better culling * change draw distance to a slider * remove testing code * tweak
2024-05-05Merge branch 'develop' of github.com:Malkierian/Shipwright into dev-to-rando-5-5Malkierian
2024-05-05Final Step of CVar macro/sectionalizing (#4107)Malkierian
* p * Missed the prefix renames. * More missed ones. * Mostly finished cleanup. Removed a few CVars and some related functionality. * Bit more (prepping non-existent title card color editing). * Resolve gCrowdControl. * Final cleanup. * Universal constant, not acceleration... * Preset CVars.
2024-04-26Swap all cosmetics CVars to macros. (#4065)Malkierian
Lots of renames. Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
2024-04-26All MenuBar enhancement CVars done. (#4064)Malkierian
2024-04-19Merge branch 'develop-rando' of ↵Garrett Cox
garrettjoecox.github.com:HarbourMasters/Shipwright into develop-rando-changes
2024-04-19dev -> dev-randoMalkierian
2024-04-19Merge branch 'develop-macready' into macready-to-devbriaguya
2024-04-19fix actor init flow with object loading (#3987)Archez
2024-04-09vb treasure chest game (#103)briaguya
2024-04-03pull in docs (#97)briaguya
* rename `func_8002DF54` to `Player_SetCsActionWithHaltedActors` * rename `func_8002F434` to `Actor_OfferGetItem`
2024-02-21Merge remote-tracking branch 'origin/develop' into rando-dev-merge-febAdam Bird
2024-02-15Player State Docs (#3280)inspectredc
* state flags 1 * state flags 2 * state flags 3 * fill array
2024-02-02Merge branch 'develop' of garrettjoecox.github.com:HarbourMasters/Shipwright ↵Garrett Cox
into develop-rando-merge
2024-02-02Merge branch 'develop-macready' into macready-to-dev-2-2briaguya
2024-02-01Increase Door Cull range (#3888)inspectredc
* cullzone * better cvar name * Update soh/src/code/z_actor.c * Update soh/src/code/z_actor.c --------- Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
2024-01-31Merge remote-tracking branch 'origin/develop-macready' into ↵Adam Bird
mergeDevelopMacreadyJan31
2024-01-15Revert actor uncullZone related checks back to match decomp (#3828)inspectredc
2024-01-15Restore Original Scene Command Object List Behaviour (MacReady) (#3827)inspectredc
* Restore Original Scene_CommandObjectList Behaviour * remove some vrom stuff * add some comments
2024-01-14Rando: Shuffle Beehives (Rando V3) (#3763)Pepe20129
* Shuffle Beehives * Address review * Fix build