summaryrefslogtreecommitdiff
path: root/mm/src/code/z_player_lib.c
AgeCommit message (Collapse)Author
13 daysXML Skeleton Support (#1796)Jameriquiah
* xml skeleton support * new include to please macos build * build xml limbs as lod and force vanilla draw path allows soh skeletons to be loaded in 2ship * disable lod when custom models are used
2026-03-19[Enhancement] Song Items (#1566)mckinlee
* equip songs * feedback
2026-02-25fix (#1578)mckinlee
2026-01-05[Enhancement] GFS Attack With B (#1420)mckinlee
* alternative solution? * feedback
2025-10-29Bump LUS and OTRExporter, add null audio backend (#1289)Eblo
* Bump LUS and OTRExporter, add null audio backend * Missed an include change * And again * Thanks macOS * Another one * Bump LUS again, fixing SDL audio backend bug * Sync LUS bump changes to merged PRs * Bump LUS again * Update CMakeLists.txt includes
2025-09-16Port cleanup passEblo
2025-09-16Document Player's Face and z_actor FaceChange functions (#1777)engineer124
* player face docs * more docs * cleanup * toto * more comments * fix bss, names * better comment * PR, fix comment * fix bss * sEyeTextures comment * FaceChange_UpdateBlinkingNonHuman --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-09-16Misc FAKE fixes (#1783)Derek Hensley
* CutsceneCamera_UpdateSplines fake match * CutsceneCamera_Init -1 splineIndex * Eye Point comment * func_80B781DC better fake * func_80B32F04 * ObjSwitch_Update * ObjSwitch_InitTrisCollider * ObjAqua_Init * EnTrt_ItemGiven * func_80C10E98 partly * EnTest7_WarpCsWarp this to 1 * EnTest6_InvertedSoTCutscene better fake * EnTest6_DrawAmmoDropRupee * EnPoSisters_MatchPlayerY * func_8095B76C * EnMinifrog_Init * func_80A5C0B8 * EnKnight_UpdateEffects * EnKnight_FlyingHeadAttack * EnKakasi_Init * EnInvadepoh_ModelInfo_GetNextFaceAnim * BgAstrBombwall_InitCollider like func_809CE068 * Player_UpdateInterface * Player_CsAction_TranslateReverse * DynaPoly_AddBgActorToLookup better fake * CutsceneManager_FindEntranceCsId * func_800AE930 better fake * Math3D_CylVsLineSeg better fake * MapDisp_InitBossRoomStorey * Play_Init * EnTimeTag_Diary_Wait better fake * Remove fake label from Player_SwordFromIA * Player_PostLimbDrawGameplay partly * EffectBlure_AddVertex prev temp * Player_PostLimbDrawGameplay attempt 2 * AudioMgr_StopAllSfxExceptSystem * Camera_Normal0 * Camera_Jump2 * Camera_Normal3 * PR review
2025-09-16Standardize "ActorMovement" over "ActorMove" (#1773)engineer124
* actor movement * cleanup * missed one
2025-09-16Document Update Actor Flags (#1762)engineer124
* name flags, TODO: comments * comments * improve comments * small cleanup * cleanup comment
2025-09-16Player Docs: First 8 Start Modes (#1749)engineer124
* start mode docs * better comments * improve owl docs * reorder comment to more important first * brief comment
2025-09-16Name Remaining Hookshot Actor Flags (#1746)engineer124
* hookshot attachment * period * hookshot flags * fix ordering * comment, fix ordering --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-09-16Player Docs: Rename Init Mode to Start Mode (#1744)engineer124
* rename to start mode * cleanup * rm declarations
2025-09-16Player Docs: Spin Attack (#1741)engineer124
* spin attack * cleanup * fix bss * PR review * sync func name * add todo
2025-09-16Player Docs: Zora Boomerang (#1739)engineer124
* zora boomerang * missed some * more docs * cleanup docs * more cleanup * Player_IsUsingZoraBoomerang
2025-09-16Document Room Type (#1740)engineer124
* roomType * cleanup
2025-09-16Player Docs: Z Targeting (#1736)engineer124
* z target docs * Player_UpdateZTargeting * func docs * more cleanup
2025-09-16dead flag (#1735)engineer124
2025-09-16Cleanup gSPMatrix, rename `Matrix_New` -> `Matrix_Finalize`, add ↵engineer124
MATRIX_FINALIZE_AND_LOAD (#1729) * mtx-finalize * cleanup gSPMatrix
2025-09-16Player Docs: speedXZ and yaw (#1724)engineer124
* rename struct members * PR
2025-09-16Player Docs: Idle and Fidget (#1723)engineer124
* idle and fidget docs * more cleanup * cleanup * regs * spacing
2025-09-16Sync Colliders Final (#1718)Derek Hensley
* ElementDamageInfoAT * ElementDamageInfoAC * colMaterial * elemMaterial
2025-09-16Player Docs: FocusActor and Lock-On Cleanup (#1711)engineer124
* focus actor docs * small cleanup * brackets * remaining lock-on docs * more cleanup/docs * more reticle docs * oops
2025-09-16Player Docs: Misc Rotation (#1710)engineer124
* rot docs * comment * diff * spacing
2025-09-16Player "Hostile" Docs (#1706)engineer124
* actor flag hostile * player hostile
2025-09-15InitVars -> Profile (#1697)Derek Hensley
* ActorProfile * EffectSsProfile * TransitionProfile * variables.txt
2025-09-15Player: Document "WaitForPutAway" (#1694)engineer124
* import OoT docs * cleanup * carry actor * more cleanup * PLAYER_STATE1_CARRYING_ACTOR
2025-09-15Correct seqId size in header, fix playctx b buttonEblo
2025-09-14`z_parameter.c`: remaining functions, do action documentation, gfx cleanup ↵Tharo
(#1652) * Parameter last functions Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Documentation for do actions and various gfx * Suggested changes * f prefix for texture scale numbers * Player_SetBButtonAmmo --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2025-09-14Add a `z64play.h` header (#1646)Anghelo Carvajal
* z64play.h * Move macros, functions and variables to header * cleanup * Reduce needed headers on z_collision_check * Change play functions to take PlayState * Move `Actor_ProcessInitChain` to `ichain.h` * format * Update src/code/z_play.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Add macros.h to sys_math3d.c * Rename SequenceContext to SceneSequences --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2025-09-14Msgevent OK (#1637)Derek Hensley
* Decompiled, some commands still unnamed * Use full weekevent reg names * Fix func_8094E69C * Fix Player_GetMask * Eventinf, mask worn, and item action argument formatting * decimal rupees * Times (day, hours, minutes) as decimal * msgEventScriptPos * Callbacks * Name final commands * Enum * Arrays * functions * Small cleanups * Clean up actors * Remove event from some variable names to make them shorter * Some more function renames * newline * Missed a few unks in commands * Update functions.txt * PlayerMask * MSGMODE_PAUSED * Script time macros * EnSob1_GetWelcome default * Whole bunch of renames * Format * Add CMD to commands * Update code_functions * structs for size * z64scripts.h * MsgEventCallback -> MsgScriptCallback * format * MsgEvent_RunScript stop * Remove cmd handler comment * cmd -> script in MsgEvent_RunScript --------- Co-authored-by: Thar0 <17233964+Thar0@users.noreply.github.com>
2025-09-13Misc Cleanup 2 (#1521)engineer124
* begin cleanup * more cleanup * more cleanup * more cleanup * more cleanup * more cleanup * fake matches * more cleanup * more cleanup * small thing * PR Review * PR Review
2025-09-13Use more `TRUNCF_BINANG` for f32 -> s16 casts (#1503)engineer124
* TRUNCF_BINANG * brackets * extra cast
2025-09-12Misc Cleanup (#1509)engineer124
* begin anim R * sTexturesDesegmented * more misc docs * more misc cleanup * small adjustments * oh sneaky * PR Review * adj comment, reads better * missed an enum * this one actor reverses true/false * bool * CARNIVOROUS_LILY
2025-09-12Document Actor Category Change (#1518)engineer124
* Actor Category Change * cleanup * comments * adj comment * revert small cleanup for libc64 PR * adjust comments
2025-09-11Animation Cleanup: En_O* (#1506)engineer124
* anim O cleanup * fix bss * PR Review
2025-09-11Move player-related function declarations to `z64player.h` (#1480)Anghelo Carvajal
* Move player function declarations to z64player.h * rename Actor_MountHorse to Player_MountHorse and similar functions * whoops * add missing includes * format * whoops
2025-09-11Animation Cleanup: En_M* (#1496)engineer124
* brackets * more M cleanup * small cleanup * PR Review
2025-09-11Document Overriding Player Input (#1489)engineer124
* Override Input * cleanup * cleanup * PR Review * PR Review, fix merge
2025-09-11Fix ultratypes types (#1454)Derek Hensley
* Fix ultratypes types * Add back size_t and NULL * Callocs * Callocs pt 2 * bool * STDC version checks
2025-04-06Cleanup includes (#1072)louist103
* Cleanup * Format * Fixes * Update macports-deps.txt * Fix mac * Update macports-deps.txt Co-authored-by: Archez <Archez@users.noreply.github.com> * Move includes around --------- Co-authored-by: Archez <Archez@users.noreply.github.com>
2025-03-22Bump LUS and LUS header cleanup (#1059)louist103
2025-01-27Add crash protection for action swap (#965)Archez
* Add crash protection for action swap * rename hess crash to console crash fix apply soft reset handler to owl warp cursor apply soft reset handler to hess crash
2024-12-27Fix bow reticle showing on certain collisions (#907)Archez
* Fix bow reticle showing on certain collisions * better arrow matrix math
2024-11-24Add IgnoreActorMtx for interpolation and fix bunny hood (#873)Archez
2024-10-05Move GameInteractor & NameTag src up to root of 2s2h (#799)Garrett Cox
2024-09-12fix zora magic shield alpha (#768)Archez
2024-08-23Various custom asset support (#756)Archez
* use asset paths for better custom asset support * fix keyframe animation timings * display title cards as a full texture * asset support for gfxprint * support pause menu overworld map * fix more resources that need to be loaded * pr feedback
2024-08-18Add persistent bunny mask enhancement (#537)Garrett Cox
2024-06-23Fix the check for preventing a HESS crash. (#710)louist103
* Fix the check * Change style * Another fix in SKelanime. * Format