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

The partner menu, where the partner to rename is chosen. More...

Include dependency graph for menu.c:

Go to the source code of this file.

Functions

void STDGNAME_showMenuWindow (PartnerMenuTask *task, TextWindow **window, s32 index, s32 show)
 Shows (creating it the first time) or hides a text window of the partner menu: 2 to 4 are the party's names, the others strings of TEXT_DIGIMON_NAMING.
 
void STDGNAME_drawMenu (PartnerMenuTask *task, TextWindow **windows)
 Draws the partner menu, its parts opening by scaling: its three sprites (the one at the chosen partner in a cycling palette), each partner's animation in its slot and the slots' frames over a glow in a cycling palette.
 
s32 STDGNAME_runMenu (PartnerMenuTask *task, TextWindow **windows)
 Up/down choose a partner; cross picks it to rename, triangle leaves the screen (choice -1, fading out).
 
void STDGNAME_updateMenu (PartnerMenuTask *task, TextWindow **windows)
 The partner menu's task: opens its panels, then each partner's slot and name one after the other, runs the menu and closes everything once a choice is made.
 
PartnerMenuTask * STDGNAME_createMenu (ScreenTask *screen)
 Creates the partner menu (task) to pick the partner to rename.
 

Detailed Description

The partner menu, where the partner to rename is chosen.

Definition in file menu.c.

Function Documentation

◆ STDGNAME_showMenuWindow()

void STDGNAME_showMenuWindow ( PartnerMenuTask *  task,
TextWindow **  window,
s32  index,
s32  show 
)

Shows (creating it the first time) or hides a text window of the partner menu: 2 to 4 are the party's names, the others strings of TEXT_DIGIMON_NAMING.

menu.c

< DGNMET: STDGNAME's

Definition at line 7 of file menu.c.

Referenced by STDGNAME_updateMenu().

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

◆ STDGNAME_drawMenu()

void STDGNAME_drawMenu ( PartnerMenuTask *  task,
TextWindow **  windows 
)

Draws the partner menu, its parts opening by scaling: its three sprites (the one at the chosen partner in a cycling palette), each partner's animation in its slot and the slots' frames over a glow in a cycling palette.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< 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

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< sprite bank

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< sprite bank

< sprite bank

Definition at line 35 of file menu.c.

Referenced by STDGNAME_updateMenu().

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

◆ STDGNAME_runMenu()

s32 STDGNAME_runMenu ( PartnerMenuTask *  task,
TextWindow **  windows 
)

Up/down choose a partner; cross picks it to rename, triangle leaves the screen (choice -1, fading out).

1 once either is pressed

< SYSTEM06

< SYSTEM06

< SYSTEM07

< SYSTEM01

Definition at line 112 of file menu.c.

Referenced by STDGNAME_updateMenu().

Here is the caller graph for this function:

◆ STDGNAME_updateMenu()

void STDGNAME_updateMenu ( PartnerMenuTask *  task,
TextWindow **  windows 
)

The partner menu's task: opens its panels, then each partner's slot and name one after the other, runs the menu and closes everything once a choice is made.

Definition at line 141 of file menu.c.

Referenced by STDGNAME_createMenu().

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

◆ STDGNAME_createMenu()

PartnerMenuTask * STDGNAME_createMenu ( ScreenTask *  screen)

Creates the partner menu (task) to pick the partner to rename.

Definition at line 223 of file menu.c.

Referenced by STDGNAME_stepScreen().

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