mirror of
https://github.com/zeldaret/oot
synced 2026-06-20 08:13:17 -04:00
Hostile Lock-On (#2193)
* document flag and functions * format * adjust comment * make the comment more public-facing-friendly
This commit is contained in:
+1
-1
@@ -792,7 +792,7 @@ void Path_CopyLastPoint(Path* path, Vec3f* dest);
|
||||
void Player_SetBootData(PlayState* play, Player* this);
|
||||
int Player_InBlockingCsMode(PlayState* play, Player* this);
|
||||
int Player_InCsMode(PlayState* play);
|
||||
s32 func_8008E9C4(Player* this);
|
||||
s32 Player_CheckHostileLockOn(Player* this);
|
||||
int Player_IsChildWithHylianShield(Player* this);
|
||||
s32 Player_ActionToModelGroup(Player* this, s32 itemAction);
|
||||
void Player_SetModelsForHoldingShield(Player* this);
|
||||
|
||||
+1
-1
@@ -652,7 +652,7 @@ typedef struct WeaponInfo {
|
||||
#define PLAYER_STATE1_SWINGING_BOTTLE (1 << 1) // Bottle is swung; Bottle is active and can catch things
|
||||
#define PLAYER_STATE1_2 (1 << 2)
|
||||
#define PLAYER_STATE1_3 (1 << 3)
|
||||
#define PLAYER_STATE1_4 (1 << 4)
|
||||
#define PLAYER_STATE1_HOSTILE_LOCK_ON (1 << 4) // Currently locked onto a hostile actor. Triggers a "battle" variant of many actions.
|
||||
#define PLAYER_STATE1_5 (1 << 5)
|
||||
#define PLAYER_STATE1_6 (1 << 6)
|
||||
#define PLAYER_STATE1_7 (1 << 7)
|
||||
|
||||
Reference in New Issue
Block a user