Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
edge_fade.c File Reference

The fade out from the screen's edges once an option is chosen. More...

#include "menus/title.h"
Include dependency graph for edge_fade.c:

Go to the source code of this file.

Functions

s32 STDWTITL_getEdgeFadeLevel (s32 time)
 The edge fade's darkness after time frames: 0 to 255 along a quarter sine over 30 frames.
 
void STDWTITL_drawEdgeFade (s32 level)
 Darkens the screen by level: four subtractive triangles from its centre to its edges, the edges twice as dark.
 
void STDWTITL_startEdgeFade (EdgeFadeTask *task)
 Starts the fade out from the screen's edges (the task's start)
 
s32 STDWTITL_isEdgeFadeDone (EdgeFadeTask *task)
 1 once the edge fade has ended (the task's isDone)
 
void STDWTITL_tickEdgeFade (EdgeFadeTask *task)
 The edge fade's task: once started, darkens the screen from its edges over 30 frames and keeps it dark.
 
EdgeFadeTask * STDWTITL_startEdgeFadeTask (void)
 Creates the fade out from the screen's edges (task), once an option is chosen.
 

Detailed Description

The fade out from the screen's edges once an option is chosen.

Definition in file edge_fade.c.

Function Documentation

◆ STDWTITL_getEdgeFadeLevel()

s32 STDWTITL_getEdgeFadeLevel ( s32  time)

The edge fade's darkness after time frames: 0 to 255 along a quarter sine over 30 frames.

edge_fade.c

Definition at line 6 of file edge_fade.c.

Referenced by STDWTITL_tickEdgeFade().

Here is the caller graph for this function:

◆ STDWTITL_drawEdgeFade()

void STDWTITL_drawEdgeFade ( s32  level)

Darkens the screen by level: four subtractive triangles from its centre to its edges, the edges twice as dark.

Definition at line 15 of file edge_fade.c.

Referenced by STDWTITL_tickEdgeFade().

Here is the caller graph for this function:

◆ STDWTITL_startEdgeFade()

void STDWTITL_startEdgeFade ( EdgeFadeTask *  task)

Starts the fade out from the screen's edges (the task's start)

Definition at line 50 of file edge_fade.c.

Referenced by STDWTITL_startEdgeFadeTask().

Here is the caller graph for this function:

◆ STDWTITL_isEdgeFadeDone()

s32 STDWTITL_isEdgeFadeDone ( EdgeFadeTask *  task)

1 once the edge fade has ended (the task's isDone)

Definition at line 57 of file edge_fade.c.

Referenced by STDWTITL_startEdgeFadeTask().

Here is the caller graph for this function:

◆ STDWTITL_tickEdgeFade()

void STDWTITL_tickEdgeFade ( EdgeFadeTask *  task)

The edge fade's task: once started, darkens the screen from its edges over 30 frames and keeps it dark.

Definition at line 63 of file edge_fade.c.

Referenced by STDWTITL_startEdgeFadeTask().

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

◆ STDWTITL_startEdgeFadeTask()

EdgeFadeTask * STDWTITL_startEdgeFadeTask ( void  )

Creates the fade out from the screen's edges (task), once an option is chosen.

Definition at line 93 of file edge_fade.c.

Referenced by STDWTITL_stepTitle().

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