Player docs: Control Stick Input and Movement (#1385)

* player input docs

* player prefix

* rm comments

* TRUNCF_BINANG
This commit is contained in:
engineer124
2023-09-23 13:52:06 -03:00
committed by GitHub
parent cfe656be2f
commit b88aa2c0fc
7 changed files with 393 additions and 316 deletions
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -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;