|
Digimon World 3 decomp
The European version, SLES_039.36
|
The card battle (CARDGAME_createBattle). More...
#include <cardgame/card_battle/battle.h>
Data Fields | |
| s32 | id |
| s32 | key1 |
| s32 | key2 |
| s32 | state |
| s32 | substate |
| s32 | step |
| s32 | counter |
| s32 | paused |
| s32 | childCount |
| void * | children |
| void(* | setState )(struct CardBattle *task, s32 state) |
| void(* | setSubstate )(struct CardBattle *task, s32 substate) |
| void(* | setStep )(struct CardBattle *task, s32 step) |
| void(* | setCounter )(struct CardBattle *task, s32 counter) |
| void(* | nextState )(struct CardBattle *task) |
| void(* | nextSubstate )(struct CardBattle *task) |
| void(* | nextStep )(struct CardBattle *task) |
| void(* | tickCounter )(struct CardBattle *task) |
| void(* | update )() |
| void(* | destroy )(struct CardBattle *task) |
| s16 | cards [250] |
| card ids, minus one (CARDGAME_loadCardImages) | |
| u8 | cardCount |
| in cards | |
| u8 | pad245 [3] |
| never read or written | |
| s16 | opponentDeck [40] |
| the opponent's deck | |
| s16 | playerDeck [40] |
| the player's deck | |
| u8 | arg |
| the mode argument: the opponent, from 1 | |
| u8 | opponentLevel |
| CardOpponent.level. | |
| s16 | deckChoice |
| the player's deck (GAME.decks) | |
| s32 | prize |
| the item the player wins (GAME.items) | |
| CardOpponent * | opponents |
| file FILE_CARDGAME_OPPONENTS | |
| u8 | run |
| what runs this frame (CARD_RUN_*) | |
| u8 | firstStarter |
| the side that starts the first round | |
| u8 | prevPhase |
| u8 | nextPhase |
| the phase to switch to, if not 0 | |
| u8 | phase |
| a CARD_PHASE_* | |
| u8 | phaseStep |
| the phase's own state | |
| s32 | phaseTime |
| a frame count, or the phase's own counter | |
| u8 | round |
| from 0 | |
| u8 | roundWinner |
| the side that won the round | |
| u8 | playerLost |
| 0 once the player has won the battle | |
| u8 | result |
| 2 once the battle is over | |
| u8 | keptCard |
| the card CARDGAME_keepLastCard kept, plus one | |
| u8 | keptCount |
| and how many times | |
| u8 | fade |
| the fade to start (CARDGAME_fadeColors), plus one | |
| u8 | pad307 |
| never read or written | |
| u8 | slotCount |
| the slots added so far | |
| u8 | pad309 |
| never read or written | |
| CardDraw | opponentDraws [40] |
| by the opponent's deck card | |
| u8 | pad35A [2] |
| never read or written | |
| CardPlan | opponentPlans [40] |
| one per card of side 1 (40-79) | |
| u8 | pad3FC [4] |
| never read or written | |
| u8 | counterCards [0x1B] |
| the cards the computer answers with a kind 4 card, up to an 0xFF | |
| u8 | drawEnd |
| the first card of the opponent's deck above the round's group | |
| u8 | reserveStart |
| the first card of the opponent's deck held back (group 7) | |
| CardStep | effectStep |
| CardAnim | anim |
| u8 | resolveState |
| CARDGAME_resolveCard's. | |
| u8 | prevDiscarded |
| the card before the last one played went off too | |
| u8 | playsToResolve |
| record.playCount, as CARDGAME_resolveCard starts; nothing reads it | |
| s16 | effectPos |
| the step of the card's effect script to run next | |
| s16 | loopCount |
| the effect script's loop: the runs left | |
| s16 | loopStart |
| and where it starts again | |
| s32 | subState |
| the state of a phase's helpers (CARDGAME_showPlayedCard...) | |
| s32 | subTime |
| and their frame count | |
| CardStep | savedStep |
| the step, while the battle menu is open | |
| CardRecord | record |
| CardSide | sides [2] |
| CardPlayer | players [2] |
| void(* | shufflePile )(struct CardBattle *battle, s32 base, s32 n) |
| void(* | sortCards )(struct CardBattle *battle, s16 *list, s32 range, s32 flags) |
| void(* | putOutCards )(struct CardBattle *battle, s32 side) |
| void(* | addCard )(struct CardBattle *battle, s32 side, s32 card) |
| s32(* | scoreHand )(struct CardBattle *battle, s32 side, s32 mask) |
The card battle (CARDGAME_createBattle).
The types that the headers point to before they are defined.
Its seven task items: the battle screen is the last one (CardBattleItems).
| s32 CardBattle::state |
Definition at line 227 of file battle.h.
Referenced by CARDGAME_updateBattle().
| s32 CardBattle::substate |
Definition at line 227 of file battle.h.
Referenced by CARDGAME_updateBattle().
| void(* CardBattle::setState) (struct CardBattle *task, s32 state) |
Definition at line 227 of file battle.h.
Referenced by CARDGAME_updateBattle(), and CARDGAME_updateScene().
| void(* CardBattle::setSubstate) (struct CardBattle *task, s32 substate) |
| void(* CardBattle::setStep) (struct CardBattle *task, s32 step) |
| void(* CardBattle::setCounter) (struct CardBattle *task, s32 counter) |
| void(* CardBattle::nextState) (struct CardBattle *task) |
| void(* CardBattle::nextSubstate) (struct CardBattle *task) |
| void(* CardBattle::nextStep) (struct CardBattle *task) |
| void(* CardBattle::tickCounter) (struct CardBattle *task) |
| void(* CardBattle::destroy) (struct CardBattle *task) |
| s16 CardBattle::cards[250] |
card ids, minus one (CARDGAME_loadCardImages)
Definition at line 228 of file battle.h.
Referenced by CARDGAME_addCardPoints(), CARDGAME_addColorCount(), CARDGAME_canPlayCard(), CARDGAME_canPlayCardKind(), CARDGAME_checkPlayCondition(), CARDGAME_drawFromDeck(), CARDGAME_drawNewCards(), CARDGAME_findCardSet(), CARDGAME_markPileCardsByColor(), CARDGAME_markSlotsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerCard(), CARDGAME_pickLowestOpponentCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_putSlotCard(), CARDGAME_scoreHand(), CARDGAME_setCountingCardValues(), CARDGAME_setSlot(), CARDGAME_showCardInfo(), CARDGAME_showPlayedCard(), CARDGAME_showSlotTotal(), CARDGAME_sortCards(), CARDGAME_startPreviousCardChoice(), CARDGAME_stepPlayCard(), CARDGAME_takeFlaggedCard(), CARDGAME_targetColor3Slot(), CARDGAME_targetColor4Slot(), CARDGAME_updateBattle(), checkPlayedCard(), discardPlayedCard(), jumpBackForOtherColors(), lastPlayColor(), loadChosenDeck(), and runCardEffects().
| u8 CardBattle::cardCount |
in cards
Definition at line 229 of file battle.h.
Referenced by CARDGAME_showSlotTotal(), and loadChosenDeck().
| s16 CardBattle::opponentDeck[40] |
the opponent's deck
Definition at line 231 of file battle.h.
Referenced by CARDGAME_loadOpponent(), and loadChosenDeck().
| s16 CardBattle::playerDeck[40] |
| u8 CardBattle::arg |
the mode argument: the opponent, from 1
Definition at line 233 of file battle.h.
Referenced by CARDGAME_createBattle(), CARDGAME_loadOpponent(), and CARDGAME_updateBattle().
| u8 CardBattle::opponentLevel |
Definition at line 234 of file battle.h.
Referenced by CARDGAME_loadOpponent(), and CARDGAME_updateBattle().
| s16 CardBattle::deckChoice |
the player's deck (GAME.decks)
Definition at line 235 of file battle.h.
Referenced by CARDGAME_chooseDeck(), loadChosenDeck(), and moveDeckMarker().
| s32 CardBattle::prize |
the item the player wins (GAME.items)
Definition at line 236 of file battle.h.
Referenced by CARDGAME_endRound(), CARDGAME_loadOpponent(), CARDGAME_updateBattle(), and startDealState().
| CardOpponent* CardBattle::opponents |
file FILE_CARDGAME_OPPONENTS
Definition at line 237 of file battle.h.
Referenced by CARDGAME_loadOpponent().
| u8 CardBattle::run |
what runs this frame (CARD_RUN_*)
Definition at line 238 of file battle.h.
Referenced by answerHandCardPick(), answerOnceDone(), answerTableCardPick(), answerYesNo(), CARDGAME_endRound(), CARDGAME_playRounds(), CARDGAME_resolveCard(), CARDGAME_runBattle(), CARDGAME_runBattleMenu(), CARDGAME_runEffectStep(), CARDGAME_runFirstPick(), CARDGAME_runPutOut(), CARDGAME_runStartStep(), CARDGAME_startBattleMessage(), CARDGAME_stepChooseCards(), hideForMenu(), pickRoundWinner(), playPlayerTurn(), runCardEffects(), runKeptCardSteps(), runOpponentCardSets(), runPlayerCardSets(), runRoundEndStep(), and takePickedCard().
| u8 CardBattle::firstStarter |
the side that starts the first round
Definition at line 239 of file battle.h.
Referenced by CARDGAME_runFirstPick(), and startRounds().
| u8 CardBattle::prevPhase |
Definition at line 240 of file battle.h.
Referenced by CARDGAME_runPhase(), and CARDGAME_startBattleMessage().
| u8 CardBattle::nextPhase |
the phase to switch to, if not 0
Definition at line 241 of file battle.h.
Referenced by CARDGAME_runPhase(), and CARDGAME_startBattleMessage().
| u8 CardBattle::phase |
a CARD_PHASE_*
Definition at line 242 of file battle.h.
Referenced by CARDGAME_canPlayCard(), CARDGAME_canPlayCardKind(), CARDGAME_initBattle(), CARDGAME_pickComputerCard(), CARDGAME_playRounds(), and CARDGAME_runPhase().
| u8 CardBattle::phaseStep |
the phase's own state
Definition at line 243 of file battle.h.
Referenced by CARDGAME_chooseDeck(), CARDGAME_endRound(), CARDGAME_openPanelsPhase(), CARDGAME_runFirstPick(), CARDGAME_runPhase(), CARDGAME_runPutOut(), CARDGAME_runStartStep(), checkBattleWinner(), checkEmptyRows(), closeBattleResult(), closeDeckWindow(), closeRoundResult(), countRoundWin(), moveDeckMarker(), openDeckWindow(), pickRoundWinner(), runKeptCardSteps(), runOpponentCardSets(), runPlayerCardSets(), runRoundEndStep(), waitPhaseStep(), waitRoundResultClosed(), and waitRoundResultShown().
| s32 CardBattle::phaseTime |
a frame count, or the phase's own counter
Definition at line 244 of file battle.h.
Referenced by CARDGAME_chooseDeck(), CARDGAME_endRound(), CARDGAME_runPhase(), checkEmptyRows(), closeDeckWindow(), countRoundWin(), moveDeckMarker(), openDeckWindow(), pickRoundWinner(), runOpponentCardSets(), runPlayerCardSets(), and waitPhaseStep().
| u8 CardBattle::round |
from 0
Definition at line 245 of file battle.h.
Referenced by CARDGAME_findOpponentDeckLimits(), CARDGAME_markDrawnCards(), CARDGAME_returnOpponentHand(), CARDGAME_startNextRound(), and loadChosenDeck().
| u8 CardBattle::roundWinner |
the side that won the round
Definition at line 246 of file battle.h.
Referenced by checkEmptyRows(), closeBattleResult(), countRoundWin(), pickRoundWinner(), and runRoundEndStep().
| u8 CardBattle::playerLost |
0 once the player has won the battle
Definition at line 247 of file battle.h.
Referenced by CARDGAME_initBattle(), CARDGAME_runPhase(), CARDGAME_updateBattle(), and checkBattleWinner().
| u8 CardBattle::result |
2 once the battle is over
Definition at line 248 of file battle.h.
Referenced by CARDGAME_initBattle(), and CARDGAME_updateBattle().
| u8 CardBattle::keptCard |
the card CARDGAME_keepLastCard kept, plus one
Definition at line 249 of file battle.h.
Referenced by CARDGAME_keepLastCard(), CARDGAME_startNextRound(), CARDGAME_startSwap(), and runKeptCardSteps().
| u8 CardBattle::keptCount |
and how many times
Definition at line 250 of file battle.h.
Referenced by CARDGAME_keepLastCard(), CARDGAME_pickComputerCard(), CARDGAME_startNextRound(), and runKeptCardSteps().
| u8 CardBattle::fade |
the fade to start (CARDGAME_fadeColors), plus one
Definition at line 251 of file battle.h.
Referenced by CARDGAME_startStepFade(), and startEffectStep().
| u8 CardBattle::slotCount |
the slots added so far
Definition at line 253 of file battle.h.
Referenced by CARDGAME_putSlotCard(), and CARDGAME_setSlot().
| CardDraw CardBattle::opponentDraws[40] |
by the opponent's deck card
Definition at line 255 of file battle.h.
Referenced by CARDGAME_discardPickedCard(), CARDGAME_findOpponentDeckLimits(), CARDGAME_loadOpponent(), CARDGAME_markDrawnCards(), CARDGAME_returnOpponentHand(), CARDGAME_returnUsedCards(), CARDGAME_sortCards(), CARDGAME_sortOpponentCards(), takeChosenCard(), takeMarkedCard(), and takePickedCard().
| CardPlan CardBattle::opponentPlans[40] |
one per card of side 1 (40-79)
Definition at line 257 of file battle.h.
Referenced by CARDGAME_findOpponentHandKind(), CARDGAME_loadOpponent(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), and CARDGAME_sortOpponentHand().
| u8 CardBattle::counterCards[0x1B] |
the cards the computer answers with a kind 4 card, up to an 0xFF
Definition at line 259 of file battle.h.
Referenced by CARDGAME_loadOpponent(), and CARDGAME_pickComputerCard().
| u8 CardBattle::drawEnd |
the first card of the opponent's deck above the round's group
Definition at line 260 of file battle.h.
Referenced by CARDGAME_discardPickedCard(), CARDGAME_findOpponentDeckLimits(), CARDGAME_pickComputerDeckCard(), CARDGAME_returnUsedCards(), takeChosenCard(), and takeMarkedCard().
| u8 CardBattle::reserveStart |
the first card of the opponent's deck held back (group 7)
Definition at line 261 of file battle.h.
Referenced by CARDGAME_chooseNextDraw(), CARDGAME_discardPickedCard(), CARDGAME_findOpponentDeckLimits(), CARDGAME_returnOpponentHand(), CARDGAME_returnUsedCards(), CARDGAME_sortOpponentCards(), takeChosenCard(), and takeMarkedCard().
| CardStep CardBattle::effectStep |
Definition at line 262 of file battle.h.
Referenced by answerHandCardPick(), answerTableCardPick(), askToConfirm(), backToChoosing(), browseOpponentRow(), browseOwnRow(), browsePlayedRow(), CARDGAME_beginStep(), CARDGAME_browseHand(), CARDGAME_checkPlayCondition(), CARDGAME_chooseCard(), CARDGAME_chooseNextDraw(), CARDGAME_clearHands(), CARDGAME_copySlotCard(), CARDGAME_countDown(), CARDGAME_countSlotValues(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_drainColorValues(), CARDGAME_drawFirstPlayer(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_endRound(), CARDGAME_findCardSet(), CARDGAME_flagPlayableCards(), CARDGAME_flagTargetSlots(), CARDGAME_flipSlotCard(), CARDGAME_isHandPickDone(), CARDGAME_isSlotWithin(), CARDGAME_keepLowestSlot(), CARDGAME_markBestOpponentSlot(), CARDGAME_markDrawnCards(), CARDGAME_markPileCardsByColor(), CARDGAME_markSlotsByColor(), CARDGAME_markSlotsOfOrder(), CARDGAME_markTargetSlots(), CARDGAME_moveHandHighlight(), CARDGAME_moveMarkedSlots(), CARDGAME_movePileSelection(), CARDGAME_moveSelection(), CARDGAME_moveSlotCard(), CARDGAME_moveTableHighlight(), CARDGAME_openStepWindows(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickLowestOpponentCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_pickTableCard(), CARDGAME_playRounds(), CARDGAME_putOutCards(), CARDGAME_putSlotCard(), CARDGAME_readChooseInput(), CARDGAME_readCountInput(), CARDGAME_readPickInput(), CARDGAME_removeMarkedHandCards(), CARDGAME_removeMarkedSlots(), CARDGAME_resolveCard(), CARDGAME_returnUsedCards(), CARDGAME_runBattleMenu(), CARDGAME_runEffectStep(), CARDGAME_runFirstPick(), CARDGAME_runPutOut(), CARDGAME_runStartStep(), CARDGAME_setupCardChoice(), CARDGAME_showCardInfo(), CARDGAME_showPileCard(), CARDGAME_showSlotTotal(), CARDGAME_showTargetSlots(), CARDGAME_sortCards(), CARDGAME_sortOpponentCards(), CARDGAME_startAttack(), CARDGAME_startBattleMessage(), CARDGAME_startCloseGauge(), CARDGAME_startClosePanels(), CARDGAME_startColorChange(), CARDGAME_startColorDrain(), CARDGAME_startDiscardAllSlots(), CARDGAME_startDiscardCount(), CARDGAME_startDraw(), CARDGAME_startFirstPick(), CARDGAME_startHandCount(), CARDGAME_startHandPick(), CARDGAME_startMessage(), CARDGAME_startOpenPanels(), CARDGAME_startPanelsStep(), CARDGAME_startPick(), CARDGAME_startPickTableCard(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startQuestion(), CARDGAME_startRoundEnd(), CARDGAME_startSlotEffects(), CARDGAME_startSlotSweep(), CARDGAME_startStepMessage(), CARDGAME_startSwap(), CARDGAME_startTotals(), CARDGAME_startViewTable(), CARDGAME_stepAttack(), CARDGAME_stepChooseCards(), CARDGAME_stepClosePanels(), CARDGAME_stepColorValue(), CARDGAME_stepDiscardAllSlots(), CARDGAME_stepEffectColorValue(), CARDGAME_stepMessage(), CARDGAME_stepOpenPanels(), CARDGAME_stepPileChoice(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepPulseCard(), CARDGAME_stepRoundEnd(), CARDGAME_stepSendOff(), CARDGAME_stepShakeAway(), CARDGAME_stepSlotStats(), CARDGAME_stepSlotSweep(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTargetSlots(), CARDGAME_stepTotals(), CARDGAME_stepYesNo(), CARDGAME_switchCoinCard(), CARDGAME_takeCardToHand(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), CARDGAME_targetColor3Slot(), CARDGAME_targetColor4Slot(), CARDGAME_targetFlaggedSlot(), CARDGAME_togglePick(), CARDGAME_unflagSlotsOver(), CARDGAME_viewTable(), CARDGAME_waitFor(), CARDGAME_waitMessage(), chooseFirstEligible(), chooseFirstPickRow(), chooseFirstRow(), countNextColors(), dealNextCards(), goToNextCard(), hideForMenu(), hideHandForMenu(), leaveOpponentRow(), leaveOwnRow(), leavePlayedRow(), leaveTableRow(), pickInOpponentRow(), pickInOwnRow(), pickRoundWinner(), playComputerTurn(), playPlayerTurn(), readConfirmInput(), readYesNoInput(), resumeChoosing(), runCardEffects(), runKeptCardSteps(), runOpponentCardSets(), runPlayerCardSets(), runRoundEndStep(), setUpPickState(), setUpViewState(), showAfterMenu(), showChosenCards(), showHandAfterMenu(), startChooseState(), startDealState(), startEffectStep(), startTableRow(), takeChosenCard(), takeChosenDiscard(), takeMarkedCard(), takePickedCard(), and takePickedCard().
| CardAnim CardBattle::anim |
Definition at line 263 of file battle.h.
Referenced by CARDGAME_chooseCard(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_endRound(), CARDGAME_layOutPile(), CARDGAME_layOutSlots(), CARDGAME_openPanelsPhase(), CARDGAME_pickTableCard(), CARDGAME_playRounds(), CARDGAME_resetSpriteFlags(), CARDGAME_setupCardChoice(), CARDGAME_showTargetSlots(), CARDGAME_startClosePanels(), CARDGAME_startHandPick(), CARDGAME_startOpenPanels(), CARDGAME_startPanelsStep(), CARDGAME_startPick(), CARDGAME_startPileChoice(), CARDGAME_startPileCount(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startQuestion(), CARDGAME_stepChooseCards(), CARDGAME_stepClosePanels(), CARDGAME_stepHidePanels(), CARDGAME_stepOpenPanels(), CARDGAME_stepPileChoice(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepShowPanels(), CARDGAME_stepTally(), CARDGAME_stepTargetSlots(), CARDGAME_stepYesNo(), CARDGAME_takeCardToHand(), CARDGAME_updateCardAnims(), CARDGAME_viewTable(), chooseFirstPickRow(), chooseFirstRow(), hideForMenu(), hideHandForMenu(), resumeChoosing(), setUpPickState(), setUpViewState(), showAfterMenu(), showChosenCards(), showHandAfterMenu(), startChooseState(), and startRounds().
| u8 CardBattle::resolveState |
CARDGAME_resolveCard's.
Definition at line 264 of file battle.h.
Referenced by CARDGAME_playRounds(), CARDGAME_resolveCard(), checkPlayedCard(), discardPlayedCard(), and runCardEffects().
| u8 CardBattle::prevDiscarded |
the card before the last one played went off too
Definition at line 265 of file battle.h.
Referenced by CARDGAME_resolveCard(), CARDGAME_runEffectStep(), and discardPlayedCard().
| u8 CardBattle::playsToResolve |
record.playCount, as CARDGAME_resolveCard starts; nothing reads it
Definition at line 266 of file battle.h.
Referenced by CARDGAME_playRounds().
| s16 CardBattle::effectPos |
the step of the card's effect script to run next
Definition at line 267 of file battle.h.
Referenced by CARDGAME_jumpIfDeckLeft(), CARDGAME_jumpIfFewInHand(), CARDGAME_jumpIfLastSide(), CARDGAME_jumpIfManyInHand(), CARDGAME_jumpIfSlotFree(), CARDGAME_runEffectStep(), checkPlayedCard(), jumpBackForOtherColors(), and runCardEffects().
| s16 CardBattle::loopCount |
the effect script's loop: the runs left
Definition at line 268 of file battle.h.
Referenced by CARDGAME_runEffectStep().
| s16 CardBattle::loopStart |
and where it starts again
Definition at line 269 of file battle.h.
Referenced by CARDGAME_runEffectStep().
| s32 CardBattle::subState |
the state of a phase's helpers (CARDGAME_showPlayedCard...)
Definition at line 270 of file battle.h.
Referenced by CARDGAME_playRounds(), CARDGAME_resolveCard(), CARDGAME_showPlayedCard(), CARDGAME_stepHidePanels(), CARDGAME_stepShowPanels(), closeBattleResult(), discardPlayedCard(), and startNextTurn().
| s32 CardBattle::subTime |
and their frame count
Definition at line 271 of file battle.h.
Referenced by CARDGAME_playRounds(), CARDGAME_resolveCard(), CARDGAME_showPlayedCard(), and discardPlayedCard().
| CardStep CardBattle::savedStep |
the step, while the battle menu is open
Definition at line 272 of file battle.h.
Referenced by CARDGAME_runBattleMenu().
| CardRecord CardBattle::record |
Definition at line 273 of file battle.h.
Referenced by answerHandCardPick(), answerOnceDone(), answerQuitQuestion(), answerTableCardPick(), answerYesNo(), 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_prepareTurn(), CARDGAME_runBattleMenu(), CARDGAME_runEffectStep(), CARDGAME_showPlayedCard(), CARDGAME_showTargetSlots(), CARDGAME_startCloseGauge(), CARDGAME_startClosePanels(), CARDGAME_startOpenPanels(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_stepChooseCards(), CARDGAME_stepClosePanels(), CARDGAME_stepEffectColorValue(), CARDGAME_stepOpenPanels(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepYesNo(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), CARDGAME_targetFlaggedSlot(), CARDGAME_updateCardAnims(), checkPlayedCard(), chooseFirstRow(), discardPlayedCard(), hideForMenu(), hidePlays(), lastPlayColor(), leaveOpponentRow(), leaveOwnRow(), markPlayTargets(), moveMenuCursor(), openMenuChoice(), playComputerTurn(), playPlayerTurn(), runCardEffects(), setUpPickState(), showPlayedCard(), showPlays(), startEffectStep(), startNextTurn(), startPlay(), startRounds(), and takePickedCard().
| CardSide CardBattle::sides[2] |
Definition at line 274 of file battle.h.
Referenced by answerHandCardPick(), CARDGAME_addColorCount(), CARDGAME_checkPlayCondition(), CARDGAME_chooseNextDraw(), CARDGAME_clearHands(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_discardSlotCard(), CARDGAME_drainColorValues(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_findOpponentDeckLimits(), CARDGAME_findOpponentHandKind(), CARDGAME_initBattle(), CARDGAME_jumpIfDeckLeft(), CARDGAME_jumpIfFewInHand(), CARDGAME_layOutPile(), CARDGAME_markDrawnCards(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickLowestOpponentCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_prepareTurn(), CARDGAME_putOutCards(), CARDGAME_returnOpponentHand(), CARDGAME_returnSlotCard(), CARDGAME_returnUsedCards(), CARDGAME_runEffectStep(), CARDGAME_runPutOut(), CARDGAME_setCountingCardValues(), CARDGAME_setupCardChoice(), CARDGAME_showPanelValues(), CARDGAME_showPileCard(), CARDGAME_shufflePile(), CARDGAME_sortOpponentCards(), CARDGAME_sortOpponentHand(), CARDGAME_startAttack(), CARDGAME_startDiscardCount(), CARDGAME_startHandCount(), CARDGAME_startNextRound(), CARDGAME_startPileCount(), CARDGAME_startQuestion(), CARDGAME_stepAttack(), CARDGAME_stepColorValue(), CARDGAME_stepPileChoice(), CARDGAME_stepRoundEnd(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTotals(), CARDGAME_sumSlotValues(), CARDGAME_takeCardToHand(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), checkBattleWinner(), checkEmptyRows(), chooseFirstEligible(), closeRoundResult(), countNextColors(), countRoundWin(), discardPlayedCard(), goToNextCard(), jumpBackForOtherColors(), loadChosenDeck(), pickRoundWinner(), playPlayerTurn(), showPileCounts(), startEffectStep(), startPlay(), takeChosenCard(), takeChosenDiscard(), takeMarkedCard(), takePickedCard(), takePickedCard(), waitRoundResultClosed(), and waitRoundResultShown().
| CardPlayer CardBattle::players[2] |
Definition at line 275 of file battle.h.
Referenced by answerTableCardPick(), browseOpponentRow(), browseOwnRow(), browsePlayedRow(), CARDGAME_addCard(), CARDGAME_checkPlayCondition(), CARDGAME_compareCards(), CARDGAME_copySlotCard(), CARDGAME_countSlotValues(), CARDGAME_discardSlotCard(), CARDGAME_findCardSet(), CARDGAME_flagTargetSlots(), CARDGAME_flipSlotCard(), CARDGAME_getTableHeight(), CARDGAME_isSlotWithin(), CARDGAME_jumpIfSlotFree(), CARDGAME_keepLowestSlot(), CARDGAME_layOutSlots(), CARDGAME_markSlotsByColor(), CARDGAME_markSlotsOfOrder(), CARDGAME_markTargetSlots(), CARDGAME_moveMarkedSlots(), CARDGAME_moveSlotCard(), CARDGAME_pickComputerTarget(), CARDGAME_pickTableCard(), CARDGAME_putOutCards(), CARDGAME_putSlotCard(), CARDGAME_removeMarkedSlots(), CARDGAME_returnSlotCard(), CARDGAME_scoreHand(), CARDGAME_setAllCountingValues(), CARDGAME_setCountingCardValues(), CARDGAME_setSlot(), CARDGAME_showSlotTotal(), CARDGAME_showTargetSlots(), CARDGAME_startAttack(), CARDGAME_startDiscardAllSlots(), CARDGAME_startSlotEffects(), CARDGAME_stepAttack(), CARDGAME_stepDiscardAllSlots(), CARDGAME_stepRoundEnd(), CARDGAME_stepSlotStats(), CARDGAME_stepSlotTotal(), CARDGAME_stepTally(), CARDGAME_stepTotals(), CARDGAME_sumSlotValues(), CARDGAME_takeHandCard(), CARDGAME_targetColor3Slot(), CARDGAME_targetColor4Slot(), CARDGAME_targetFlaggedSlot(), CARDGAME_unflagSlotsOver(), CARDGAME_updateCardAnims(), checkEmptyRows(), chooseFirstPickRow(), chooseFirstRow(), hideSlots(), leaveOpponentRow(), leaveOwnRow(), leavePlayedRow(), markPlayTargets(), pickInOpponentRow(), pickInOwnRow(), and showSlots().
| void(* CardBattle::shufflePile) (struct CardBattle *battle, s32 base, s32 n) |
Definition at line 276 of file battle.h.
Referenced by CARDGAME_createBattle(), CARDGAME_returnUsedCards(), CARDGAME_startNextRound(), loadChosenDeck(), and takePickedCard().
| void(* CardBattle::sortCards) (struct CardBattle *battle, s16 *list, s32 range, s32 flags) |
Definition at line 277 of file battle.h.
Referenced by CARDGAME_createBattle(), CARDGAME_prepareTurn(), CARDGAME_setupCardChoice(), playPlayerTurn(), and takePickedCard().
| void(* CardBattle::putOutCards) (struct CardBattle *battle, s32 side) |
Definition at line 278 of file battle.h.
Referenced by CARDGAME_createBattle(), and CARDGAME_runPutOut().
| void(* CardBattle::addCard) (struct CardBattle *battle, s32 side, s32 card) |
Definition at line 279 of file battle.h.
Referenced by CARDGAME_createBattle(), and CARDGAME_takeHandCard().
| s32(* CardBattle::scoreHand) (struct CardBattle *battle, s32 side, s32 mask) |
Definition at line 280 of file battle.h.
Referenced by CARDGAME_createBattle(), and CARDGAME_markBestOpponentSlot().