|
Digimon World 3 decomp
The European version, SLES_039.36
|
The screen's backdrop: the scrolling sprites, the sparkles and the shine. More...
#include "menus/player_name.h"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) | |
The screen's backdrop: the scrolling sprites, the sparkles and the shine.
Definition in file backdrop.c.
| 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.
Definition at line 8 of file backdrop.c.
Referenced by STPLNMET_createScroll().
| 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().
| 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().
| 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().
| 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().
| NameSparkle * STPLNMET_createSparkles | ( | void | ) |
Creates the sparkles (task)
Definition at line 106 of file backdrop.c.
Referenced by STPLNMET_stepScreen().
| 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().
| NameSparkle * STPLNMET_createShine | ( | void | ) |
Creates the shine (task)
Definition at line 139 of file backdrop.c.
Referenced by STPLNMET_stepScreen().