|
Digimon World 3 decomp
The European version, SLES_039.36
|
The mode's main task, which runs the field menu's screens; the scroll bar; the files it loads; and the panels' openings and moves. More...
#include "menus/field_menu.h"#include "shared/set_scroll_bar_x.inc.c"#include "shared/set_scroll_bar_range.inc.c"#include "shared/set_scroll_bar_count.inc.c"#include "shared/set_scroll_bar_pos.inc.c"#include "shared/update_scroll_bar.inc.c"#include "shared/create_scroll_bar.inc.c"#include "shared/start_fade.inc.c"#include "shared/update_fade.inc.c"#include "shared/update_lerp.inc.c"Go to the source code of this file.
Macros | |
| #define | SCROLL_BAR_DEPTH 0 |
Functions | |
| void | STSTATUS_runScreens (FieldMenuScreen *menu, FieldMenuScreenChildren *children) |
| Opens the screen of FIELD_MENU_CHOICE (the item screen when it has none) and, once it closes, the field menu again. | |
| void | STSTATUS_drawBackground (FieldMenuScreen *menu) |
| Draws the scrolling background, sprite 0x1D at (bgScroll, bgScroll): it moves one pixel down and right every other frame, back to 0 at 0x60. | |
| void | STSTATUS_updateMenu (FieldMenuScreen *menu, FieldMenuScreenChildren *children) |
| The mode's main task: loads the files and the background's textures, then runs the screens (STSTATUS_runScreens); while the field menu is open (TASK_DONE) it waits for it to close. | |
| FieldMenuScreen * | STSTATUS_createMenu (void) |
| Creates the mode's main task and requests its background's files, the second half of the game's in the late game. | |
| void | STSTATUS_loadFiles (void) |
| Loads the menu's textures and requests its strings: the menu's, the items', the Digimon's and the skills' names and descriptions. | |
| s32 | STSTATUS_filesLoading (void) |
| Whether the menu's strings are still loading. | |
| void | STSTATUS_startLerp (MenuLerp *lerp, s32 from, s32 to, s32 frames) |
| Starts moving a value from FROM to TO in FRAMES frames, playing SOUND_MENU_OPEN; nothing when they are the same. | |
The mode's main task, which runs the field menu's screens; the scroll bar; the files it loads; and the panels' openings and moves.
Definition in file menu.c.
| void STSTATUS_runScreens | ( | FieldMenuScreen * | menu, |
| FieldMenuScreenChildren * | children | ||
| ) |
Opens the screen of FIELD_MENU_CHOICE (the item screen when it has none) and, once it closes, the field menu again.
Definition at line 16 of file menu.c.
Referenced by STSTATUS_updateMenu().
| void STSTATUS_drawBackground | ( | FieldMenuScreen * | menu | ) |
Draws the scrolling background, sprite 0x1D at (bgScroll, bgScroll): it moves one pixel down and right every other frame, back to 0 at 0x60.
Definition at line 41 of file menu.c.
Referenced by STSTATUS_updateMenu().
| void STSTATUS_updateMenu | ( | FieldMenuScreen * | menu, |
| FieldMenuScreenChildren * | children | ||
| ) |
The mode's main task: loads the files and the background's textures, then runs the screens (STSTATUS_runScreens); while the field menu is open (TASK_DONE) it waits for it to close.
Definition at line 60 of file menu.c.
Referenced by STSTATUS_createMenu().
| FieldMenuScreen * STSTATUS_createMenu | ( | void | ) |
| void STSTATUS_loadFiles | ( | void | ) |
Loads the menu's textures and requests its strings: the menu's, the items', the Digimon's and the skills' names and descriptions.
< STATUS: the field menu's and STSTATUS's
< ITMNAM
< ITMINF
< DIGNAM
< DIGINF
< SKLNAM
< SKLINF
Definition at line 130 of file menu.c.
| s32 STSTATUS_filesLoading | ( | void | ) |