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

The partners page: the choice between the sets of starting partners. More...

Include dependency graph for choice.c:

Go to the source code of this file.

Functions

void STPLNMET_createChoiceWindows (PartnerChoice *task, PartnerChoiceWindows *windows)
 Creates the choice's windows: the title, the three labels, the partners' name and text, and each partner's name and text.
 
void STPLNMET_showChoiceWindows (PartnerChoice *task, PartnerChoiceWindows *windows, s32 show)
 Shows the choice's windows with the texts of the partners under the arrow, or hides them.
 
void STPLNMET_drawChoice (PartnerChoice *task)
 Draws the choice: the three partners under the arrow (animated), the panel and the blinking arrow on the choice.
 
void STPLNMET_runChoice (PartnerChoice *task, PartnerChoiceWindows *windows)
 Picks one of the three choices of partners (up/down); cross confirms them (substate 100), triangle goes back to the name (substate 200)
 
void STPLNMET_hideChoice (PartnerChoice *task, s32 hide)
 Hides the choice of the partners, or shows it again (partners->hide)
 
void STPLNMET_updateChoice (PartnerChoice *task, PartnerChoiceWindows *windows)
 The choice's task: creates its windows and waits hidden, then runs and draws it while shown.
 
PartnerChoice * STPLNMET_createChoice (PlayerNameScreen *screen)
 Creates the choice of the partners (task), hidden.
 

Detailed Description

The partners page: the choice between the sets of starting partners.

Definition in file choice.c.

Function Documentation

◆ STPLNMET_createChoiceWindows()

void STPLNMET_createChoiceWindows ( PartnerChoice *  task,
PartnerChoiceWindows *  windows 
)

Creates the choice's windows: the title, the three labels, the partners' name and text, and each partner's name and text.

choice.c

< a light blue: what is highlighted or current

< a light blue: what is highlighted or current

< a light blue: what is highlighted or current

Definition at line 7 of file choice.c.

Referenced by STPLNMET_updateChoice().

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

◆ STPLNMET_showChoiceWindows()

void STPLNMET_showChoiceWindows ( PartnerChoice *  task,
PartnerChoiceWindows *  windows,
s32  show 
)

Shows the choice's windows with the texts of the partners under the arrow, or hides them.

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< DIGNAM

< NAMEET: the Digimon Online registration

Definition at line 31 of file choice.c.

Referenced by STPLNMET_hideChoice(), and STPLNMET_runChoice().

Here is the caller graph for this function:

◆ STPLNMET_drawChoice()

void STPLNMET_drawChoice ( PartnerChoice *  task)

Draws the choice: the three partners under the arrow (animated), the panel and the blinking arrow on the choice.

< the keyboard's and partners' sprites

< sprite bank

< sprite bank

< sprite bank

Definition at line 63 of file choice.c.

Referenced by STPLNMET_updateChoice().

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

◆ STPLNMET_runChoice()

void STPLNMET_runChoice ( PartnerChoice *  task,
PartnerChoiceWindows *  windows 
)

Picks one of the three choices of partners (up/down); cross confirms them (substate 100), triangle goes back to the name (substate 200)

< SYSTEM06

< SYSTEM07

< SYSTEM01

Definition at line 103 of file choice.c.

Referenced by STPLNMET_updateChoice().

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

◆ STPLNMET_hideChoice()

void STPLNMET_hideChoice ( PartnerChoice *  task,
s32  hide 
)

Hides the choice of the partners, or shows it again (partners->hide)

Definition at line 138 of file choice.c.

Referenced by STPLNMET_createChoice(), and STPLNMET_updateChoice().

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

◆ STPLNMET_updateChoice()

void STPLNMET_updateChoice ( PartnerChoice *  task,
PartnerChoiceWindows *  windows 
)

The choice's task: creates its windows and waits hidden, then runs and draws it while shown.

Definition at line 152 of file choice.c.

Referenced by STPLNMET_createChoice().

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

◆ STPLNMET_createChoice()

PartnerChoice * STPLNMET_createChoice ( PlayerNameScreen *  screen)

Creates the choice of the partners (task), hidden.

Definition at line 171 of file choice.c.

Referenced by STPLNMET_stepScreen().

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