|
Digimon World 3 decomp
The European version, SLES_039.36
|
The deck screen: the three decks and the options to edit or rename one; the files it loads; and the panels' openings and moves. More...
#include "cardgame/deck_editor.h"#include "shared/start_fade.inc.c"#include "shared/update_fade.inc.c"#include "shared/start_lerp.inc.c"#include "shared/update_lerp.inc.c"Go to the source code of this file.
Functions | |
| void | STCRDDEK_createScreenWindows (DeckScreen *task, DeckScreenChildren *children) |
| The title, each deck's name and six counts, the two options and the cursor, then every window from the title on takes the cursor's depth. | |
| void | STCRDDEK_showDeckRow (DeckScreen *task, DeckScreenChildren *children, s32 deck, s32 show) |
| Shows a deck's row: its name and how many cards of each kind it has, or hides it. | |
| void | STCRDDEK_drawScreen (DeckScreen *task) |
| Draws the screen: the background scrolling diagonally, the title panel, the decks' rows, the options' panel and the frame on the deck under the cursor (glowing until it is chosen), as they open. | |
| void | STCRDDEK_countCardKinds (DeckScreen *task) |
| Counts how many cards of each kind (their color) each of the three decks has. | |
| static void | STCRDDEK_chooseDeck (DeckScreen *task, DeckScreenChildren *children) |
| Up/down choose one of the three decks; cross offers what to do with it, triangle leaves the screen. | |
| static void | STCRDDEK_openDeckOptions (DeckScreen *task, DeckScreenChildren *children) |
| Once the options' panel has opened: shows edit folder and change name, the cursor on edit. | |
| static void | STCRDDEK_chooseDeckOption (DeckScreen *task, DeckScreenChildren *children) |
| Up/down choose to edit the deck or to rename it; cross closes the decks' rows to open it, triangle goes back to the decks. | |
| static void | STCRDDEK_startClosingRows (DeckScreen *task, DeckScreenChildren *children) |
| Closes the decks' rows, from the last, to open the editor or the name entry (step set): the cursor stays frozen on the chosen option. | |
| static void | STCRDDEK_closeFirstRow (DeckScreen *task, DeckScreenChildren *children) |
| Once the second deck's row has closed: hides the options (the title, step unset) and closes the first deck's row. | |
| static void | STCRDDEK_openChosen (DeckScreen *task, DeckScreenChildren *children) |
| Once the rows have closed: opens the editor or the name entry for the chosen deck and waits for it; after the fade out of triangle (step unset), ends the screen. | |
| void | STCRDDEK_stepScreen (DeckScreen *task, DeckScreenChildren *children) |
| The screen's states: opens the title and the decks' rows; cross on a deck offers to edit or rename it, closing the rows to open the editor or the name entry; triangle fades the screen out to leave. | |
| void | STCRDDEK_updateScreen (DeckScreen *task, DeckScreenChildren *children) |
| The screen's task: loads its files and creates its windows, then runs it; waits for the editor or the name entry (saving the deck's new name), then opens again; returns to the previous mode when it ends. | |
| DeckScreen * | STCRDDEK_createScreen (void) |
| Creates the deck screen (task) | |
| void | STCRDDEK_loadFiles (void) |
| Loads the screen's textures and requests the card images, the card texts and the keyboard. | |
| s32 | STCRDDEK_filesLoading (void) |
| Whether the texts or the keyboard are still loading (the card images aren't waited for) | |
The deck screen: the three decks and the options to edit or rename one; the files it loads; and the panels' openings and moves.
Definition in file screen.c.
| void STCRDDEK_createScreenWindows | ( | DeckScreen * | task, |
| DeckScreenChildren * | children | ||
| ) |
The title, each deck's name and six counts, the two options and the cursor, then every window from the title on takes the cursor's depth.
screen.c
Definition at line 8 of file screen.c.
Referenced by STCRDDEK_updateScreen().
| void STCRDDEK_showDeckRow | ( | DeckScreen * | task, |
| DeckScreenChildren * | children, | ||
| s32 | deck, | ||
| s32 | show | ||
| ) |
Shows a deck's row: its name and how many cards of each kind it has, or hides it.
Definition at line 36 of file screen.c.
Referenced by STCRDDEK_closeFirstRow(), STCRDDEK_startClosingRows(), and STCRDDEK_stepScreen().
| void STCRDDEK_drawScreen | ( | DeckScreen * | task | ) |
Draws the screen: the background scrolling diagonally, the title panel, the decks' rows, the options' panel and the frame on the deck under the cursor (glowing until it is chosen), as they open.
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< sprite bank
Definition at line 56 of file screen.c.
Referenced by STCRDDEK_updateScreen().
| void STCRDDEK_countCardKinds | ( | DeckScreen * | task | ) |
Counts how many cards of each kind (their color) each of the three decks has.
Definition at line 116 of file screen.c.
Referenced by STCRDDEK_createScreen(), and STCRDDEK_stepScreen().
|
inlinestatic |
Up/down choose one of the three decks; cross offers what to do with it, triangle leaves the screen.
< SYSTEM06
< SYSTEM07
< SYSTEM01
Definition at line 135 of file screen.c.
Referenced by STCRDDEK_stepScreen().
|
inlinestatic |
Once the options' panel has opened: shows edit folder and change name, the cursor on edit.
< CRDSHP: STCRDSHP's, and STCRDDEK's
< CRDSHP: STCRDSHP's, and STCRDDEK's
Definition at line 161 of file screen.c.
Referenced by STCRDDEK_stepScreen().
|
inlinestatic |
Up/down choose to edit the deck or to rename it; cross closes the decks' rows to open it, triangle goes back to the decks.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 174 of file screen.c.
Referenced by STCRDDEK_stepScreen().
|
inlinestatic |
Closes the decks' rows, from the last, to open the editor or the name entry (step set): the cursor stays frozen on the chosen option.
< what is unavailable
Definition at line 198 of file screen.c.
Referenced by STCRDDEK_stepScreen().
|
inlinestatic |
Once the second deck's row has closed: hides the options (the title, step unset) and closes the first deck's row.
Definition at line 211 of file screen.c.
Referenced by STCRDDEK_stepScreen().
|
inlinestatic |
Once the rows have closed: opens the editor or the name entry for the chosen deck and waits for it; after the fade out of triangle (step unset), ends the screen.
Definition at line 233 of file screen.c.
Referenced by STCRDDEK_stepScreen().
| void STCRDDEK_stepScreen | ( | DeckScreen * | task, |
| DeckScreenChildren * | children | ||
| ) |
The screen's states: opens the title and the decks' rows; cross on a deck offers to edit or rename it, closing the rows to open the editor or the name entry; triangle fades the screen out to leave.
< CRDSHP: STCRDSHP's, and STCRDDEK's
< CRDSHP: STCRDSHP's, and STCRDDEK's
Definition at line 249 of file screen.c.
Referenced by STCRDDEK_updateScreen().
| void STCRDDEK_updateScreen | ( | DeckScreen * | task, |
| DeckScreenChildren * | children | ||
| ) |
The screen's task: loads its files and creates its windows, then runs it; waits for the editor or the name entry (saving the deck's new name), then opens again; returns to the previous mode when it ends.
Definition at line 370 of file screen.c.
Referenced by STCRDDEK_createScreen().
| DeckScreen * STCRDDEK_createScreen | ( | void | ) |
| void STCRDDEK_loadFiles | ( | void | ) |