summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-10-21 11:30:39 +1100
committerGitHub <noreply@github.com>2024-10-20 17:30:39 -0700
commitea323f1712b36aeefa9d770fae5e46cce0dce65f (patch)
treee28aea613df4ccd893c1c2c4cd9d779105caad29 /include
parenta7461640410c87c73f7e7283fdb229a4818ac244 (diff)
Player Docs: speedXZ and yaw (#1724)
* rename struct members * PR
Diffstat (limited to 'include')
-rw-r--r--include/z64player.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/z64player.h b/include/z64player.h
index c1122934f..df40fc28c 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -1241,9 +1241,9 @@ typedef struct Player {
/* 0xACC */ s16 unk_ACC;
/* 0xACE */ s8 unk_ACE;
/* 0xACF */ u8 putAwayCountdown; // Frames to wait before showing "Put Away" on A
- /* 0xAD0 */ f32 linearVelocity;
- /* 0xAD4 */ s16 currentYaw;
- /* 0xAD6 */ s16 targetYaw;
+ /* 0xAD0 */ f32 speedXZ; // Controls horizontal speed, used for `actor.speed`. Current or target value depending on context.
+ /* 0xAD4 */ s16 yaw; // General yaw value, used both for world and shape rotation. Current or target value depending on context.
+ /* 0xAD6 */ s16 parallelYaw; // yaw in "parallel" mode, Z-Target without an actor lock-on
/* 0xAD8 */ u16 underwaterTimer;
/* 0xADA */ s8 meleeWeaponAnimation;
/* 0xADB */ s8 meleeWeaponState;