10 if (task->substate == 0) {
13 task->level += task->levelStep;
14 if (task->fadeIn == 0) {
19 }
else if (task->level < 0) {
#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
void drawFader(ScreenFade *task)
Darkens the whole screen by the fade's level: a POLY_F4 with subtractive blending (tpage 0xE1000245)
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
#define FADE_LEVEL_MAX
ScreenFade.level when the screen is black: 0xFF in 8.8 fixed point.
Fades the whole screen to black and back with a subtractive rectangle.
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...