|
Digimon World 3 decomp
The European version, SLES_039.36
|
CARDGAME's step windows, the yes/no question and the card info. More...
#include "cardgame/card_battle.h"Go to the source code of this file.
Functions | |
| s16 | CARDGAME_getStepWindowPos (s32 a, s32 b, s32 c) |
| A position of CARDGAME_stepWindowPositions. | |
| s32 | CARDGAME_openStepWindows (CardBattle *battle, CardScreen *screen, s32 layout, s32 text, s32 time, s32 step) |
| Opens the windows of the step CARDGAME_windowSteps[step] once its time is past; the next step. | |
| void | CARDGAME_startQuestion (CardBattle *battle, CardScreen *screen, s32 value) |
| Opens the panels and asks message value; the European and Japanese versions start on the second choice when none of the player's hand can be played. | |
| static void | readYesNoInput (CardBattle *battle, CardScreen *screen) |
| The yes/no window's buttons: cross answers, triangle answers the second choice, up and down change the choice, L1 or R1 moves the window and circle opens the battle menu. | |
| static void | hideForMenu (CardBattle *battle, CardScreen *screen) |
| Closes the panels and opens the battle menu once they are closed. | |
| static void | showAfterMenu (CardBattle *battle, CardScreen *screen) |
| Back from the battle menu: reopens the yes/no window once the panels are open again. | |
| s32 | CARDGAME_stepYesNo (CardBattle *battle, CardScreen *screen) |
| Runs the yes/no window that CARDGAME_startQuestion sets up: 1 for the first choice, 2 for the second, 0 until then. | |
| void | CARDGAME_clearCardInfo (CardBattle *battle, CardScreen *screen) |
| Empties the card information windows 1-4. | |
| void | CARDGAME_showCardInfo (CardBattle *battle, CardScreen *screen, s32 offset) |
| Fills the information windows with the card of sprite offset + effectStep.cursor (the highlighted one): its colour, name, picture or values, and kind. | |
| void | CARDGAME_showTableCardInfo (CardBattle *battle, CardScreen *screen, s32 kind) |
| CARDGAME_showCardInfo for the highlighted card of a row (kind 0, 1 or 2, as CARDGAME_moveTableHighlight) | |
CARDGAME's step windows, the yes/no question and the card info.
Definition in file questions.c.
A position of CARDGAME_stepWindowPositions.
Definition at line 6 of file questions.c.
Referenced by CARDGAME_openStepWindows().
| s32 CARDGAME_openStepWindows | ( | CardBattle * | battle, |
| CardScreen * | screen, | ||
| s32 | layout, | ||
| s32 | text, | ||
| s32 | time, | ||
| s32 | step | ||
| ) |
Opens the windows of the step CARDGAME_windowSteps[step] once its time is past; the next step.
Definition at line 15 of file questions.c.
Referenced by CARDGAME_chooseCard(), CARDGAME_pickTableCard(), CARDGAME_stepChooseCards(), CARDGAME_stepPlayCard(), and CARDGAME_viewTable().
| void CARDGAME_startQuestion | ( | CardBattle * | battle, |
| CardScreen * | screen, | ||
| s32 | value | ||
| ) |
Opens the panels and asks message value; the European and Japanese versions start on the second choice when none of the player's hand can be played.
Definition at line 44 of file questions.c.
Referenced by startEffectStep().
|
inlinestatic |
The yes/no window's buttons: cross answers, triangle answers the second choice, up and down change the choice, L1 or R1 moves the window and circle opens the battle menu.
< SYSTEM02: a cursor moves
Definition at line 86 of file questions.c.
Referenced by CARDGAME_stepYesNo().
|
inlinestatic |
Closes the panels and opens the battle menu once they are closed.
Definition at line 114 of file questions.c.
Referenced by CARDGAME_stepYesNo().
|
inlinestatic |
Back from the battle menu: reopens the yes/no window once the panels are open again.
Definition at line 134 of file questions.c.
Referenced by CARDGAME_stepYesNo().
| s32 CARDGAME_stepYesNo | ( | CardBattle * | battle, |
| CardScreen * | screen | ||
| ) |
Runs the yes/no window that CARDGAME_startQuestion sets up: 1 for the first choice, 2 for the second, 0 until then.
Definition at line 155 of file questions.c.
Referenced by answerYesNo().
| void CARDGAME_clearCardInfo | ( | CardBattle * | battle, |
| CardScreen * | screen | ||
| ) |
Empties the card information windows 1-4.
Definition at line 236 of file questions.c.
Referenced by CARDGAME_setupCardChoice(), CARDGAME_showCardInfo(), CARDGAME_startHandPick(), CARDGAME_startPick(), setUpPickState(), setUpViewState(), and startTableRow().
| void CARDGAME_showCardInfo | ( | CardBattle * | battle, |
| CardScreen * | screen, | ||
| s32 | offset | ||
| ) |
Fills the information windows with the card of sprite offset + effectStep.cursor (the highlighted one): its colour, name, picture or values, and kind.
Definition at line 246 of file questions.c.
Referenced by backToChoosing(), CARDGAME_chooseCard(), CARDGAME_pickTableCard(), CARDGAME_showTableCardInfo(), CARDGAME_stepChooseCards(), and CARDGAME_viewTable().
| void CARDGAME_showTableCardInfo | ( | CardBattle * | battle, |
| CardScreen * | screen, | ||
| s32 | kind | ||
| ) |
CARDGAME_showCardInfo for the highlighted card of a row (kind 0, 1 or 2, as CARDGAME_moveTableHighlight)
Definition at line 308 of file questions.c.
Referenced by browseOpponentRow(), browseOwnRow(), browsePlayedRow(), pickInOpponentRow(), and pickInOwnRow().