Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
create_fader.inc.c
Go to the documentation of this file.
1/* Creates the screen fade, idle until started, on SCREEN_LAYER at
2 the including overlay's FADER_DEPTH */
5
7 task->layerId = SCREEN_LAYER;
8 task->depth = FADER_DEPTH;
9 return task;
10}
#define FADER_DEPTH
Definition scene.c:42
#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
Definition battle_mode.h:26
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...
Definition gfx.h:45
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.
Definition gfx.h:361
s32 depth
Definition gfx.h:364
void(* start)(struct ScreenFade *fade, s32 fadeIn, s32 frames)
TASK_DONE when done.
Definition gfx.h:368
s32 layerId
Definition gfx.h:363
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
Definition task.c:105
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...