|
Digimon World 3 decomp
The European version, SLES_039.36
|
The report: its windows, its drawing, its run through the partners, the money and the item won, and its files. More...
#include "battle/report.h"Go to the source code of this file.
Functions | |
| void | STFGTREP_createWindows (FightReport *report, FightReportChildren *children) |
| Creates the report's text windows: the exp, its label and the two-line message. | |
| void | STFGTREP_drawReport (FightReport *report) |
| Draws the report's message arrow, background, header and footer. | |
| static void | selectNextPartner (FightReport *report, FightReportChildren *children) |
| Selects the next partner that got exp and fades the header in; after the last one goes on to the money. | |
| static void | showExp (FightReport *report, FightReportChildren *children) |
| Shows the current partner's exp in the message and in the exp window. | |
| static void | turnMessagePage (FightReport *report, FightReportChildren *children) |
| While the message types, cross shows its whole page; at a page end the arrow shows until cross, which plays the confirm sound. | |
| static void | hideExp (FightReport *report, FightReportChildren *children) |
| Fades the header out and hides the exp once the partner's raise is shown, moving on to the next partner. | |
| static void | giveMoney (FightReport *report, FightReportChildren *children) |
| Gives the money the battle won, a fifth more with item 0x142 equipped, and shows it in the message. | |
| static void | giveItem (FightReport *report, FightReportChildren *children) |
| Gives the item the battle won, up to 99, and shows it in the message; with none the report ends. | |
| static void | startFadeOut (FightReport *report, FightReportChildren *children) |
| Starts fading the screen and the footer out and hides the message. | |
| void | STFGTREP_runReport (FightReport *report, FightReportChildren *children) |
| The report while it runs: shows the panels, then for each partner that got exp its message and the raise (selectNextPartner, showExp, hideExp), then the money and the item won (giveMoney, giveItem), and fades out (startFadeOut) | |
| void | STFGTREP_updateReport (FightReport *report, FightReportChildren *children) |
| The report's main task: loads the files, shares the battle's exp among the partners who fought and creates their panels. | |
| FightReport * | STFGTREP_createScreen (void) |
| Creates the report (STFGTREP_updateReport) on the screen layer. | |
| void | STFGTREP_loadFiles (void) |
| Loads the report's sprites and requests its texts, the Digimon names and the item names. | |
| s32 | STFGTREP_filesLoading (void) |
| Whether STFGTREP_loadFiles's texts are still loading. | |
The report: its windows, its drawing, its run through the partners, the money and the item won, and its files.
Definition in file report.c.
| void STFGTREP_createWindows | ( | FightReport * | report, |
| FightReportChildren * | children | ||
| ) |
Creates the report's text windows: the exp, its label and the two-line message.
Definition at line 8 of file report.c.
Referenced by STFGTREP_updateReport().
| void STFGTREP_drawReport | ( | FightReport * | report | ) |
Draws the report's message arrow, background, header and footer.
Definition at line 19 of file report.c.
Referenced by STFGTREP_updateReport().
|
inlinestatic |
Selects the next partner that got exp and fades the header in; after the last one goes on to the money.
Definition at line 65 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
Shows the current partner's exp in the message and in the exp window.
< FGTRPT: STFGTREP's
< FGTRPT: STFGTREP's
Definition at line 80 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
While the message types, cross shows its whole page; at a page end the arrow shows until cross, which plays the confirm sound.
< SYSTEM07
Definition at line 91 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
Fades the header out and hides the exp once the partner's raise is shown, moving on to the next partner.
Definition at line 105 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
Gives the money the battle won, a fifth more with item 0x142 equipped, and shows it in the message.
< FGTRPT: STFGTREP's
Definition at line 115 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
Gives the item the battle won, up to 99, and shows it in the message; with none the report ends.
< FGTRPT: STFGTREP's
< ITMNAM
Definition at line 137 of file report.c.
Referenced by STFGTREP_runReport().
|
inlinestatic |
Starts fading the screen and the footer out and hides the message.
Definition at line 154 of file report.c.
Referenced by STFGTREP_runReport().
| void STFGTREP_runReport | ( | FightReport * | report, |
| FightReportChildren * | children | ||
| ) |
The report while it runs: shows the panels, then for each partner that got exp its message and the raise (selectNextPartner, showExp, hideExp), then the money and the item won (giveMoney, giveItem), and fades out (startFadeOut)
Definition at line 166 of file report.c.
Referenced by STFGTREP_updateReport().
| void STFGTREP_updateReport | ( | FightReport * | report, |
| FightReportChildren * | children | ||
| ) |
The report's main task: loads the files, shares the battle's exp among the partners who fought and creates their panels.
Definition at line 288 of file report.c.
Referenced by STFGTREP_createScreen().
| FightReport * STFGTREP_createScreen | ( | void | ) |
Creates the report (STFGTREP_updateReport) on the screen layer.
Definition at line 363 of file report.c.
Referenced by STFGTREP_updateScene().
| void STFGTREP_loadFiles | ( | void | ) |