21 task->nextState(task);
#define SCENE_PRIM_BUFFERS
#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
GfxState GFX
GFX: the graphics state and its methods.
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
#define SCREEN_WIDTH
The screen the modes draw on (setDisplayMode, their layers' rects)
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
void(* allocPrimBuffers)(s32 size)
struct Layer *(* createLayer)(RECT *rect, s32 otShift, s32 id)
void(* setDisplayMode)(s32 w, s32 h, s32 hires, s32 interlace)
A drawing layer (GFX.funcs.createLayer): a DRAWENV with a pair of ordering tables,...
void(* setBgColor)()
no prototype: callers would truncate u8 args
void updateScene(SCENE_TASK *task, SCENE_CHILD **child)
The mode's root task: sets up the 320x240 display with SCENE_PRIM_BUFFERS bytes of primitives and a b...