mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-27 04:10:30 +00:00
e6bc4bd8cb
* Add names to all typedef'd structs, unions, and enums * wtf vs code * Use a better regex
20 lines
436 B
C
20 lines
436 B
C
#ifndef Z64FRAME_ADVANCE_H
|
|
#define Z64FRAME_ADVANCE_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
struct Input;
|
|
struct PlayState;
|
|
|
|
typedef struct FrameAdvanceContext {
|
|
/* 0x0 */ s32 enabled;
|
|
/* 0x4 */ s32 timer;
|
|
} FrameAdvanceContext; // size = 0x8
|
|
|
|
void FrameAdvance_Init(FrameAdvanceContext* frameAdvCtx);
|
|
s32 FrameAdvance_Update(FrameAdvanceContext* frameAdvCtx, struct Input* input);
|
|
|
|
int FrameAdvance_IsEnabled(struct PlayState* this);
|
|
|
|
#endif
|