|
Digimon World 3 decomp
The European version, SLES_039.36
|
#include "engine/game.h"Go to the source code of this file.
Data Structures | |
| struct | FadePrims |
| The fade's primitives, one after the other in the primitive buffer. More... | |
Functions | |
| void | screenFadeStart (ScreenFade *task, s32 fadeIn, s32 duration) |
Starts fading the screen to black (fadeIn 0) or back, over duration frames. | |
| void | drawScreenFade (ScreenFade *task) |
| A full-screen POLY_F4 with subtractive blending (tpage 0xE1000245) | |
| void | updateScreenFade (ScreenFade *task) |
| Moves the fade one frame on and draws it; TASK_DONE at the end, still drawn. | |
| ScreenFade * | createScreenFade (s32 layerId) |
| A screen fade task on a layer, idle until started. | |
| void screenFadeStart | ( | ScreenFade * | task, |
| s32 | fadeIn, | ||
| s32 | duration | ||
| ) |
Starts fading the screen to black (fadeIn 0) or back, over duration frames.
Definition at line 4 of file screen_fade.c.
Referenced by createScreenFade().
| void drawScreenFade | ( | ScreenFade * | task | ) |
A full-screen POLY_F4 with subtractive blending (tpage 0xE1000245)
Definition at line 24 of file screen_fade.c.
Referenced by updateScreenFade().
| void updateScreenFade | ( | ScreenFade * | task | ) |
Moves the fade one frame on and draws it; TASK_DONE at the end, still drawn.
Definition at line 46 of file screen_fade.c.
Referenced by createScreenFade().
| ScreenFade * createScreenFade | ( | s32 | layerId | ) |
A screen fade task on a layer, idle until started.
Definition at line 76 of file screen_fade.c.
Referenced by updateInnMenu(), and warpAway().