summaryrefslogtreecommitdiff
path: root/src/code/z_play.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-09-20 12:38:06 +1000
committerGitHub <noreply@github.com>2024-09-19 19:38:06 -0700
commitaf22b72e2b0c81c2ecb2eb7d04a6300cae6e21b1 (patch)
tree13a7351669c74ddf211e8117b5c0793f3721697c /src/code/z_play.c
parent5c6310306f0a494c6fa54436b6fce5ef2ff0d715 (diff)
Revamp "AnimationContext" Docs, now called "AnimTaskQueue" (#1692)
* Import Oot Docs * cleanup * more cleanup * cleanup * small thing * singular
Diffstat (limited to 'src/code/z_play.c')
-rw-r--r--src/code/z_play.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c
index 1c63b6a4b..4cd730148 100644
--- a/src/code/z_play.c
+++ b/src/code/z_play.c
@@ -975,7 +975,7 @@ void Play_UpdateMain(PlayState* this) {
sp5C = IS_PAUSED(&this->pauseCtx);
- AnimationContext_Reset(&this->animationCtx);
+ AnimTaskQueue_Reset(&this->animTaskQueue);
Object_UpdateEntries(&this->objectCtx);
if (!sp5C && (IREG(72) == 0)) {
@@ -1023,7 +1023,7 @@ void Play_UpdateMain(PlayState* this) {
Message_Update(this);
Interface_Update(this);
- AnimationContext_Update(this, &this->animationCtx);
+ AnimTaskQueue_Update(this, &this->animTaskQueue);
SoundSource_UpdateAll(this);
ShrinkWindow_Update(this->state.framerateDivisor);
TransitionFade_Update(&this->unk_18E48, this->state.framerateDivisor);
@@ -2183,7 +2183,7 @@ void Play_Init(GameState* thisx) {
Effect_Init(this);
EffectSS_Init(this, 100);
CollisionCheck_InitContext(this, &this->colChkCtx);
- AnimationContext_Reset(&this->animationCtx);
+ AnimTaskQueue_Reset(&this->animTaskQueue);
Cutscene_InitContext(this, &this->csCtx);
if (gSaveContext.nextCutsceneIndex != 0xFFEF) {
@@ -2333,7 +2333,7 @@ void Play_Init(GameState* thisx) {
Environment_PlaySceneSequence(this);
gSaveContext.seqId = this->sceneSequences.seqId;
gSaveContext.ambienceId = this->sceneSequences.ambienceId;
- AnimationContext_Update(this, &this->animationCtx);
+ AnimTaskQueue_Update(this, &this->animTaskQueue);
Cutscene_HandleEntranceTriggers(this);
gSaveContext.respawnFlag = 0;
sBombersNotebookOpen = false;