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

The confirmation page: the name and the partners chosen, yes or no, and the progress. More...

Include dependency graph for confirm.c:

Go to the source code of this file.

Functions

void STPLNMET_createConfirmWindows (NameConfirm *task, NameConfirmWindows *windows)
 Creates the confirmation's windows: the title, the name, the partners' name, the message, yes and no with their cursor, and the progress.
 
void STPLNMET_showConfirmWindows (NameConfirm *task, NameConfirmWindows *windows, s32 show)
 Shows the confirmation's windows with the name typed (without its leading spaces) and the partners chosen, the cursor on yes or no; or hides them.
 
void STPLNMET_drawConfirm (NameConfirm *task)
 Draws the confirmation: the title panel with its glow, the three partners chosen (animated) and the panels, as they open, and the progress bar while the progress counts up.
 
void STPLNMET_runConfirm (NameConfirm *task, NameConfirmWindows *windows)
 The confirmation's states: yes or no (substate 200 for no or triangle); yes counts the progress up to 100, then waits 120 frames before substate 100.
 
void STPLNMET_hideConfirm (NameConfirm *task, s32 hide)
 Hides the confirmation, or shows it again (confirm->hide) with its cursor on yes and the partners' animations from their first frame.
 
void STPLNMET_closeConfirm (NameConfirm *task)
 Starts closing the confirmation (confirm->close): its panels close, then it ends.
 
void STPLNMET_updateConfirm (NameConfirm *task, NameConfirmWindows *windows)
 The confirmation's task: creates its windows and waits hidden with its panels open, then runs and draws it while shown.
 
NameConfirm * STPLNMET_createConfirm (PlayerNameScreen *screen)
 Creates the confirmation of the name and the partners (task), hidden.
 

Detailed Description

The confirmation page: the name and the partners chosen, yes or no, and the progress.

Definition in file confirm.c.

Function Documentation

◆ STPLNMET_createConfirmWindows()

void STPLNMET_createConfirmWindows ( NameConfirm *  task,
NameConfirmWindows *  windows 
)

Creates the confirmation's windows: the title, the name, the partners' name, the message, yes and no with their cursor, and the progress.

confirm.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

< a light blue: what is highlighted or current

< 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 8 of file confirm.c.

Referenced by STPLNMET_updateConfirm().

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

◆ STPLNMET_showConfirmWindows()

void STPLNMET_showConfirmWindows ( NameConfirm *  task,
NameConfirmWindows *  windows,
s32  show 
)

Shows the confirmation's windows with the name typed (without its leading spaces) and the partners chosen, the cursor on yes or no; or hides them.

< NAMEET: the Digimon Online registration

< full-width space, 0x81 0x40

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

Definition at line 30 of file confirm.c.

Referenced by STPLNMET_hideConfirm(), and STPLNMET_runConfirm().

Here is the caller graph for this function:

◆ STPLNMET_drawConfirm()

void STPLNMET_drawConfirm ( NameConfirm *  task)

Draws the confirmation: the title panel with its glow, the three partners chosen (animated) and the panels, as they open, and the progress bar while the progress counts up.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< sprite bank

< sprite bank

< GTE regards 4096 as 1.0

< the keyboard's and partners' sprites

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< sprite bank

< sprite bank

< GTE regards 4096 as 1.0

< sprite bank

< sprite bank

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

Definition at line 61 of file confirm.c.

Referenced by STPLNMET_updateConfirm().

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

◆ STPLNMET_runConfirm()

void STPLNMET_runConfirm ( NameConfirm *  task,
NameConfirmWindows *  windows 
)

The confirmation's states: yes or no (substate 200 for no or triangle); yes counts the progress up to 100, then waits 120 frames before substate 100.

Once closing, closes the panels and ends

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< NAMEET: the Digimon Online registration

< NAMEET: the Digimon Online registration

< SYSTEM01

< NAMEET: the Digimon Online registration

< SYSTEM10: a number counts up or down

Definition at line 165 of file confirm.c.

Referenced by STPLNMET_updateConfirm().

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

◆ STPLNMET_hideConfirm()

void STPLNMET_hideConfirm ( NameConfirm *  task,
s32  hide 
)

Hides the confirmation, or shows it again (confirm->hide) with its cursor on yes and the partners' animations from their first frame.

Definition at line 240 of file confirm.c.

Referenced by STPLNMET_createConfirm(), and STPLNMET_updateConfirm().

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

◆ STPLNMET_closeConfirm()

void STPLNMET_closeConfirm ( NameConfirm *  task)

Starts closing the confirmation (confirm->close): its panels close, then it ends.

Definition at line 259 of file confirm.c.

Referenced by STPLNMET_createConfirm().

Here is the caller graph for this function:

◆ STPLNMET_updateConfirm()

void STPLNMET_updateConfirm ( NameConfirm *  task,
NameConfirmWindows *  windows 
)

The confirmation's task: creates its windows and waits hidden with its panels open, then runs and draws it while shown.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

Definition at line 265 of file confirm.c.

Referenced by STPLNMET_createConfirm().

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

◆ STPLNMET_createConfirm()

NameConfirm * STPLNMET_createConfirm ( PlayerNameScreen *  screen)

Creates the confirmation of the name and the partners (task), hidden.

Definition at line 288 of file confirm.c.

Referenced by STPLNMET_stepScreen().

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