mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
create ACTOR_FLAGS_CHECK_ALL (#2515)
This commit is contained in:
parent
bed76a3bf3
commit
ea22c2ac38
19 changed files with 40 additions and 43 deletions
|
@ -160,6 +160,8 @@ typedef struct ActorShape {
|
|||
// Flag controlling the use of `Actor.sfx`. Do not use directly. See Actor_PlaySfx_FlaggedTimer
|
||||
#define ACTOR_FLAG_SFX_TIMER (1 << 28)
|
||||
|
||||
#define ACTOR_FLAGS_CHECK_ALL(thisx, mask) (((thisx)->flags & (mask)) == (mask))
|
||||
|
||||
#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