summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-09-24 02:52:06 +1000
committerGitHub <noreply@github.com>2023-09-23 13:52:06 -0300
commitb88aa2c0fc996a911cadb2d34a0b18e6c3457c88 (patch)
tree691316d42301135e10d762783ce391deeae8de64 /include
parentcfe656be2fe638aaf15599c97709e1b3924411a3 (diff)
Player docs: Control Stick Input and Movement (#1385)
* player input docs * player prefix * rm comments * TRUNCF_BINANG
Diffstat (limited to 'include')
-rw-r--r--include/functions.h2
-rw-r--r--include/z64player.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/functions.h b/include/functions.h
index 31ebb9c20..7ab743bd0 100644
--- a/include/functions.h
+++ b/include/functions.h
@@ -617,7 +617,7 @@ void func_800FEAF4(EnvironmentContext* envCtx);
void* Lib_MemCpy(void* dest, void* src, size_t size);
void* Lib_MemSet(void* buffer, s32 value, size_t size);
-void func_800FF3A0(f32* distOut, s16* angleOut, Input* input);
+void Lib_GetControlStickData(f32* outMagnitude, s16* outAngle, Input* input);
void Actor_ProcessInitChain(Actor* actor, InitChainEntry* ichain);
void Color_RGBA8_Copy(Color_RGBA8* dst, Color_RGBA8* src);
void Lib_PlaySfx(u16 sfxId);
diff --git a/include/z64player.h b/include/z64player.h
index f628cd0bc..ce5f33144 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -1291,8 +1291,8 @@ typedef struct Player {
/* 0xD5D */ u8 floorTypeTimer; // Unused remnant of OoT
/* 0xD5E */ u8 floorProperty; // FloorProperty enum
/* 0xD5F */ u8 prevFloorType; // Unused remnant of OoT
- /* 0xD60 */ f32 unk_D60;
- /* 0xD64 */ s16 unk_D64;
+ /* 0xD60 */ f32 prevControlStickMagnitude;
+ /* 0xD64 */ s16 prevControlStickAngle;
/* 0xD66 */ u16 prevFloorSfxOffset;
/* 0xD68 */ s16 unk_D68;
/* 0xD6A */ s8 unk_D6A;