135#define SCENE_STACK_MAX 8
void sceneRun(const Scene *initial)
Run the scene stack with initial at the bottom. Never returns.
void scenePop(void)
Pop the top scene. Resumes the scene below.
void scenePush(const Scene *next)
Push a scene onto the stack. Suspends the current top.
A single scene's callbacks.
Definition scene.h:144
void(* init)(void)
Called once when the scene is first pushed onto the stack.
Definition scene.h:153
void(* update)(void)
Called every VBlank while the scene is on top of the stack.
Definition scene.h:168