|
Digimon World 3 decomp
The European version, SLES_039.36
|
The turns of a round, in which the sides play cards one after the other (CARDGAME_playRounds), and the battle menu (CardBattle.record) More...
#include <cardgame/card_battle/battle.h>
Data Fields | |
| u8 | menuState |
| CARDGAME_runBattleMenu's state. | |
| u8 | menuCursor |
| CARDGAME_runBattleMenu's cursor, 0-4. | |
| u8 | pad2 [0xA] |
| never read or written | |
| u8 | turnState |
| CARDGAME_playRounds' state. | |
| s8 | playCount |
| the plays in use | |
| u8 | turns |
| the turns of plays this round | |
| u8 | passes |
| the turns with no card played: two end the plays | |
| u8 | starter |
| the side that starts the round | |
| u8 | turnSide |
| the side whose turn it is | |
| s8 | answer |
| a step's result: -1 while waiting, then 0 or 1 | |
| s32 | waitTime |
| CardPlay | plays [3] |
| the cards played this turn, up to three | |
| u8 | pad30 [4] |
| never read or written: CardBattle.sides follows 0x34 bytes after the record | |
The turns of a round, in which the sides play cards one after the other (CARDGAME_playRounds), and the battle menu (CardBattle.record)
| u8 CardRecord::menuState |
CARDGAME_runBattleMenu's state.
Definition at line 126 of file battle.h.
Referenced by answerQuitQuestion(), CARDGAME_runBattleMenu(), CARDGAME_stepChooseCards(), hideForMenu(), moveMenuCursor(), and openMenuChoice().
| u8 CardRecord::menuCursor |
CARDGAME_runBattleMenu's cursor, 0-4.
Definition at line 127 of file battle.h.
Referenced by CARDGAME_runBattleMenu(), moveMenuCursor(), and openMenuChoice().
| u8 CardRecord::turnState |
CARDGAME_playRounds' state.
Definition at line 129 of file battle.h.
Referenced by CARDGAME_playRounds(), CARDGAME_prepareTurn(), playComputerTurn(), playPlayerTurn(), startNextTurn(), startPlay(), startRounds(), and takePickedCard().
| s8 CardRecord::playCount |
the plays in use
Definition at line 130 of file battle.h.
Referenced by answerHandCardPick(), answerTableCardPick(), browseOpponentRow(), browseOwnRow(), browsePlayedRow(), CARDGAME_checkComputerCondition(), CARDGAME_checkPlayCondition(), CARDGAME_compareCards(), CARDGAME_copySlotCard(), CARDGAME_discardPrevCard(), CARDGAME_flagTargetSlots(), CARDGAME_jumpIfLastSide(), CARDGAME_keepLastCard(), CARDGAME_layOutSlots(), CARDGAME_markRecordHits(), CARDGAME_markSlotsOfOrder(), CARDGAME_markTargetSlots(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerTarget(), CARDGAME_pickLowestOpponentCard(), CARDGAME_playRounds(), CARDGAME_runEffectStep(), CARDGAME_showPlayedCard(), CARDGAME_showTargetSlots(), CARDGAME_startCloseGauge(), CARDGAME_startClosePanels(), CARDGAME_startOpenPanels(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_stepClosePanels(), CARDGAME_stepEffectColorValue(), CARDGAME_stepOpenPanels(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepYesNo(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), CARDGAME_targetFlaggedSlot(), CARDGAME_updateCardAnims(), checkPlayedCard(), chooseFirstRow(), discardPlayedCard(), hidePlays(), lastPlayColor(), leaveOpponentRow(), leaveOwnRow(), playComputerTurn(), playPlayerTurn(), runCardEffects(), setUpPickState(), showPlayedCard(), showPlays(), startNextTurn(), startPlay(), startRounds(), and takePickedCard().
| u8 CardRecord::turns |
the turns of plays this round
Definition at line 131 of file battle.h.
Referenced by startNextTurn().
| u8 CardRecord::passes |
the turns with no card played: two end the plays
Definition at line 132 of file battle.h.
Referenced by CARDGAME_playRounds(), playComputerTurn(), playPlayerTurn(), startNextTurn(), startPlay(), and startRounds().
| u8 CardRecord::starter |
the side that starts the round
Definition at line 133 of file battle.h.
Referenced by startNextTurn(), startPlay(), and startRounds().
| u8 CardRecord::turnSide |
the side whose turn it is
Definition at line 134 of file battle.h.
Referenced by CARDGAME_playRounds(), CARDGAME_runEffectStep(), CARDGAME_stepPlayCard(), CARDGAME_takeFlaggedCard(), playPlayerTurn(), startEffectStep(), startNextTurn(), startRounds(), and takePickedCard().
| s8 CardRecord::answer |
a step's result: -1 while waiting, then 0 or 1
Definition at line 135 of file battle.h.
Referenced by answerHandCardPick(), answerOnceDone(), answerTableCardPick(), answerYesNo(), CARDGAME_playRounds(), playPlayerTurn(), startPlay(), and takePickedCard().
| s32 CardRecord::waitTime |
Definition at line 136 of file battle.h.
Referenced by CARDGAME_playRounds(), playComputerTurn(), and playPlayerTurn().
| CardPlay CardRecord::plays[3] |
the cards played this turn, up to three
Definition at line 137 of file battle.h.
Referenced by answerHandCardPick(), answerTableCardPick(), CARDGAME_checkPlayCondition(), CARDGAME_compareCards(), CARDGAME_copySlotCard(), CARDGAME_discardPrevCard(), CARDGAME_flagTargetSlots(), CARDGAME_jumpIfLastSide(), CARDGAME_keepLastCard(), CARDGAME_layOutSlots(), CARDGAME_markRecordHits(), CARDGAME_markSlotsOfOrder(), CARDGAME_markTargetSlots(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerTarget(), CARDGAME_pickLowestOpponentCard(), CARDGAME_runEffectStep(), CARDGAME_showPlayedCard(), CARDGAME_showTargetSlots(), CARDGAME_startClosePanels(), CARDGAME_startOpenPanels(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_stepEffectColorValue(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), CARDGAME_targetFlaggedSlot(), checkPlayedCard(), discardPlayedCard(), lastPlayColor(), markPlayTargets(), playComputerTurn(), runCardEffects(), setUpPickState(), showPlayedCard(), showPlays(), startNextTurn(), startRounds(), and takePickedCard().
| u8 CardRecord::pad30[4] |
never read or written: CardBattle.sides follows 0x34 bytes after the record