#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
ScreenFade * createFader(void)
Creates the screen fade, idle until started, on SCREEN_LAYER at the including overlay's FADER_DEPTH.
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
void startFader(ScreenFade *task, s32 fadeIn, s32 duration)
Starts fading the screen to black (fadeIn 0) or back, over duration frames.
Fades the whole screen to black and back with a subtractive rectangle.
void(* start)(struct ScreenFade *fade, s32 fadeIn, s32 frames)
TASK_DONE when done.
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
void updateFader(ScreenFade *task)
The screen fade's task: once started, moves the level one frame on and draws it; TASK_DONE at the end...