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

FIGHTSTG's technique menu. More...

Include dependency graph for tech_menu.c:

Go to the source code of this file.

Functions

void FIGHTSTG_drawTechMenu (TechMenu *task)
 Draws the page's technique icons, the page arrows (blinking) and the frame.
 
void FIGHTSTG_createTechWindows (TechMenu *task, TechMenuChild *children)
 Makes the technique menu's windows: the page buttons, the active fighter's MP over its max (or a text by its MP for a temporary Digimon), the six names, the description and the technique's MP cost.
 
void FIGHTSTG_showTechPage (TechMenu *task, TechMenuChild *children)
 Shows the page's techniques (palette 7 for those the fighter lacks the MP for, 3 its signature one, 4 those passed on) and the description and MP cost of the one under the cursor, or text 0x13 when there are none.
 
static void listSlotTechs (TechMenu *task, BattleFighter *fighter, s32 member, s32 id)
 The techniques of a Digimon of the partner's slots: its entry's, its signature one when it is temporary, then the ones the other entries can pass on.
 
static void setTechPages (TechMenu *task)
 Counts the menu's pages and sets the cursor's lines for the first one.
 
static void showNewTechPage (TechMenu *task, TechMenuChild *children)
 Shows the page turned to, with the cursor on its first line.
 
void FIGHTSTG_updateTechMenu (TechMenu *task, TechMenuChild *children)
 The battle's technique menu: the active fighter's techniques (a Digimon of a partner's slots has its entry's, its signature one and the ones the other entries can pass on), six a page.
 
TechMenu * FIGHTSTG_createTechMenu (s32 *result)
 Opens the battle's technique menu; *result gets the technique picked, or -2 to go back.
 

Detailed Description

FIGHTSTG's technique menu.

Definition in file tech_menu.c.

Function Documentation

◆ FIGHTSTG_drawTechMenu()

void FIGHTSTG_drawTechMenu ( TechMenu *  task)

Draws the page's technique icons, the page arrows (blinking) and the frame.

< the HUD, the menus and the messages

< the skill, from 1 (TECHS[id - 1])

Definition at line 6 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu().

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

◆ FIGHTSTG_createTechWindows()

void FIGHTSTG_createTechWindows ( TechMenu *  task,
TechMenuChild *  children 
)

Makes the technique menu's windows: the page buttons, the active fighter's MP over its max (or a text by its MP for a temporary Digimon), the six names, the description and the technique's MP cost.

< MFIGHT: WFIGHTMN's

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

< the HUD, the menus and the messages

Definition at line 45 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu().

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

◆ FIGHTSTG_showTechPage()

void FIGHTSTG_showTechPage ( TechMenu *  task,
TechMenuChild *  children 
)

Shows the page's techniques (palette 7 for those the fighter lacks the MP for, 3 its signature one, 4 those passed on) and the description and MP cost of the one under the cursor, or text 0x13 when there are none.

< SKLNAM

< the skill, from 1 (TECHS[id - 1])

< marked in the lab (STGDGLAB_updateSkillPanel)

< what is unavailable

< marked in the lab (STGDGLAB_updateSkillPanel)

< MFIGHT: WFIGHTMN's

< MFIGHT: WFIGHTMN's

< what is unavailable

< what is unavailable

< SKLINF

< the skill, from 1 (TECHS[id - 1])

< MFIGHT: WFIGHTMN's

< marked in the lab (STGDGLAB_updateSkillPanel)

< MFIGHT: WFIGHTMN's

Definition at line 87 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu(), and showNewTechPage().

Here is the caller graph for this function:

◆ listSlotTechs()

static void listSlotTechs ( TechMenu *  task,
BattleFighter *  fighter,
s32  member,
s32  id 
)
inlinestatic

The techniques of a Digimon of the partner's slots: its entry's, its signature one when it is temporary, then the ones the other entries can pass on.

< marked in the lab (STGDGLAB_updateSkillPanel)

< the skill, from 1 (TECHS[id - 1])

< the skill, from 1 (TECHS[id - 1])

< marked in the lab (STGDGLAB_updateSkillPanel)

< the skill, from 1 (TECHS[id - 1])

< the skill, from 1 (TECHS[id - 1])

Definition at line 152 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu().

Here is the caller graph for this function:

◆ setTechPages()

static void setTechPages ( TechMenu *  task)
inlinestatic

Counts the menu's pages and sets the cursor's lines for the first one.

Definition at line 217 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu().

Here is the caller graph for this function:

◆ showNewTechPage()

static void showNewTechPage ( TechMenu *  task,
TechMenuChild *  children 
)
inlinestatic

Shows the page turned to, with the cursor on its first line.

< SYSTEM06

Definition at line 240 of file tech_menu.c.

Referenced by FIGHTSTG_updateTechMenu().

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

◆ FIGHTSTG_updateTechMenu()

void FIGHTSTG_updateTechMenu ( TechMenu *  task,
TechMenuChild *  children 
)

The battle's technique menu: the active fighter's techniques (a Digimon of a partner's slots has its entry's, its signature one and the ones the other entries can pass on), six a page.

L1 and R1 turn the pages, cross picks the technique under the cursor into *result, spending its MP (a temporary Digimon spends none), and triangle gives -2

< SYSTEM07

< the skill, from 1 (TECHS[id - 1])

< the skill, from 1 (TECHS[id - 1])

< SYSTEM01

Definition at line 258 of file tech_menu.c.

Referenced by FIGHTSTG_createTechMenu().

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

◆ FIGHTSTG_createTechMenu()

TechMenu * FIGHTSTG_createTechMenu ( s32 *  result)

Opens the battle's technique menu; *result gets the technique picked, or -2 to go back.

Definition at line 344 of file tech_menu.c.

Referenced by runTechMenu().

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