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

The screen's backdrop: the scrolling sprites, the sparkles and the shine. More...

Include dependency graph for backdrop.c:

Go to the source code of this file.

Functions

void STPLNMET_updateScroll (NameScroll *task)
 The scrolling sprites' task: once their image is loaded, moves the two sprites diagonally at different speeds, each starting over at its end (STPLNMET_scrollEnds), and draws them with a still one.
 
void STPLNMET_loadScroll (NameScroll *task, s32 x, s32 y)
 Loads the scrolling sprites' image into VRAM at (x, y) (scroll->load)
 
void STPLNMET_setScrollLayer (NameScroll *task, s32 layer, s32 depth)
 Sets the layer and depth the scrolling sprites are drawn in (scroll->setLayer)
 
NameScroll * STPLNMET_createScroll (void)
 Creates the scrolling sprites (task), drawn once their image is loaded.
 
void STPLNMET_updateSparkles (NameSparkle *task)
 The sparkles' task: draws five sparkles in place, all on the same looping frame.
 
NameSparkle * STPLNMET_createSparkles (void)
 Creates the sparkles (task)
 
void STPLNMET_updateShine (NameSparkle *task)
 The shine's task: draws a sprite animated by STPLNMET_sparkleFrames, looping.
 
NameSparkle * STPLNMET_createShine (void)
 Creates the shine (task)
 

Detailed Description

The screen's backdrop: the scrolling sprites, the sparkles and the shine.

Definition in file backdrop.c.

Function Documentation

◆ STPLNMET_updateScroll()

void STPLNMET_updateScroll ( NameScroll *  task)

The scrolling sprites' task: once their image is loaded, moves the two sprites diagonally at different speeds, each starting over at its end (STPLNMET_scrollEnds), and draws them with a still one.

backdrop.c

Definition at line 8 of file backdrop.c.

Referenced by STPLNMET_createScroll().

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

◆ STPLNMET_loadScroll()

void STPLNMET_loadScroll ( NameScroll *  task,
s32  x,
s32  y 
)

Loads the scrolling sprites' image into VRAM at (x, y) (scroll->load)

Definition at line 46 of file backdrop.c.

Referenced by STPLNMET_createScroll().

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

◆ STPLNMET_setScrollLayer()

void STPLNMET_setScrollLayer ( NameScroll *  task,
s32  layer,
s32  depth 
)

Sets the layer and depth the scrolling sprites are drawn in (scroll->setLayer)

Definition at line 58 of file backdrop.c.

Referenced by STPLNMET_createScroll().

Here is the caller graph for this function:

◆ STPLNMET_createScroll()

NameScroll * STPLNMET_createScroll ( void  )

Creates the scrolling sprites (task), drawn once their image is loaded.

Definition at line 64 of file backdrop.c.

Referenced by STPLNMET_stepScreen().

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

◆ STPLNMET_updateSparkles()

void STPLNMET_updateSparkles ( NameSparkle *  task)

The sparkles' task: draws five sparkles in place, all on the same looping frame.

< sprite bank

< sprite bank

< sprite bank

< sprite bank

< sprite bank

Definition at line 73 of file backdrop.c.

Referenced by STPLNMET_createSparkles().

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

◆ STPLNMET_createSparkles()

NameSparkle * STPLNMET_createSparkles ( void  )

Creates the sparkles (task)

Definition at line 106 of file backdrop.c.

Referenced by STPLNMET_stepScreen().

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

◆ STPLNMET_updateShine()

void STPLNMET_updateShine ( NameSparkle *  task)

The shine's task: draws a sprite animated by STPLNMET_sparkleFrames, looping.

< sprite bank

Definition at line 111 of file backdrop.c.

Referenced by STPLNMET_createShine().

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

◆ STPLNMET_createShine()

NameSparkle * STPLNMET_createShine ( void  )

Creates the shine (task)

Definition at line 139 of file backdrop.c.

Referenced by STPLNMET_stepScreen().

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