mirror of
https://github.com/zeldaret/oot
synced 2026-08-21 22:40:55 -04:00
document code_8008E6A0 (frame advance) (#737)
* OK * fixes * format * remove gotos, thanks petrie
This commit is contained in:
+3
-3
@@ -1128,8 +1128,8 @@ void Interface_Update(GlobalContext* globalCtx);
|
||||
Path* Path_GetByIndex(GlobalContext* globalCtx, s16 index, s16 max);
|
||||
f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw);
|
||||
void Path_CopyLastPoint(Path* path, Vec3f* dest);
|
||||
void func_8008E6A0(SubGlobalContext7B8*);
|
||||
u32 func_8008E6AC(SubGlobalContext7B8* this, Input* input);
|
||||
void FrameAdvance_Init(FrameAdvanceContext* frameAdvCtx);
|
||||
s32 FrameAdvance_Update(FrameAdvanceContext* frameAdvCtx, Input* input);
|
||||
void Player_SetBootData(GlobalContext* globalCtx, Player* player);
|
||||
s32 Player_InBlockingCsMode(GlobalContext* globalCtx, Player* player);
|
||||
s32 Player_InCsMode(GlobalContext* globalCtx);
|
||||
@@ -1601,7 +1601,7 @@ void Gameplay_SetupRespawnPoint(GlobalContext* globalCtx, s32 respawnMode, s32 p
|
||||
void Gameplay_TriggerVoidOut(GlobalContext* globalCtx);
|
||||
void Gameplay_TriggerRespawn(GlobalContext* globalCtx);
|
||||
s32 func_800C0CB8(GlobalContext* globalCtx);
|
||||
s32 func_800C0D28(GlobalContext* globalCtx);
|
||||
s32 FrameAdvance_IsEnabled(GlobalContext* globalCtx);
|
||||
s32 func_800C0D34(GlobalContext* globalCtx, Actor* actor, s16* yaw);
|
||||
void PreRender_SetValuesSave(PreRenderContext* this, u32 width, u32 height, void* fbuf, void* zbuf, void* cvg);
|
||||
void PreRender_Init(PreRenderContext* this);
|
||||
|
||||
+4
-4
@@ -190,9 +190,9 @@ typedef struct {
|
||||
} SoundContext; // size = 0x4
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u32 toggle;
|
||||
/* 0x04 */ s32 counter;
|
||||
} SubGlobalContext7B8; // size = 0x8
|
||||
/* 0x00 */ s32 enabled;
|
||||
/* 0x04 */ s32 timer;
|
||||
} FrameAdvanceContext; // size = 0x8
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Vec3f pos;
|
||||
@@ -869,7 +869,7 @@ typedef struct GlobalContext {
|
||||
/* 0x007A2 */ s16 nextCamera;
|
||||
/* 0x007A4 */ SoundContext soundCtx;
|
||||
/* 0x007A8 */ LightContext lightCtx;
|
||||
/* 0x007B8 */ SubGlobalContext7B8 sub_7B8;
|
||||
/* 0x007B8 */ FrameAdvanceContext frameAdvCtx;
|
||||
/* 0x007C0 */ CollisionContext colCtx;
|
||||
/* 0x01C24 */ ActorContext actorCtx;
|
||||
/* 0x01D64 */ CutsceneContext csCtx; // "demo_play"
|
||||
|
||||
Reference in New Issue
Block a user