mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Document Attention/Lock-on Related Actor Flags (#2161)
* document actor flags 0, 2, 3, and 27 * format * fly -> hover * wodring
This commit is contained in:
parent
a039aeffb7
commit
2056ae5f1a
181 changed files with 616 additions and 597 deletions
|
@ -3,7 +3,7 @@
|
|||
#include "terminal.h"
|
||||
#include "assets/objects/object_fr/object_fr.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4 | ACTOR_FLAG_25)
|
||||
#define FLAGS (ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_NEUTRAL | ACTOR_FLAG_4 | ACTOR_FLAG_25)
|
||||
|
||||
void EnFr_Init(Actor* thisx, PlayState* play);
|
||||
void EnFr_Destroy(Actor* thisx, PlayState* play);
|
||||
|
@ -236,7 +236,7 @@ void EnFr_Init(Actor* thisx, PlayState* play) {
|
|||
this->actor.destroy = NULL;
|
||||
this->actor.draw = NULL;
|
||||
this->actor.update = EnFr_UpdateIdle;
|
||||
this->actor.flags &= ~(ACTOR_FLAG_0 | ACTOR_FLAG_4);
|
||||
this->actor.flags &= ~(ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_4);
|
||||
this->actor.flags &= ~0;
|
||||
Actor_ChangeCategory(play, &play->actorCtx, &this->actor, ACTORCAT_PROP);
|
||||
this->actor.textId = 0x40AC;
|
||||
|
@ -321,7 +321,7 @@ void EnFr_Update(Actor* thisx, PlayState* play) {
|
|||
this->posButterflyLight.x = this->posButterfly.x = this->posLogSpot.x;
|
||||
this->posButterflyLight.y = this->posButterfly.y = this->posLogSpot.y + 50.0f;
|
||||
this->posButterflyLight.z = this->posButterfly.z = this->posLogSpot.z;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue