mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Document ACTOR_FLAG_SFX_
flags and functions (#2162)
* Document `ACTOR_FLAG_SFX_` flags and functions * format
This commit is contained in:
parent
de1a08c061
commit
a903f8b8bc
88 changed files with 227 additions and 218 deletions
|
@ -168,14 +168,10 @@ typedef struct ActorShape {
|
|||
//
|
||||
#define ACTOR_FLAG_18 (1 << 18)
|
||||
|
||||
//
|
||||
#define ACTOR_FLAG_19 (1 << 19)
|
||||
|
||||
//
|
||||
#define ACTOR_FLAG_20 (1 << 20)
|
||||
|
||||
//
|
||||
#define ACTOR_FLAG_21 (1 << 21)
|
||||
// Flags controlling the use of `Actor.sfx`. Do not use directly.
|
||||
#define ACTOR_FLAG_SFX_ACTOR_POS_2 (1 << 19) // see Actor_PlaySfx_Flagged2
|
||||
#define ACTOR_AUDIO_FLAG_SFX_CENTERED_1 (1 << 20) // see Actor_PlaySfx_FlaggedCentered1
|
||||
#define ACTOR_AUDIO_FLAG_SFX_CENTERED_2 (1 << 21) // see Actor_PlaySfx_FlaggedCentered2
|
||||
|
||||
// ignores point lights but not directional lights (such as environment lights)
|
||||
#define ACTOR_FLAG_IGNORE_POINT_LIGHTS (1 << 22)
|
||||
|
@ -196,8 +192,8 @@ typedef struct ActorShape {
|
|||
// Navi will still be able to hover over the actor, assuming `ACTOR_FLAG_ATTENTION_ENABLED` is set.
|
||||
#define ACTOR_FLAG_LOCK_ON_DISABLED (1 << 27)
|
||||
|
||||
//
|
||||
#define ACTOR_FLAG_28 (1 << 28)
|
||||
// Flag controlling the use of `Actor.sfx`. Do not use directly. See Actor_PlaySfx_FlaggedTimer
|
||||
#define ACTOR_FLAG_SFX_TIMER (1 << 28)
|
||||
|
||||
#define COLORFILTER_GET_COLORINTENSITY(colorFilterParams) (((colorFilterParams) & 0x1F00) >> 5)
|
||||
#define COLORFILTER_GET_DURATION(colorFilterParams) ((colorFilterParams) & 0xFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue