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

The second screen's skill panel, where a slot's Digimon's skills are marked. More...

Include dependency graph for skill_panel.c:

Go to the source code of this file.

Functions

void STGDGLAB_createSkillPanelWindows (LabSkillPanel *panel, LabSkillPanelWindows *windows)
 Creates the panel's windows and cursors.
 
void STGDGLAB_showSkillPanel (LabSkillPanel *panel, LabSkillPanelWindows *windows, s32 show)
 Shows the slot's Digimon's skills, each marked or not and in the palette of marked, last or unknown ones, how many are marked, and the cursor's skill's description and MP; or hides the panel's windows.
 
static void STGDGLAB_drawSkillPanel (LabSkillPanel *panel)
 Draws the panel, its skills' icons once it is open, and the yes/no box.
 
static void STGDGLAB_askMark (LabSkillPanel *panel, LabSkillPanelWindows *windows, s32 message)
 Asks whether to unmark (message 7) or mark (8) the skill, yes first.
 
static void STGDGLAB_answerMark (LabSkillPanel *panel, LabSkillPanelWindows *windows, s32 mark)
 The yes/no answer: yes marks the skill (or unmarks it), and either closes the question.
 
static void STGDGLAB_pickSkill (LabSkillPanel *panel, LabSkillPanelWindows *windows)
 The skill list: up and down move the cursor; cross marks the skill or unmarks it, after a yes/no, or says why it can't; triangle closes the panel.
 
void STGDGLAB_updateSkillPanel (LabSkillPanel *panel, LabSkillPanelWindows *windows)
 The panel of a partner's Digimon's skills: up and down pick one, cross marks it to pass on or unmarks it, after a yes/no, or says why it can't be marked, and triangle saves the entry and closes the panel.
 
LabSkillPanel * STGDGLAB_createSkillPanel (s32 member, s32 slot)
 Creates the second screen's skill panel (task) for a slot of a partner (the MEMBER parameter is a partner id, from getPartyMember)
 

Detailed Description

The second screen's skill panel, where a slot's Digimon's skills are marked.

Definition in file skill_panel.c.

Function Documentation

◆ STGDGLAB_createSkillPanelWindows()

void STGDGLAB_createSkillPanelWindows ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows 
)

Creates the panel's windows and cursors.

skill_panel.c

Definition at line 6 of file skill_panel.c.

Referenced by STGDGLAB_updateSkillPanel().

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

◆ STGDGLAB_showSkillPanel()

void STGDGLAB_showSkillPanel ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows,
s32  show 
)

Shows the slot's Digimon's skills, each marked or not and in the palette of marked, last or unknown ones, how many are marked, and the cursor's skill's description and MP; or hides the panel's windows.

< DIGNAM

< SKLNAM

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

< marked in the lab (STGDGLAB_updateSkillPanel)

< DGLABO: STGDGLAB's

< DGLABO: STGDGLAB's

< marked in the lab (STGDGLAB_updateSkillPanel)

< the sixth skill

< what is unavailable

< what is unavailable

< DGLABO: STGDGLAB's

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

< SKLINF

< DGLABO: STGDGLAB's

Definition at line 40 of file skill_panel.c.

Referenced by STGDGLAB_pickSkill(), and STGDGLAB_updateSkillPanel().

Here is the caller graph for this function:

◆ STGDGLAB_drawSkillPanel()

static void STGDGLAB_drawSkillPanel ( LabSkillPanel *  panel)
inlinestatic

Draws the panel, its skills' icons once it is open, and the yes/no box.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

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

< 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

< GTE regards 4096 as 1.0

Definition at line 104 of file skill_panel.c.

Referenced by STGDGLAB_updateSkillPanel().

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

◆ STGDGLAB_askMark()

static void STGDGLAB_askMark ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows,
s32  message 
)
inlinestatic

Asks whether to unmark (message 7) or mark (8) the skill, yes first.

< DGLABO: STGDGLAB's

< DGLABO: STGDGLAB's

< DGLABO: STGDGLAB's

Definition at line 142 of file skill_panel.c.

Referenced by STGDGLAB_updateSkillPanel().

Here is the caller graph for this function:

◆ STGDGLAB_answerMark()

static void STGDGLAB_answerMark ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows,
s32  mark 
)
inlinestatic

The yes/no answer: yes marks the skill (or unmarks it), and either closes the question.

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< marked in the lab (STGDGLAB_updateSkillPanel)

< marked in the lab (STGDGLAB_updateSkillPanel)

< SYSTEM01

Definition at line 154 of file skill_panel.c.

Referenced by STGDGLAB_updateSkillPanel().

Here is the caller graph for this function:

◆ STGDGLAB_pickSkill()

static void STGDGLAB_pickSkill ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows 
)
inlinestatic

The skill list: up and down move the cursor; cross marks the skill or unmarks it, after a yes/no, or says why it can't; triangle closes the panel.

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< marked in the lab (STGDGLAB_updateSkillPanel)

< the sixth skill

< DGLABO: STGDGLAB's

< DGLABO: STGDGLAB's

< DGLABO: STGDGLAB's

< what is unavailable

< SYSTEM01

Definition at line 193 of file skill_panel.c.

Referenced by STGDGLAB_updateSkillPanel().

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

◆ STGDGLAB_updateSkillPanel()

void STGDGLAB_updateSkillPanel ( LabSkillPanel *  panel,
LabSkillPanelWindows *  windows 
)

The panel of a partner's Digimon's skills: up and down pick one, cross marks it to pass on or unmarks it, after a yes/no, or says why it can't be marked, and triangle saves the entry and closes the panel.

< DGLABO: STGDGLAB's

< SYSTEM00: a choice is taken

Definition at line 251 of file skill_panel.c.

Referenced by STGDGLAB_createSkillPanel().

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

◆ STGDGLAB_createSkillPanel()

LabSkillPanel * STGDGLAB_createSkillPanel ( s32  member,
s32  slot 
)

Creates the second screen's skill panel (task) for a slot of a partner (the MEMBER parameter is a partner id, from getPartyMember)

Definition at line 339 of file skill_panel.c.

Referenced by STGDGLAB_runSlotScreen().

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