|
Digimon World 3 decomp
The European version, SLES_039.36
|
The panel that fills up while a card operation runs. More...
#include "menus/memory_card.h"Go to the source code of this file.
Functions | |
| void | STGMCARD_resetPanel (MemCardPanel *panel) |
| Empties the panel and stops it (panel->reset) | |
| void | STGMCARD_startPanel (MemCardPanel *panel, s32 substate, s32 duration) |
Starts the panel (panel->start): substate 1 opens it to 95% over duration frames while a card operation runs, 2 opens it fully and sets done. | |
| void | STGMCARD_setPanelTopColor (MemCardPanel *panel, u8 r, u8 g, u8 b) |
| Sets the color of the panel's gradient at its top (panel->setTopColor) | |
| void | STGMCARD_setPanelBottomColor (MemCardPanel *panel, u8 r, u8 g, u8 b) |
| Sets the color of the panel's gradient at its bottom (panel->setBottomColor) | |
| void | STGMCARD_setPanelPos (MemCardPanel *panel, s32 x, s32 y) |
| Moves the panel (panel->setPos) | |
| void | STGMCARD_updatePanel (MemCardPanel *panel) |
| The panel's task: opens it by scaling it horizontally, then draws it as a gradient with a sprite. | |
| MemCardPanel * | STGMCARD_createPanel (s32 x, s32 y, s32 w, s32 h) |
| Creates a gradient panel (task) at x, y, w by h, empty until started. | |
The panel that fills up while a card operation runs.
Definition in file panel.c.
| void STGMCARD_resetPanel | ( | MemCardPanel * | panel | ) |
Empties the panel and stops it (panel->reset)
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
Definition at line 6 of file panel.c.
Referenced by STGMCARD_createPanel(), and STGMCARD_updatePanel().
| void STGMCARD_startPanel | ( | MemCardPanel * | panel, |
| s32 | substate, | ||
| s32 | duration | ||
| ) |
Starts the panel (panel->start): substate 1 opens it to 95% over duration frames while a card operation runs, 2 opens it fully and sets done.
Definition at line 20 of file panel.c.
Referenced by STGMCARD_createPanel().
| void STGMCARD_setPanelTopColor | ( | MemCardPanel * | panel, |
| u8 | r, | ||
| u8 | g, | ||
| u8 | b | ||
| ) |
Sets the color of the panel's gradient at its top (panel->setTopColor)
Definition at line 27 of file panel.c.
Referenced by STGMCARD_createPanel().
| void STGMCARD_setPanelBottomColor | ( | MemCardPanel * | panel, |
| u8 | r, | ||
| u8 | g, | ||
| u8 | b | ||
| ) |
Sets the color of the panel's gradient at its bottom (panel->setBottomColor)
Definition at line 35 of file panel.c.
Referenced by STGMCARD_createPanel().
| void STGMCARD_setPanelPos | ( | MemCardPanel * | panel, |
| s32 | x, | ||
| s32 | y | ||
| ) |
Moves the panel (panel->setPos)
Definition at line 43 of file panel.c.
Referenced by STGMCARD_createPanel().
| void STGMCARD_updatePanel | ( | MemCardPanel * | panel | ) |
The panel's task: opens it by scaling it horizontally, then draws it as a gradient with a sprite.
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
Definition at line 50 of file panel.c.
Referenced by STGMCARD_createPanel().
| MemCardPanel * STGMCARD_createPanel | ( | s32 | x, |
| s32 | y, | ||
| s32 | w, | ||
| s32 | h | ||
| ) |
Creates a gradient panel (task) at x, y, w by h, empty until started.
Definition at line 147 of file panel.c.
Referenced by STGMCARD_pickPort().