|
Digimon World 3 decomp
The European version, SLES_039.36
|
STGDGLAB.PRO: the Digimon Lab (MODE_DIGI_LAB; "デジモンラボ" in STAGSLCT's list of scenes), where the partners' digivolutions are set. More...
#include "engine/game.h"Go to the source code of this file.
Data Structures | |
| struct | LabMenu |
| The lab's main menu (STGDGLAB_createMenu) More... | |
| struct | LabMenuWindows |
| struct | LabRecipe |
| A recipe of STGDGLAB_data's tables. More... | |
| struct | LabWindowPos |
| Where a window of the menu or the first screen goes, and its string. More... | |
| struct | LabPartyScreen |
| The main menu's first screen (STGDGLAB_createPartyScreen) More... | |
| struct | LabPartyScreenWindows |
| struct | LabSlotScreen |
| The main menu's second screen (STGDGLAB_createSlotScreen) More... | |
| struct | LabSlotScreenWindows |
| struct | LabRecipeScreen |
| The main menu's third screen (STGDGLAB_createRecipeScreen) More... | |
| struct | LabRecipeScreenWindows |
| struct | LabEntryPanel |
| A panel of the second screen (STGDGLAB_createEntryPanel): a partner's entries and its three slots. More... | |
| struct | LabEntryPanelWindows |
| struct | LabSkillPanel |
| A panel of the second screen (STGDGLAB_createSkillPanel) More... | |
| struct | LabSkillPanelWindows |
| struct | LabEntryList |
| A panel of the main menu (STGDGLAB_createEntryList) More... | |
| struct | LabEntryListWindows |
| struct | Lab |
| The mode's main task (STGDGLAB_createLab) More... | |
| struct | LabChildren |
| struct | LabEntry |
| An entry of STGDGLAB_entries: a Digimon of the recipes (GET_DIGIMON) More... | |
| struct | LabFuncs |
| The lab's helpers (STGDGLAB_data.funcs) More... | |
| struct | LabData |
| The overlay's tables and helpers. More... | |
Macros | |
| #define | OVL_NAME(name) STGDGLAB_##name |
| The name of this overlay's copy of a function of src/shared/. | |
| #define | FILE_LAB_SPRITES 0x2C5 |
| The lab's sprite sheet; the next file is its texture archive. | |
Functions | |
| void | STGDGLAB_updateScene (Task *task, Lab **child) |
| scene.c | |
| void | STGDGLAB_startFader (ScreenFade *task, s32 fadeIn, s32 duration) |
| void | STGDGLAB_drawFader (ScreenFade *task) |
| void | STGDGLAB_updateFader (ScreenFade *task) |
| ScreenFade * | STGDGLAB_createFader (void) |
| s32 | STGDGLAB_findRecipe (LabRecipeScreen *screen, s32 row, u32 col, s32 slot) |
| recipe_screen.c | |
| s32 | STGDGLAB_hasRecipeId (LabRecipeScreen *screen, s32 row, u32 col) |
| Whether the partner has the first id of the recipe (row, col); 0 for a column past the recipes. | |
| s32 | STGDGLAB_countRowIds (LabRecipeScreen *screen, u32 row) |
| How many of the row's four recipes the third screen shows: those whose first id the partner has (STGDGLAB_hasRecipeId) | |
| void | STGDGLAB_resetRecipeCursor (LabRecipeScreen *screen) |
| Puts the third screen's cursor on the row's first recipe, at its first id found (the last one when none is) | |
| void | STGDGLAB_drawRecipeScreen (LabRecipeScreen *screen, LabRecipeScreenWindows *win) |
| Draws the third screen: the picked id, the frames, the recipes of the row (the ids found, the empty slots after them) and the arrows. | |
| s32 | STGDGLAB_moveRecipeCursor (LabRecipeScreen *screen, s32 step) |
| Moves the third screen's cursor by step slots, to the first column with an id; whether it moved. | |
| void | STGDGLAB_updateRecipeScreen (LabRecipeScreen *screen, LabRecipeScreenWindows *win) |
| The third screen: a row of recipes at a time, the picked id's name and description on cross. | |
| Task * | STGDGLAB_createRecipeScreen (Lab *lab) |
| Creates the main menu's third screen (task), the recipes, and fades the menu's page out. | |
| void | STGDGLAB_createEntryPanelWindows (LabEntryPanel *panel, LabEntryPanelWindows *windows) |
| entry_panel.c | |
| 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. | |
| 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. | |
| void | STGDGLAB_createSlotScreenWindows (LabSlotScreen *screen, LabSlotScreenWindows *windows) |
| slot_screen.c | |
| void | STGDGLAB_showSlotScreen (LabSlotScreen *screen, LabSlotScreenWindows *windows, s32 show) |
| Shows the party member's slots and stats, or hides the screen's windows. | |
| void | STGDGLAB_runSlotScreen (LabSlotScreen *screen, LabSlotScreenWindows *windows) |
| The second screen's states: picks between the entries and the skills, opens the list of the member's entries and then the picked one's panel. | |
| void | STGDGLAB_drawSlotScreen (LabSlotScreen *screen, void *children) |
| Draws the second screen's frames. | |
| void | STGDGLAB_updateSlotScreen (LabSlotScreen *screen, void *children) |
| The second screen's task: creates its windows, then runs and draws it. | |
| Task * | STGDGLAB_createSlotScreen (Lab *lab) |
| Creates the main menu's second screen (task), the party member's three slots. | |
| void | STGDGLAB_openMenu (LabMenu *menu) |
| menu.c | |
| void | STGDGLAB_closeMenu (LabMenu *menu) |
| The main menu's close: fades its page out and hides its stats and name, while a screen is open over it. | |
| void | STGDGLAB_showMenuPage (LabMenu *menu, LabMenuWindows *windows) |
| Shows the main menu's page: the name and five stats (STGDGLAB_menuStats) of the lab's party member, or empty strings and a grey entries hint without one. | |
| void | STGDGLAB_runMenu (LabMenu *menu, LabMenuWindows *windows) |
| The main menu's states: fades its panels in, picks one of the three screens with up and down, then shows the party's stats while left and right go through them; circle opens the partner's entries. | |
| void | STGDGLAB_drawMenu (LabMenu *menu, void *children) |
| Draws the main menu's frames and the party's animations. | |
| void | STGDGLAB_updateMenu (LabMenu *menu, void *children) |
| The main menu's task: runs and draws the menu; while its page fades (TASK_DONE, from STGDGLAB_openMenu and STGDGLAB_closeMenu) it only draws. | |
| LabMenu * | STGDGLAB_createMenu (Lab *lab) |
| Creates the lab's main menu (task) | |
| void | STGDGLAB_setScrollBarX (ScrollBar *bar, s32 x, s32 width) |
| scroll_bar.c | |
| void | STGDGLAB_setScrollBarRange (ScrollBar *bar, s32 top, s32 bottom) |
| void | STGDGLAB_setScrollBarCount (ScrollBar *bar, s32 pageSize, s32 count) |
| void | STGDGLAB_setScrollBarPos (ScrollBar *bar, s32 pos) |
| void | STGDGLAB_updateScrollBar (ScrollBar *bar) |
| ScrollBar * | STGDGLAB_createScrollBar (void) |
| void | STGDGLAB_showPartyPage (LabPartyScreen *screen, LabPartyScreenWindows *windows) |
| party_screen.c | |
| void | STGDGLAB_hideWindows (LabPartyScreen *screen) |
| Hides the first screen's text windows: all its children but the last, the entry list. | |
| void | STGDGLAB_drawPartyScreen (LabPartyScreen *screen, void *children) |
| Draws the first screen's frames and the party's animations. | |
| void | STGDGLAB_runPartyScreen (LabPartyScreen *screen, LabPartyScreenWindows *windows) |
| The first screen's states: fades its panels in, picks a partner with left and right, then swaps it into the party (cross) or shows its entries (circle) | |
| void | STGDGLAB_updatePartyScreen (LabPartyScreen *screen, void *children) |
| The first screen's task: lists the unlocked partners outside the party, plus an empty pick to take the member out when the party has two or more, then runs and draws the screen. | |
| Task * | STGDGLAB_createPartyScreen (Lab *lab) |
| Creates the main menu's first screen (task), where a partner joins the party in the member's place. | |
| void | STGDGLAB_createSkillPanelWindows (LabSkillPanel *panel, LabSkillPanelWindows *windows) |
| skill_panel.c | |
| 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. | |
| 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) | |
| void | STGDGLAB_createEntryListWindows (LabEntryList *panel, LabEntryListWindows *windows) |
| entry_list.c | |
| void | STGDGLAB_showEntryList (LabEntryList *panel, LabEntryListWindows *windows, s32 show) |
| Shows the list of ids and the stats and skills of the one under the cursor; or hides the panel's windows. | |
| void | STGDGLAB_closeEntryList (LabEntryList *panel) |
| The entry list's close: fades it out and hides its windows and cursor. | |
| void | STGDGLAB_runEntryList (LabEntryList *panel, LabEntryListWindows *windows) |
| The panel's states: fades in, moves the cursor through the ids and scrolls the list; triangle closes it. | |
| void | STGDGLAB_drawEntryList (LabEntryList *panel, LabEntryListWindows *windows) |
| Draws the panel's frames, its scroll arrows and the icons of the skills of the id under the cursor. | |
| void | STGDGLAB_updateEntryList (LabEntryList *panel, LabEntryListWindows *windows) |
| The entry list's task: lists the partner's slots and, with allEntries, its other entries, creates the windows, then runs and draws the list. | |
| LabEntryList * | STGDGLAB_createEntryList (s32 partner, s32 allEntries, s32 closable) |
| Creates the list of a partner's entries (task): only its slots unless ALLENTRIES; CLOSABLE lets triangle close it. | |
| void | STGDGLAB_runLab (Lab *lab, LabChildren *children) |
| lab.c | |
| void | STGDGLAB_packParty (Lab *lab) |
| Counts the party and moves its members to the first places of GAME.party. | |
| void | STGDGLAB_updateLab (Lab *lab, LabChildren *children) |
| The mode's main task: loads the files and packs the party, then runs the lab (STGDGLAB_runLab) and draws sprite 0x37 sliding diagonally; when killed it goes back to the field (GAME.fieldMode) | |
| s32 | STGDGLAB_openLabMenu (Lab *lab) |
| Lab.openMenu: opens the main menu's page again; 1 if the menu was running. | |
| s32 | STGDGLAB_closeLabMenu (Lab *lab) |
| Lab.closeMenu: closes the main menu's page; 1 if the menu was running. | |
| s32 | STGDGLAB_labMenuRunning (Lab *lab) |
| Lab.menuOpen: 1 when the main menu's task is running (its page not fading) | |
| void | STGDGLAB_fadeOutLab (Lab *lab) |
| Lab.fadeOut: fades the screen out in 0x1E frames, as the lab is left. | |
| Lab * | STGDGLAB_createLab (void) |
| Creates the mode's main task, the lab. | |
| void | STGDGLAB_loadFiles (void) |
| Loads the lab's textures and requests its strings: the lab's and the Digimon's and skills' names and descriptions. | |
| s32 | STGDGLAB_filesLoading (void) |
| Whether the lab's strings are still loading. | |
| void | STGDGLAB_startFade (PanelAnim *fade, s32 fadeIn) |
| s32 | STGDGLAB_updateFade (PanelAnim *fade) |
| void | STGDGLAB_startLerp (MenuLerp *lerp, s32 from, s32 to, s32 frames) |
| s32 | STGDGLAB_updateLerp (MenuLerp *lerp) |
| s32 | STGDGLAB_getItemSprite (s32 id) |
| The sprite of a recipe's id (STGDGLAB_entries), 0 for an id not there. | |
| s32 | STGDGLAB_getItemB (s32 id) |
| The third value (b) of a recipe's id in STGDGLAB_entries, 0 for an id not there; LabFuncs.getB, which nothing in the overlay calls. | |
Variables | |
| s32 | STGDGLAB_tableItems [] |
| STGDGLAB's data, in its order: the recipe screen's, the menu's, the party screen's and the lab's. | |
| s32 | STGDGLAB_menuStats [] |
| the stats the menu's page shows | |
| s32 | STGDGLAB_pageStats [] |
| the stats the first screen's page shows | |
| Task *(* | STGDGLAB_screens [])(Lab *lab) |
| The main menu's screens. | |
| PartnerAnim | STGDGLAB_partnerAnims [] |
| The partners' animation frames, -1 ends. | |
| LabWindowPos | STGDGLAB_layout [] |
| Where the windows go: the five stats' labels, their values and the name. | |
| LabEntry | STGDGLAB_entries [] |
| the items of the recipes | |
| LabRecipe | STGDGLAB_recipes0 [] |
| to STGDGLAB_recipes7, by table | |
| LabRecipe | STGDGLAB_recipes1 [] |
| LabRecipe | STGDGLAB_recipes2 [] |
| LabRecipe | STGDGLAB_recipes3 [] |
| LabRecipe | STGDGLAB_recipes4 [] |
| LabRecipe | STGDGLAB_recipes5 [] |
| LabRecipe | STGDGLAB_recipes6 [] |
| LabRecipe | STGDGLAB_recipes7 [] |
| LabData | STGDGLAB_data |
STGDGLAB.PRO: the Digimon Lab (MODE_DIGI_LAB; "デジモンラボ" in STAGSLCT's list of scenes), where the partners' digivolutions are set.
Its main menu (STGDGLAB_createMenu) opens one of three screens (STGDGLAB_screens, TEXT_DIGI_LAB strings 2-4): "Switch Digimon" swaps a party member with another partner, "Digivolve" sets a partner's three slots (setPartnerSlots) and loads its techniques, and "Digivolve Chart" checks the recipes of STGDGLAB_data (how many of a few ids are needed) against the entries a partner has (listPartnerEntries). On the way in it packs the party (STGDGLAB_packParty) so that the members come first. Its strings are in TEXT_DIGI_LAB, TEXT_DIGIMON_NAMES, TEXT_DIGIMON_INFO, TEXT_SKILL_NAMES and TEXT_SKILL_INFO.
Definition in file digimon_lab.h.
| #define OVL_NAME | ( | name | ) | STGDGLAB_##name |
The name of this overlay's copy of a function of src/shared/.
Definition at line 19 of file digimon_lab.h.
| #define FILE_LAB_SPRITES 0x2C5 |
The lab's sprite sheet; the next file is its texture archive.
Definition at line 25 of file digimon_lab.h.
| void STGDGLAB_startFader | ( | ScreenFade * | task, |
| s32 | fadeIn, | ||
| s32 | duration | ||
| ) |
| void STGDGLAB_drawFader | ( | ScreenFade * | task | ) |
| void STGDGLAB_updateFader | ( | ScreenFade * | task | ) |
| ScreenFade * STGDGLAB_createFader | ( | void | ) |
| s32 STGDGLAB_findRecipe | ( | LabRecipeScreen * | screen, |
| s32 | row, | ||
| u32 | col, | ||
| s32 | slot | ||
| ) |
Definition at line 9 of file recipe_screen.c.
Referenced by checkRecipes().
| s32 STGDGLAB_hasRecipeId | ( | LabRecipeScreen * | screen, |
| s32 | row, | ||
| u32 | col | ||
| ) |
Whether the partner has the first id of the recipe (row, col); 0 for a column past the recipes.
Definition at line 45 of file recipe_screen.c.
Referenced by checkRecipes(), and STGDGLAB_countRowIds().
| s32 STGDGLAB_countRowIds | ( | LabRecipeScreen * | screen, |
| u32 | row | ||
| ) |
How many of the row's four recipes the third screen shows: those whose first id the partner has (STGDGLAB_hasRecipeId)
Definition at line 75 of file recipe_screen.c.
Referenced by changeRecipeRow(), and STGDGLAB_updateRecipeScreen().
| void STGDGLAB_resetRecipeCursor | ( | LabRecipeScreen * | screen | ) |
Puts the third screen's cursor on the row's first recipe, at its first id found (the last one when none is)
Definition at line 92 of file recipe_screen.c.
Referenced by changeRecipeRow(), and STGDGLAB_updateRecipeScreen().
| void STGDGLAB_drawRecipeScreen | ( | LabRecipeScreen * | screen, |
| LabRecipeScreenWindows * | win | ||
| ) |
Draws the third screen: the picked id, the frames, the recipes of the row (the ids found, the empty slots after them) and the arrows.
< 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
< 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
< 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
< 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
< 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 105 of file recipe_screen.c.
Referenced by STGDGLAB_updateRecipeScreen().
| s32 STGDGLAB_moveRecipeCursor | ( | LabRecipeScreen * | screen, |
| s32 | step | ||
| ) |
Moves the third screen's cursor by step slots, to the first column with an id; whether it moved.
Definition at line 242 of file recipe_screen.c.
Referenced by pickRecipeId().
| void STGDGLAB_updateRecipeScreen | ( | LabRecipeScreen * | screen, |
| LabRecipeScreenWindows * | win | ||
| ) |
The third screen: a row of recipes at a time, the picked id's name and description on cross.
Definition at line 543 of file recipe_screen.c.
Referenced by STGDGLAB_createRecipeScreen().
Creates the main menu's third screen (task), the recipes, and fades the menu's page out.
Definition at line 643 of file recipe_screen.c.
| void STGDGLAB_createEntryPanelWindows | ( | LabEntryPanel * | panel, |
| LabEntryPanelWindows * | windows | ||
| ) |
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().
| 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().
| void STGDGLAB_createSlotScreenWindows | ( | LabSlotScreen * | screen, |
| LabSlotScreenWindows * | windows | ||
| ) |
Definition at line 7 of file slot_screen.c.
Referenced by STGDGLAB_updateSlotScreen().
| void STGDGLAB_showSlotScreen | ( | LabSlotScreen * | screen, |
| LabSlotScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the party member's slots and stats, or hides the screen's windows.
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DIGNAM
< a light blue: what is highlighted or current
< DGLABO: STGDGLAB's
Definition at line 34 of file slot_screen.c.
Referenced by STGDGLAB_runSlotScreen().
| void STGDGLAB_runSlotScreen | ( | LabSlotScreen * | screen, |
| LabSlotScreenWindows * | windows | ||
| ) |
The second screen's states: picks between the entries and the skills, opens the list of the member's entries and then the picked one's panel.
< SYSTEM00: a choice is taken
< SYSTEM01
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
Definition at line 191 of file slot_screen.c.
Referenced by STGDGLAB_updateSlotScreen().
| void STGDGLAB_drawSlotScreen | ( | LabSlotScreen * | screen, |
| void * | children | ||
| ) |
Draws the second screen's frames.
< 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
< 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
< 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
< 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
< GTE regards 4096 as 1.0
Definition at line 351 of file slot_screen.c.
Referenced by STGDGLAB_updateSlotScreen().
| void STGDGLAB_updateSlotScreen | ( | LabSlotScreen * | screen, |
| void * | children | ||
| ) |
The second screen's task: creates its windows, then runs and draws it.
Definition at line 388 of file slot_screen.c.
Referenced by STGDGLAB_createSlotScreen().
Creates the main menu's second screen (task), the party member's three slots.
Definition at line 412 of file slot_screen.c.
| void STGDGLAB_openMenu | ( | LabMenu * | menu | ) |
menu.c
menu.c
Definition at line 7 of file menu.c.
Referenced by STGDGLAB_createMenu().
| void STGDGLAB_closeMenu | ( | LabMenu * | menu | ) |
The main menu's close: fades its page out and hides its stats and name, while a screen is open over it.
Definition at line 15 of file menu.c.
Referenced by STGDGLAB_createMenu().
| void STGDGLAB_showMenuPage | ( | LabMenu * | menu, |
| LabMenuWindows * | windows | ||
| ) |
Shows the main menu's page: the name and five stats (STGDGLAB_menuStats) of the lab's party member, or empty strings and a grey entries hint without one.
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< what is unavailable
Definition at line 41 of file menu.c.
Referenced by pickMember(), showMenuPageLabel(), and STGDGLAB_updateMenu().
| void STGDGLAB_runMenu | ( | LabMenu * | menu, |
| LabMenuWindows * | windows | ||
| ) |
The main menu's states: fades its panels in, picks one of the three screens with up and down, then shows the party's stats while left and right go through them; circle opens the partner's entries.
Definition at line 313 of file menu.c.
Referenced by STGDGLAB_updateMenu().
| void STGDGLAB_drawMenu | ( | LabMenu * | menu, |
| void * | children | ||
| ) |
Draws the main menu's frames and the party's animations.
< 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
< 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
< 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
< 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
< 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
< 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
< 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 425 of file menu.c.
Referenced by STGDGLAB_updateMenu().
| void STGDGLAB_updateMenu | ( | LabMenu * | menu, |
| void * | children | ||
| ) |
The main menu's task: runs and draws the menu; while its page fades (TASK_DONE, from STGDGLAB_openMenu and STGDGLAB_closeMenu) it only draws.
Definition at line 546 of file menu.c.
Referenced by STGDGLAB_createMenu().
Creates the lab's main menu (task)
Definition at line 580 of file menu.c.
Referenced by STGDGLAB_runLab().
| void STGDGLAB_updateScrollBar | ( | ScrollBar * | bar | ) |
| ScrollBar * STGDGLAB_createScrollBar | ( | void | ) |
Referenced by STGDGLAB_runEntryList(), and STGDGLAB_updateEntryPanel().
| void STGDGLAB_showPartyPage | ( | LabPartyScreen * | screen, |
| LabPartyScreenWindows * | windows | ||
| ) |
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< what is unavailable
Definition at line 8 of file party_screen.c.
Referenced by pickPartner(), and STGDGLAB_runPartyScreen().
| void STGDGLAB_hideWindows | ( | LabPartyScreen * | screen | ) |
Hides the first screen's text windows: all its children but the last, the entry list.
Definition at line 63 of file party_screen.c.
Referenced by STGDGLAB_runPartyScreen().
| void STGDGLAB_drawPartyScreen | ( | LabPartyScreen * | screen, |
| void * | children | ||
| ) |
Draws the first screen's frames and the party's animations.
< 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
< 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
< 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
< 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
< GTE regards 4096 as 1.0
Definition at line 76 of file party_screen.c.
Referenced by STGDGLAB_updatePartyScreen().
| void STGDGLAB_runPartyScreen | ( | LabPartyScreen * | screen, |
| LabPartyScreenWindows * | windows | ||
| ) |
The first screen's states: fades its panels in, picks a partner with left and right, then swaps it into the party (cross) or shows its entries (circle)
Definition at line 265 of file party_screen.c.
Referenced by STGDGLAB_updatePartyScreen().
| void STGDGLAB_updatePartyScreen | ( | LabPartyScreen * | screen, |
| void * | children | ||
| ) |
The first screen's task: lists the unlocked partners outside the party, plus an empty pick to take the member out when the party has two or more, then runs and draws the screen.
Definition at line 362 of file party_screen.c.
Referenced by STGDGLAB_createPartyScreen().
Creates the main menu's first screen (task), where a partner joins the party in the member's place.
Definition at line 417 of file party_screen.c.
| void STGDGLAB_createSkillPanelWindows | ( | LabSkillPanel * | panel, |
| LabSkillPanelWindows * | windows | ||
| ) |
Definition at line 6 of file skill_panel.c.
Referenced by STGDGLAB_updateSkillPanel().
| 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().
| 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().
| 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().
| void STGDGLAB_createEntryListWindows | ( | LabEntryList * | panel, |
| LabEntryListWindows * | windows | ||
| ) |
Definition at line 7 of file entry_list.c.
Referenced by STGDGLAB_updateEntryList().
| void STGDGLAB_showEntryList | ( | LabEntryList * | panel, |
| LabEntryListWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows the list of ids and the stats and skills of the one under the cursor; or hides the panel's windows.
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DGLABO: STGDGLAB's
< DIGNAM
< a light blue: what is highlighted or current
< DIGNAM
< DGLABO: STGDGLAB's
< SKLNAM
< the skill, from 1 (TECHS[id - 1])
< the sixth skill
< marked in the lab (STGDGLAB_updateSkillPanel)
Definition at line 36 of file entry_list.c.
Referenced by STGDGLAB_closeEntryList(), and STGDGLAB_runEntryList().
| void STGDGLAB_closeEntryList | ( | LabEntryList * | panel | ) |
The entry list's close: fades it out and hides its windows and cursor.
Definition at line 134 of file entry_list.c.
Referenced by STGDGLAB_createEntryList(), and STGDGLAB_runEntryList().
| void STGDGLAB_runEntryList | ( | LabEntryList * | panel, |
| LabEntryListWindows * | windows | ||
| ) |
The panel's states: fades in, moves the cursor through the ids and scrolls the list; triangle closes it.
< SYSTEM02: a cursor moves
< SYSTEM01
Definition at line 145 of file entry_list.c.
Referenced by STGDGLAB_updateEntryList().
| void STGDGLAB_drawEntryList | ( | LabEntryList * | panel, |
| LabEntryListWindows * | windows | ||
| ) |
Draws the panel's frames, its scroll arrows and the icons of the skills of the id under the cursor.
< 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
< 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
< the skill, from 1 (TECHS[id - 1])
Definition at line 241 of file entry_list.c.
Referenced by STGDGLAB_updateEntryList().
| void STGDGLAB_updateEntryList | ( | LabEntryList * | panel, |
| LabEntryListWindows * | windows | ||
| ) |
The entry list's task: lists the partner's slots and, with allEntries, its other entries, creates the windows, then runs and draws the list.
Definition at line 293 of file entry_list.c.
Referenced by STGDGLAB_createEntryList().
| LabEntryList * STGDGLAB_createEntryList | ( | s32 | partner, |
| s32 | allEntries, | ||
| s32 | closable | ||
| ) |
Creates the list of a partner's entries (task): only its slots unless ALLENTRIES; CLOSABLE lets triangle close it.
Definition at line 339 of file entry_list.c.
Referenced by STGDGLAB_runMenu(), STGDGLAB_runPartyScreen(), and STGDGLAB_runSlotScreen().
| void STGDGLAB_runLab | ( | Lab * | lab, |
| LabChildren * | children | ||
| ) |
Definition at line 8 of file lab.c.
Referenced by STGDGLAB_updateLab().
| void STGDGLAB_packParty | ( | Lab * | lab | ) |
Counts the party and moves its members to the first places of GAME.party.
Definition at line 42 of file lab.c.
Referenced by STGDGLAB_createLab(), and STGDGLAB_updateLab().
| void STGDGLAB_updateLab | ( | Lab * | lab, |
| LabChildren * | children | ||
| ) |
The mode's main task: loads the files and packs the party, then runs the lab (STGDGLAB_runLab) and draws sprite 0x37 sliding diagonally; when killed it goes back to the field (GAME.fieldMode)
Definition at line 68 of file lab.c.
Referenced by STGDGLAB_createLab().
Lab.openMenu: opens the main menu's page again; 1 if the menu was running.
Definition at line 112 of file lab.c.
Referenced by STGDGLAB_createLab().
Lab.closeMenu: closes the main menu's page; 1 if the menu was running.
Definition at line 124 of file lab.c.
Referenced by STGDGLAB_createLab().
Lab.menuOpen: 1 when the main menu's task is running (its page not fading)
Definition at line 136 of file lab.c.
Referenced by STGDGLAB_createLab().
| void STGDGLAB_fadeOutLab | ( | Lab * | lab | ) |
Lab.fadeOut: fades the screen out in 0x1E frames, as the lab is left.
Definition at line 147 of file lab.c.
Referenced by STGDGLAB_createLab().
| Lab * STGDGLAB_createLab | ( | void | ) |
| void STGDGLAB_loadFiles | ( | void | ) |
| s32 STGDGLAB_filesLoading | ( | void | ) |
The third value (b) of a recipe's id in STGDGLAB_entries, 0 for an id not there; LabFuncs.getB, which nothing in the overlay calls.
|
extern |
STGDGLAB's data, in its order: the recipe screen's, the menu's, the party screen's and the lab's.
the item each table's screen shows
STGDGLAB's data, in its order: the recipe screen's, the menu's, the party screen's and the lab's.
Definition at line 654 of file recipe_screen.c.
Referenced by STGDGLAB_drawRecipeScreen().
|
extern |
the stats the menu's page shows
the stats the menu's page shows
Definition at line 592 of file menu.c.
Referenced by STGDGLAB_showMenuPage().
|
extern |
the stats the first screen's page shows
the stats the first screen's page shows
Definition at line 427 of file party_screen.c.
Referenced by STGDGLAB_showPartyPage().
|
extern |
|
extern |
|
extern |
the items of the recipes
the items of the recipes
Definition at line 264 of file lab.c.
Referenced by STGDGLAB_getItemB(), and STGDGLAB_getItemSprite().
|
extern |
|
extern |
Definition at line 611 of file lab.c.
Referenced by changeRecipeRow(), checkRecipes(), closeMenuPage(), closeMessage(), loadSlotScreen(), openSlotOption(), pickRecipeId(), pickSlotOption(), putPickedEntry(), showMenuOptions(), showMenuPageLabel(), showMenuPageTitle(), showMenuTitle(), showPartyTitle(), showRecipeName(), showRecipeTitle(), STGDGLAB_closeEntryList(), STGDGLAB_closeMenu(), STGDGLAB_drawMenu(), STGDGLAB_drawPartyScreen(), STGDGLAB_drawRecipeScreen(), STGDGLAB_findRecipe(), STGDGLAB_hasRecipeId(), STGDGLAB_openMenu(), STGDGLAB_pickSkill(), STGDGLAB_runEntryList(), STGDGLAB_runMenu(), STGDGLAB_runPartyScreen(), STGDGLAB_runSlotScreen(), STGDGLAB_showMenuPage(), STGDGLAB_showPartyPage(), STGDGLAB_updateEntryPanel(), STGDGLAB_updateLab(), STGDGLAB_updateMenu(), STGDGLAB_updateRecipeScreen(), STGDGLAB_updateSkillPanel(), and waitMenuPageClosed().