mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Match retail demo actors (#1745)
* Match GetCue functions * Match retail demo actors * Add redundant parentheses around kREG(X) == Y in z_demo_gt.c * Remove goto in DemoEffect_DrawLightEffect * Rename "dl" * Comment on possible array * Use the word "fake" * Remove redundant return
This commit is contained in:
parent
5c3a722aca
commit
33d8044e45
18 changed files with 161 additions and 83 deletions
|
@ -127,6 +127,7 @@ void DemoSa_SetMouthIndex(DemoSa* this, s16 mouthIndex) {
|
|||
this->mouthIndex = mouthIndex;
|
||||
}
|
||||
|
||||
#if OOT_DEBUG
|
||||
void func_8098E530(DemoSa* this) {
|
||||
this->action = 7;
|
||||
this->drawConfig = 0;
|
||||
|
@ -150,6 +151,7 @@ void func_8098E554(DemoSa* this, PlayState* play) {
|
|||
*something = 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void func_8098E5C8(DemoSa* this, PlayState* play) {
|
||||
Actor_UpdateBgCheckInfo(play, &this->actor, 75.0f, 30.0f, 30.0f, UPDBGCHECKINFO_FLAG_0 | UPDBGCHECKINFO_FLAG_2);
|
||||
|
@ -161,7 +163,9 @@ s32 DemoSa_UpdateSkelAnime(DemoSa* this) {
|
|||
|
||||
CsCmdActorCue* DemoSa_GetCue(PlayState* play, s32 cueChannel) {
|
||||
if (play->csCtx.state != CS_STATE_IDLE) {
|
||||
return play->csCtx.actorCues[cueChannel];
|
||||
CsCmdActorCue* cue = play->csCtx.actorCues[cueChannel];
|
||||
|
||||
return cue;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
@ -439,7 +443,9 @@ void func_8098F050(DemoSa* this, PlayState* play) {
|
|||
|
||||
void func_8098F0E8(DemoSa* this, PlayState* play) {
|
||||
func_8098EEA8(this, play);
|
||||
#if OOT_DEBUG
|
||||
func_8098E554(this, play);
|
||||
#endif
|
||||
}
|
||||
|
||||
void func_8098F118(DemoSa* this, PlayState* play) {
|
||||
|
@ -447,7 +453,9 @@ void func_8098F118(DemoSa* this, PlayState* play) {
|
|||
DemoSa_UpdateSkelAnime(this);
|
||||
func_8098E480(this);
|
||||
func_8098EEFC(this, play);
|
||||
#if OOT_DEBUG
|
||||
func_8098E554(this, play);
|
||||
#endif
|
||||
}
|
||||
|
||||
void func_8098F16C(DemoSa* this, PlayState* play) {
|
||||
|
@ -455,7 +463,9 @@ void func_8098F16C(DemoSa* this, PlayState* play) {
|
|||
DemoSa_UpdateSkelAnime(this);
|
||||
func_8098EDB0(this);
|
||||
func_8098F050(this, play);
|
||||
#if OOT_DEBUG
|
||||
func_8098E554(this, play);
|
||||
#endif
|
||||
}
|
||||
|
||||
void DemoSa_DrawXlu(DemoSa* this, PlayState* play) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue