summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-09-14 16:42:28 -0400
committerGitHub <noreply@github.com>2024-09-14 16:42:28 -0400
commit03a15027063f643ff238266745aabc707e650608 (patch)
treed644f3533477babea7825adab277492d973de797 /include
parent65cc42a71737e945fa8f7d3917aaae2efc474e0d (diff)
More Player Z Target documentation (#2196)
* document flag * Player_FriendlyLockOnOrParallel * quirk * z target functions * more comments * more comment changes * format * comment change
Diffstat (limited to 'include')
-rw-r--r--include/z64player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/z64player.h b/include/z64player.h
index a9d360d27..ebd5220e8 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -664,7 +664,7 @@ typedef struct WeaponInfo {
#define PLAYER_STATE1_13 (1 << 13)
#define PLAYER_STATE1_14 (1 << 14)
#define PLAYER_STATE1_Z_TARGETING (1 << 15) // Either lock-on or parallel is active. This flag is never checked for and is practically unused.
-#define PLAYER_STATE1_16 (1 << 16)
+#define PLAYER_STATE1_FRIENDLY_ACTOR_FOCUS (1 << 16) // Currently focusing on a friendly actor. Includes friendly lock-on, talking, and more. Usually does not include hostile actor lock-on, see `PLAYER_STATE1_HOSTILE_LOCK_ON`.
#define PLAYER_STATE1_PARALLEL (1 << 17) // "Parallel" mode, Z-Target without an actor lock-on
#define PLAYER_STATE1_18 (1 << 18)
#define PLAYER_STATE1_19 (1 << 19)