mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-11 03:25:45 -04:00
Document ACTOR_FLAG_UPDATE_DURING_OCARINA and PLAYER_STATE2_USING_OCARINA (#1720)
* ocarina flag * oops * PR
This commit is contained in:
+4
-2
@@ -507,8 +507,10 @@ typedef enum DoorLockType {
|
||||
#define ACTOR_FLAG_800000 (1 << 23)
|
||||
//
|
||||
#define ACTOR_FLAG_1000000 (1 << 24)
|
||||
//
|
||||
#define ACTOR_FLAG_2000000 (1 << 25)
|
||||
// Actor can update even if Player is currently using the ocarina.
|
||||
// Typically an actor will halt while the ocarina is active (depending on category).
|
||||
// This flag allows a given actor to be an exception.
|
||||
#define ACTOR_FLAG_UPDATE_DURING_OCARINA (1 << 25)
|
||||
// actor can press and hold down switches
|
||||
#define ACTOR_FLAG_CAN_PRESS_SWITCH (1 << 26)
|
||||
|
||||
|
||||
+2
-2
@@ -988,8 +988,8 @@ typedef enum PlayerCueId {
|
||||
#define PLAYER_STATE2_2000000 (1 << 25)
|
||||
//
|
||||
#define PLAYER_STATE2_4000000 (1 << 26)
|
||||
//
|
||||
#define PLAYER_STATE2_8000000 (1 << 27)
|
||||
// Playing the ocarina
|
||||
#define PLAYER_STATE2_USING_OCARINA (1 << 27)
|
||||
// Playing a fidget idle animation (under typical circumstances, see `Player_ChooseNextIdleAnim` for more info)
|
||||
#define PLAYER_STATE2_IDLE_FIDGET (1 << 28)
|
||||
// Disable drawing player
|
||||
|
||||
Reference in New Issue
Block a user