|
Digimon World 3 decomp
The European version, SLES_039.36
|
"PRESS START", then the two options (new game, continue) More...
#include "menus/title.h"Go to the source code of this file.
Macros | |
| #define | MENU_SPRITE(i) (STDWTITL_menuSprites[LANGUAGE][i]) |
| The menu's sprites: the European version has them for each language. | |
Functions | |
| void | STDWTITL_drawMenu (TitleMenuTask *task) |
| Draws the menu: the cursor while it is shown, then "PRESS START" or the two options, the one not picked dimmed. | |
| static void | runPressStart (TitleMenuTask *task) |
| "PRESS START": waits a moment, then for Start (choice 3 after ten seconds), blinks and spreads the two options out from it | |
| static void | runOptions (TitleMenuTask *task) |
| The two options: up and down move between new game and continue, and the confirm button blinks the option and sets choice. | |
| void | STDWTITL_tickMenu (TitleMenuTask *task) |
| The menu's task: once shown, waits for Start on "PRESS START" (choice 3 after ten seconds), blinks and spreads out the two options; then moves between new game and continue, and the confirm button blinks the option and sets choice. | |
| void | STDWTITL_showMenu (TitleMenuTask *task) |
| Shows "PRESS START" (the task's show), only while it waits. | |
| void | STDWTITL_resetMenu (TitleMenuTask *task) |
| Back to waiting for Start on "PRESS START" (the task's reset), only while running; nothing in the overlay calls it. | |
| s32 | STDWTITL_getMenuChoice (TitleMenuTask *task) |
| The menu's choice (the task's getChoice): 0 none yet, 1 new game, 2 continue, 3 timed out. | |
| TitleMenuTask * | STDWTITL_startMenuTask (s16 skip) |
| Creates the title screen's menu (task); skip: the two options shown from the start. | |
"PRESS START", then the two options (new game, continue)
Definition in file menu.c.
| #define MENU_SPRITE | ( | i | ) | (STDWTITL_menuSprites[LANGUAGE][i]) |
| void STDWTITL_drawMenu | ( | TitleMenuTask * | task | ) |
Draws the menu: the cursor while it is shown, then "PRESS START" or the two options, the one not picked dimmed.
menu.c
Definition at line 14 of file menu.c.
Referenced by STDWTITL_tickMenu().
|
inlinestatic |
"PRESS START": waits a moment, then for Start (choice 3 after ten seconds), blinks and spreads the two options out from it
< SYSTEM00: a choice is taken
Definition at line 48 of file menu.c.
Referenced by STDWTITL_tickMenu().
|
inlinestatic |
The two options: up and down move between new game and continue, and the confirm button blinks the option and sets choice.
< SYSTEM02: a cursor moves
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
Definition at line 104 of file menu.c.
Referenced by STDWTITL_tickMenu().
| void STDWTITL_tickMenu | ( | TitleMenuTask * | task | ) |
The menu's task: once shown, waits for Start on "PRESS START" (choice 3 after ten seconds), blinks and spreads out the two options; then moves between new game and continue, and the confirm button blinks the option and sets choice.
Definition at line 158 of file menu.c.
Referenced by STDWTITL_startMenuTask().
| void STDWTITL_showMenu | ( | TitleMenuTask * | task | ) |
Shows "PRESS START" (the task's show), only while it waits.
Definition at line 185 of file menu.c.
Referenced by STDWTITL_startMenuTask().
| void STDWTITL_resetMenu | ( | TitleMenuTask * | task | ) |
Back to waiting for Start on "PRESS START" (the task's reset), only while running; nothing in the overlay calls it.
Definition at line 193 of file menu.c.
Referenced by STDWTITL_startMenuTask().
| s32 STDWTITL_getMenuChoice | ( | TitleMenuTask * | task | ) |
The menu's choice (the task's getChoice): 0 none yet, 1 new game, 2 continue, 3 timed out.
Definition at line 204 of file menu.c.
Referenced by STDWTITL_startMenuTask().
| TitleMenuTask * STDWTITL_startMenuTask | ( | s16 | skip | ) |
Creates the title screen's menu (task); skip: the two options shown from the start.
Definition at line 209 of file menu.c.
Referenced by STDWTITL_tickTitle().