|
Digimon World 3 decomp
The European version, SLES_039.36
|
The second screen's entry panel: a partner's entries and its three slots, where the picked entry goes. More...
#include "menus/digimon_lab.h"Go to the source code of this file.
Functions | |
| void | STGDGLAB_createEntryPanelWindows (LabEntryPanel *panel, LabEntryPanelWindows *windows) |
| Creates the panel's windows and cursors. | |
| void | STGDGLAB_showEntryPanel (LabEntryPanel *panel, LabEntryPanelWindows *windows, s32 show) |
| Shows the page of the partner's entries, and the stats and skills of the one under the cursor; or hides the panel's windows. | |
| void | STGDGLAB_showEntryPanelOptions (LabEntryPanel *panel, LabEntryPanelWindows *windows, s32 show) |
| Shows the panel's options (the names of its three slots, then two strings of file 0x3A), or hides them. | |
| static s32 | moveEntryCursor (LabEntryPanel *panel) |
| Moves the cursor over the entries: the shoulder buttons scroll five rows, up and down move a row (scrolling at the edges) and left and right a column, skipping empty entries; 1 when it moved. | |
| static void | putPickedEntry (LabEntryPanel *panel, LabEntryPanelWindows *windows) |
| Cross on an entry: one already in a slot is refused; otherwise it goes in the slot, and the options' panel opens when the slot held the entry the partner digivolves to in battle, else the panel closes. | |
| static void | pickBattleDigivolve (LabEntryPanel *panel, LabEntryPanelWindows *windows) |
| The options' panel: up and down pick the slot to digivolve to in battle, or none; cross sets it as the partner's, triangle sets none. | |
| static void | drawEntryPanel (LabEntryPanel *panel) |
| Draws the panel: the entries' marks, the blinking scroll arrows, the frames, the picked entry's skill icons and, while it is shown, the options' panel. | |
| void | STGDGLAB_updateEntryPanel (LabEntryPanel *panel, LabEntryPanelWindows *windows) |
| The panel's task: lists the partner's entries two by two, with the shoulder buttons scrolling five rows at a time; cross puts the picked entry in the slot and, when the slot held the partner's current entry, asks for the new one; triangle closes it. | |
| LabEntryPanel * | STGDGLAB_createEntryPanel (s32 partner, s32 slot) |
| Creates the second screen's panel (task) where one of the partner's entries is picked for one of its three slots. | |
The second screen's entry panel: a partner's entries and its three slots, where the picked entry goes.
Definition in file entry_panel.c.
| void STGDGLAB_createEntryPanelWindows | ( | LabEntryPanel * | panel, |
| LabEntryPanelWindows * | windows | ||
| ) |
Creates the panel's windows and cursors.
Definition at line 7 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
| void STGDGLAB_showEntryPanel | ( | LabEntryPanel * | panel, |
| LabEntryPanelWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the page of the partner's entries, and the stats and skills of the one under the cursor; or hides the panel's windows.
< what is unavailable
< DIGNAM
< DIGNAM
< DGLABO: STGDGLAB's
< SKLNAM
< the skill, from 1 (TECHS[id - 1])
< the sixth skill
< marked in the lab (STGDGLAB_updateSkillPanel)
Definition at line 43 of file entry_panel.c.
Referenced by putPickedEntry(), and STGDGLAB_updateEntryPanel().
| void STGDGLAB_showEntryPanelOptions | ( | LabEntryPanel * | panel, |
| LabEntryPanelWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the panel's options (the names of its three slots, then two strings of file 0x3A), or hides them.
< DIGNAM
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
Definition at line 136 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
|
inlinestatic |
Moves the cursor over the entries: the shoulder buttons scroll five rows, up and down move a row (scrolling at the edges) and left and right a column, skipping empty entries; 1 when it moved.
Definition at line 157 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
|
inlinestatic |
Cross on an entry: one already in a slot is refused; otherwise it goes in the slot, and the options' panel opens when the slot held the entry the partner digivolves to in battle, else the panel closes.
< SYSTEM01
< SYSTEM00: a choice is taken
Definition at line 252 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
|
inlinestatic |
The options' panel: up and down pick the slot to digivolve to in battle, or none; cross sets it as the partner's, triangle sets none.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 289 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
|
inlinestatic |
Draws the panel: the entries' marks, the blinking scroll arrows, the frames, the picked entry's skill icons and, while it is shown, the options' panel.
< GTE regards 4096 as 1.0
< 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
Definition at line 327 of file entry_panel.c.
Referenced by STGDGLAB_updateEntryPanel().
| void STGDGLAB_updateEntryPanel | ( | LabEntryPanel * | panel, |
| LabEntryPanelWindows * | windows | ||
| ) |
The panel's task: lists the partner's entries two by two, with the shoulder buttons scrolling five rows at a time; cross puts the picked entry in the slot and, when the slot held the partner's current entry, asks for the new one; triangle closes it.
< SYSTEM02: a cursor moves
< SYSTEM01
< what is unavailable
Definition at line 392 of file entry_panel.c.
Referenced by STGDGLAB_createEntryPanel().
| LabEntryPanel * STGDGLAB_createEntryPanel | ( | s32 | partner, |
| s32 | slot | ||
| ) |
Creates the second screen's panel (task) where one of the partner's entries is picked for one of its three slots.
Definition at line 493 of file entry_panel.c.
Referenced by STGDGLAB_runSlotScreen().