Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
list_menu.inc.c File Reference

The parts of a list menu (StageListMenu), up to eight options that each open a message: WSTAG210's guide (event 8), WSTAG924's on the starters' digivolutions and on raising (events 1602 and 1604) and WSTAG935's on card battles and cards (1616 and 1618). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void createListMenu (StageListMenu *task, StageListMenuChildren *children)
 Creates the menu's eight option lines, its hidden cursor and its message box.
 
static void showListMenuOptions (StageListMenu *task, StageListMenuChildren *children, s32 n)
 Writes the options, lines 1 on of the menus' text entry n (each option's message is a line from 9 on), and shows the cursor.
 
static void moveListMenuCursor (StageListMenu *task)
 Moves the cursor up or down the list, held buttons repeating, without leaving it.
 
static void openListMenuMessage (StageListMenu *task, StageListMenuChildren *children, s32 n)
 Starts typing the message of the option under the cursor, from the menus' text entry n.
 
static void readListMenuMessage (StageListMenu *task, StageListMenuChildren *children)
 Pages through the option's message with X, the arrow blinking while a page waits for it, and moves on to the next substate once the message is done.
 
static void closeListMenu (StageListMenu *task, StageListMenuChildren *children)
 Hides the options and the cursor and starts closing the list's window.
 

Detailed Description

The parts of a list menu (StageListMenu), up to eight options that each open a message: WSTAG210's guide (event 8), WSTAG924's on the starters' digivolutions and on raising (events 1602 and 1604) and WSTAG935's on card battles and cards (1616 and 1618).

The stage defines MENU_TEXT, the menus' text file, before it includes this.

Definition in file list_menu.inc.c.

Function Documentation

◆ createListMenu()

static void createListMenu ( StageListMenu *  task,
StageListMenuChildren *  children 
)
inlinestatic

Creates the menu's eight option lines, its hidden cursor and its message box.

Definition at line 10 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showListMenuOptions()

static void showListMenuOptions ( StageListMenu *  task,
StageListMenuChildren *  children,
s32  n 
)
inlinestatic

Writes the options, lines 1 on of the menus' text entry n (each option's message is a line from 9 on), and shows the cursor.

Definition at line 31 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the caller graph for this function:

◆ moveListMenuCursor()

static void moveListMenuCursor ( StageListMenu *  task)
inlinestatic

Moves the cursor up or down the list, held buttons repeating, without leaving it.

Definition at line 41 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the caller graph for this function:

◆ openListMenuMessage()

static void openListMenuMessage ( StageListMenu *  task,
StageListMenuChildren *  children,
s32  n 
)
inlinestatic

Starts typing the message of the option under the cursor, from the menus' text entry n.

Definition at line 55 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the caller graph for this function:

◆ readListMenuMessage()

static void readListMenuMessage ( StageListMenu *  task,
StageListMenuChildren *  children 
)
inlinestatic

Pages through the option's message with X, the arrow blinking while a page waits for it, and moves on to the next substate once the message is done.

Definition at line 64 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the caller graph for this function:

◆ closeListMenu()

static void closeListMenu ( StageListMenu *  task,
StageListMenuChildren *  children 
)
inlinestatic

Hides the options and the cursor and starts closing the list's window.

Definition at line 80 of file list_menu.inc.c.

Referenced by updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), and updateListMenu().

Here is the caller graph for this function: