|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's partner info, the pages of a partner's stats and techniques. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_drawPageArrows (PartnerInfo *task) |
| Draws the PartnerInfo's blinking page arrows. | |
| void | FIGHTSTG_showPageButtons (PartnerInfo *task, TextWindow **windows) |
| Shows the PartnerInfo's page buttons (texts 0x11 and 0x12) | |
| void | FIGHTSTG_drawStatsFrame (PartnerInfo *task) |
| Draws the frame of the stats page. | |
| void | FIGHTSTG_showStats (PartnerInfo *task, TextWindow **windows) |
| Creates the thirteen stat numbers of FIGHTSTG_statLines (up to 999), right aligned, in palette 6 for windows 5, 6 and 9 when stats 19, 20 and 21 are set. | |
| void | FIGHTSTG_drawTechIcons (PartnerInfo *task) |
| Draws the techniques page's icons and frame. | |
| void | FIGHTSTG_showTechs (PartnerInfo *task, TextWindow **windows) |
| Shows the techniques page: the level (text 0x1A for none) and the six techniques' names, the partner's own in yellow and those it can pass on in green. | |
| void | FIGHTSTG_updatePartnerInfo (PartnerInfo *task, TextWindow **windows) |
| The PartnerInfo's task: works out its page (the stats with the slot's Digimon's added, that Digimon's techniques, or those the partner's other Digimon can pass on) and makes its windows, then draws the page each frame. | |
| PartnerInfo * | FIGHTSTG_createPartnerInfo (s32 partner, s32 page, s32 slot) |
| Shows page page about the partner in slot (0 for itself) | |
Variables | |
| StatLine | FIGHTSTG_statLines [13] |
| the stat numbers of FIGHTSTG_showStats | |
FIGHTSTG's partner info, the pages of a partner's stats and techniques.
Definition in file partner_info.c.
| void FIGHTSTG_drawPageArrows | ( | PartnerInfo * | task | ) |
Draws the PartnerInfo's blinking page arrows.
< the HUD, the menus and the messages
Definition at line 6 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_showPageButtons | ( | PartnerInfo * | task, |
| TextWindow ** | windows | ||
| ) |
Shows the PartnerInfo's page buttons (texts 0x11 and 0x12)
< MFIGHT: WFIGHTMN's
< the HUD, the menus and the messages
< the HUD, the menus and the messages
Definition at line 20 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_drawStatsFrame | ( | PartnerInfo * | task | ) |
Draws the frame of the stats page.
< the HUD, the menus and the messages
Definition at line 32 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_showStats | ( | PartnerInfo * | task, |
| TextWindow ** | windows | ||
| ) |
Creates the thirteen stat numbers of FIGHTSTG_statLines (up to 999), right aligned, in palette 6 for windows 5, 6 and 9 when stats 19, 20 and 21 are set.
The match depends on reading the stat through a pointer sum.
< the HUD, the menus and the messages
Definition at line 66 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_drawTechIcons | ( | PartnerInfo * | task | ) |
Draws the techniques page's icons and frame.
< the HUD, the menus and the messages
< the skill, from 1 (TECHS[id - 1])
Definition at line 91 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_showTechs | ( | PartnerInfo * | task, |
| TextWindow ** | windows | ||
| ) |
Shows the techniques page: the level (text 0x1A for none) and the six techniques' names, the partner's own in yellow and those it can pass on in green.
< MFIGHT: WFIGHTMN's
< the HUD, the menus and the messages
< the HUD, the menus and the messages
< the HUD, the menus and the messages
< SKLNAM
< the skill, from 1 (TECHS[id - 1])
< marked in the lab (STGDGLAB_updateSkillPanel)
Definition at line 115 of file partner_info.c.
Referenced by FIGHTSTG_updatePartnerInfo().
| void FIGHTSTG_updatePartnerInfo | ( | PartnerInfo * | task, |
| TextWindow ** | windows | ||
| ) |
The PartnerInfo's task: works out its page (the stats with the slot's Digimon's added, that Digimon's techniques, or those the partner's other Digimon can pass on) and makes its windows, then draws the page each frame.
< the first of the seven resistances
< marked in the lab (STGDGLAB_updateSkillPanel)
< the skill, from 1 (TECHS[id - 1])
Definition at line 146 of file partner_info.c.
Referenced by FIGHTSTG_createPartnerInfo().
| PartnerInfo * FIGHTSTG_createPartnerInfo | ( | s32 | partner, |
| s32 | page, | ||
| s32 | slot | ||
| ) |
Shows page page about the partner in slot (0 for itself)
Definition at line 273 of file partner_info.c.
Referenced by FIGHTSTG_updateDigivolveMenu(), and updatePartnerInfoPage().
| StatLine FIGHTSTG_statLines[13] |
the stat numbers of FIGHTSTG_showStats
Definition at line 47 of file partner_info.c.
Referenced by FIGHTSTG_showStats().