mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-15 14:09:35 +00:00
d8f2e9abc6
* ActorContext * frameadvance * SfxSource * GameOverContext * RoomContext * TransitionActorContext * fix bss * Move PlayState * Move play functions to new header * SAC_ENABLE * no longer needed * SAC_ENABLE again * z_demo being silly * comment * format headers * fix retail bss * actually fix bss * Cutscene_ProcessScript comment * bss again * Update src/code/z_demo.c Co-authored-by: cadmic <cadmic24@gmail.com> * rename to frame_advance and remove it from z64.h * move macros too * review * Rename SequenceContext to SceneSequences --------- Co-authored-by: cadmic <cadmic24@gmail.com>
19 lines
416 B
C
19 lines
416 B
C
#ifndef Z64FRAME_ADVANCE_H
|
|
#define Z64FRAME_ADVANCE_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
struct Input;
|
|
struct PlayState;
|
|
|
|
typedef struct {
|
|
/* 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
|