Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
screen_fade.c File Reference
#include "engine/game.h"
Include dependency graph for screen_fade.c:

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.
 

Function Documentation

◆ screenFadeStart()

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().

Here is the caller graph for this function:

◆ drawScreenFade()

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().

Here is the caller graph for this function:

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function: