|
Digimon World 3 decomp
The European version, SLES_039.36
|
The first object of STSTATUS.PRO, the screen with the party's pages of STSTATUS_createCardScreen and the fader. More...
#include "menus/field_menu.h"#include "shared/update_scene.inc.c"#include "shared/start.inc.c"#include "shared/start_fader.inc.c"#include "shared/draw_fader.inc.c"#include "shared/update_fader.inc.c"#include "shared/create_fader.inc.c"Go to the source code of this file.
Macros | |
| #define | SCENE_TASK Task |
| #define | SCENE_CHILD FieldMenuScreen |
| #define | SCENE_CREATE OVL_NAME(createMenu) |
| #define | SCENE_PRIM_BUFFERS 0x14000 |
| #define | SCENE_OT_SHIFT 3 |
| #define | FADER_DEPTH 0 |
Functions | |
| void | STSTATUS_createCardWindows (PartyScreen *screen, PartyScreenWindows *windows) |
| Creates the windows of a screen with the party's pages. | |
| void | STSTATUS_showCardPage (PartyScreen *screen, PartyScreenWindows *windows, s32 member, s32 show) |
| Shows or hides a party member's page: name and five stats (as showPartnerPage) | |
| void | STSTATUS_showCardChoices (PartyScreen *screen, PartyScreenWindows *windows, s32 show) |
| Shows or hides the help and the two options with their cursor. | |
| void | STSTATUS_drawCardScreen (PartyScreen *screen) |
| Draws the party's portraits and their pages' panels. | |
| static void | STSTATUS_startCardScreen (PartyScreen *screen) |
| Starts the fade of the first page (and, with one party member, of the panels); the next substate is the party's size. | |
| static void | STSTATUS_openCardScreenAlone (PartyScreen *screen, PartyScreenWindows *windows) |
| One member: once the page and the panels are in, shows the page, the help, the hint and the options. | |
| static void | STSTATUS_openFirstOfTwoCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Two members: once the first page is in, shows it and starts the second page and the help's panel. | |
| static void | STSTATUS_openSecondOfTwoCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Two members: once the second page and the panels are in, shows the page, the help, the hint and the options. | |
| static void | STSTATUS_openFirstOfThreeCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Three members: once the first page is in, shows it and starts the second. | |
| static void | STSTATUS_openSecondOfThreeCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Three members: once the second page is in, shows it and starts the third and the help's panel. | |
| static void | STSTATUS_openThirdCardPage (PartyScreen *screen, PartyScreenWindows *windows) |
| Three members: once the third page and the panels are in, shows the page, the help, the hint and the options. | |
| static void | STSTATUS_chooseCardOption (PartyScreen *screen, PartyScreenWindows *windows) |
| Choosing an option: up and down move the cursor, cross picks the card album or the deck editor and fades the screen out, triangle closes it. | |
| static void | STSTATUS_createCardFader (PartyScreen *screen, PartyScreenWindows *windows) |
| Creates the fader that hides the screen. | |
| static void | STSTATUS_closeCardScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| Starts closing the screen: the last page, the panels, the help, the hint and the options. | |
| static void | STSTATUS_closeCardScreenAlone (PartyScreen *screen) |
| One member: once the page and the panels are closed, goes on to the end. | |
| static void | STSTATUS_closeSecondOfTwoCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Two members: once the second page and the panels are closed, starts closing the first. | |
| static void | STSTATUS_closeThirdCardPage (PartyScreen *screen, PartyScreenWindows *windows) |
| Three members: once the third page and the panels are closed, starts closing the second. | |
| static void | STSTATUS_closeSecondOfThreeCardPages (PartyScreen *screen, PartyScreenWindows *windows) |
| Three members: once the second page is closed, starts closing the first. | |
| static void | STSTATUS_endCardScreen (PartyScreen *screen) |
| The end: goes to the chosen card album or deck editor, or ends the screen. | |
| void | STSTATUS_runCardScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| Runs the screen: the pages come in one after the other, the cursor picks one of the two options, and the pages go out in reverse. | |
| void | STSTATUS_updateCardScreen (PartyScreen *screen, PartyScreenWindows *windows) |
| The screen's update: counts the party and opens the pages. | |
| Task * | STSTATUS_createCardScreen (FieldMenuScreen *menu, s32 extra) |
| Creates the screen with the party's pages (task) whose two options go to the card album (MODE_CARD_ALBUM) or the deck editor (MODE_DECK_EDITOR) | |
Variables | |
| s32 | STSTATUS_pageStats [] |
| The stats a party member's page shows, in PartnerTotals.stats (as STSTATUS_pageStats2, 4, 0, 8 and 9 on the other screens) | |
The first object of STSTATUS.PRO, the screen with the party's pages of STSTATUS_createCardScreen and the fader.
STSTATUS.PRO was ten objects, about one per screen: each one's jump tables are aligned to 8 from the start of its own rodata, and three of them start 4 bytes past a multiple of 8. Where each object's code starts is only known to be between the function with the last jump table of the object before and the one with its first (or the screen's create function). The data follows the objects' order: each object's tables are with it, and the ones they share with the last.
Definition in file card_screen.c.
| #define SCENE_TASK Task |
Definition at line 12 of file card_screen.c.
| #define SCENE_CHILD FieldMenuScreen |
Definition at line 13 of file card_screen.c.
| #define SCENE_CREATE OVL_NAME(createMenu) |
Definition at line 14 of file card_screen.c.
| #define SCENE_PRIM_BUFFERS 0x14000 |
Definition at line 15 of file card_screen.c.
| #define SCENE_OT_SHIFT 3 |
Definition at line 16 of file card_screen.c.
| #define FADER_DEPTH 0 |
Definition at line 459 of file card_screen.c.
| void STSTATUS_createCardWindows | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
Creates the windows of a screen with the party's pages.
Definition at line 21 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
| void STSTATUS_showCardPage | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | member, | ||
| s32 | show | ||
| ) |
Shows or hides a party member's page: name and five stats (as showPartnerPage)
< STATUS: the field menu's and STSTATUS's
Definition at line 56 of file card_screen.c.
Referenced by STSTATUS_closeCardScreen(), STSTATUS_closeSecondOfThreeCardPages(), STSTATUS_closeSecondOfTwoCardPages(), STSTATUS_closeThirdCardPage(), STSTATUS_openCardScreenAlone(), STSTATUS_openFirstOfThreeCardPages(), STSTATUS_openFirstOfTwoCardPages(), STSTATUS_openSecondOfThreeCardPages(), STSTATUS_openSecondOfTwoCardPages(), and STSTATUS_openThirdCardPage().
| void STSTATUS_showCardChoices | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows, | ||
| s32 | show | ||
| ) |
Shows or hides the help and the two options with their cursor.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 87 of file card_screen.c.
Referenced by STSTATUS_closeCardScreen(), STSTATUS_openCardScreenAlone(), STSTATUS_openSecondOfTwoCardPages(), and STSTATUS_openThirdCardPage().
| void STSTATUS_drawCardScreen | ( | PartyScreen * | screen | ) |
Draws the party's portraits and their pages' panels.
< 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 106 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
|
inlinestatic |
Starts the fade of the first page (and, with one party member, of the panels); the next substate is the party's size.
Definition at line 157 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
One member: once the page and the panels are in, shows the page, the help, the hint and the options.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 168 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Two members: once the first page is in, shows it and starts the second page and the help's panel.
Definition at line 182 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Two members: once the second page and the panels are in, shows the page, the help, the hint and the options.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 193 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Three members: once the first page is in, shows it and starts the second.
Definition at line 206 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Three members: once the second page is in, shows it and starts the third and the help's panel.
Definition at line 216 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Three members: once the third page and the panels are in, shows the page, the help, the hint and the options.
< STATUS: the field menu's and STSTATUS's
< STATUS: the field menu's and STSTATUS's
Definition at line 227 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Choosing an option: up and down move the cursor, cross picks the card album or the deck editor and fades the screen out, triangle closes it.
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 241 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Creates the fader that hides the screen.
Definition at line 269 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Starts closing the screen: the last page, the panels, the help, the hint and the options.
Definition at line 278 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
One member: once the page and the panels are closed, goes on to the end.
Definition at line 290 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Two members: once the second page and the panels are closed, starts closing the first.
Definition at line 300 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Three members: once the third page and the panels are closed, starts closing the second.
Definition at line 312 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
Three members: once the second page is closed, starts closing the first.
Definition at line 323 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
|
inlinestatic |
The end: goes to the chosen card album or deck editor, or ends the screen.
< STCRDABM
< STCRDDEK
Definition at line 332 of file card_screen.c.
Referenced by STSTATUS_runCardScreen().
| void STSTATUS_runCardScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
Runs the screen: the pages come in one after the other, the cursor picks one of the two options, and the pages go out in reverse.
Definition at line 344 of file card_screen.c.
Referenced by STSTATUS_updateCardScreen().
| void STSTATUS_updateCardScreen | ( | PartyScreen * | screen, |
| PartyScreenWindows * | windows | ||
| ) |
The screen's update: counts the party and opens the pages.
Definition at line 411 of file card_screen.c.
Referenced by STSTATUS_createCardScreen().
| Task * STSTATUS_createCardScreen | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
Creates the screen with the party's pages (task) whose two options go to the card album (MODE_CARD_ALBUM) or the deck editor (MODE_DECK_EDITOR)
Definition at line 447 of file card_screen.c.
| s32 STSTATUS_pageStats[] |
The stats a party member's page shows, in PartnerTotals.stats (as STSTATUS_pageStats2, 4, 0, 8 and 9 on the other screens)
STSTATUS's data, in its order: each object's tables, then the last one's (helpers.c), which all the objects read.
Definition at line 464 of file card_screen.c.
Referenced by STSTATUS_showCardPage().