|
Digimon World 3 decomp
The European version, SLES_039.36
|
A player's cards in a card battle (CardSide.pile) More...
#include <cardgame/card_battle/battle.h>
Data Fields | |
| s16 | apTotal |
| the sum of its slot cards' ap, which comes off the other side's hpTotal | |
| s16 | hpTotal |
| the sum of its slot cards' hp: the higher one wins the round | |
| s16 | deckTop |
| the index of the deck's top card | |
| s16 | discardCount |
| s16 | deckCount |
| the cards left in the deck | |
| s16 | handCount |
| u8 | points [5] |
| one per card colour | |
| u8 | side |
| its panel | |
| u8 | wins |
| rounds won: two win the battle | |
| s16 | deck [40] |
| deckTop on are left | |
| s16 | hand [10] |
| handCount in use | |
| s16 | discards [10] |
| the cards played and lost from the slots, discardCount in use | |
A player's cards in a card battle (CardSide.pile)
| s16 CardPile::apTotal |
the sum of its slot cards' ap, which comes off the other side's hpTotal
Definition at line 109 of file battle.h.
Referenced by CARDGAME_showPanelValues(), CARDGAME_startAttack(), CARDGAME_startNextRound(), CARDGAME_stepSlotTotal(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTotals(), and CARDGAME_sumSlotValues().
| s16 CardPile::hpTotal |
the sum of its slot cards' hp: the higher one wins the round
Definition at line 110 of file battle.h.
Referenced by CARDGAME_showPanelValues(), CARDGAME_startAttack(), CARDGAME_startNextRound(), CARDGAME_stepAttack(), CARDGAME_stepSlotTotal(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTotals(), CARDGAME_sumSlotValues(), checkEmptyRows(), closeRoundResult(), countRoundWin(), pickRoundWinner(), waitRoundResultClosed(), and waitRoundResultShown().
| s16 CardPile::deckTop |
the index of the deck's top card
Definition at line 111 of file battle.h.
Referenced by CARDGAME_checkPlayCondition(), CARDGAME_chooseNextDraw(), CARDGAME_dealHands(), CARDGAME_discardPickedCard(), CARDGAME_drawMarkedCards(), CARDGAME_findOpponentDeckLimits(), CARDGAME_layOutPile(), CARDGAME_markDrawnCards(), CARDGAME_markPileCardsByColor(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_returnHandToDeck(), CARDGAME_returnOpponentHand(), CARDGAME_returnUsedCards(), CARDGAME_setupCardChoice(), CARDGAME_sortOpponentCards(), CARDGAME_startNextRound(), loadChosenDeck(), takeChosenCard(), takeMarkedCard(), and takePickedCard().
| s16 CardPile::discardCount |
Definition at line 112 of file battle.h.
Referenced by CARDGAME_checkPlayCondition(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_discardSlotCard(), CARDGAME_layOutPile(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_returnUsedCards(), CARDGAME_setCountingCardValues(), CARDGAME_setupCardChoice(), CARDGAME_showPanelValues(), CARDGAME_startDiscardCount(), CARDGAME_startHandCount(), CARDGAME_startPileCount(), CARDGAME_stepPileChoice(), discardPlayedCard(), showPileCounts(), startEffectStep(), and takeChosenDiscard().
| s16 CardPile::deckCount |
the cards left in the deck
Definition at line 113 of file battle.h.
Referenced by CARDGAME_checkPlayCondition(), CARDGAME_clearHands(), CARDGAME_dealHands(), CARDGAME_discardPickedCard(), CARDGAME_jumpIfDeckLeft(), CARDGAME_layOutPile(), CARDGAME_markDrawnCards(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_returnHandToDeck(), CARDGAME_returnOpponentHand(), CARDGAME_returnUsedCards(), CARDGAME_setupCardChoice(), CARDGAME_showPanelValues(), CARDGAME_startDiscardCount(), CARDGAME_startNextRound(), CARDGAME_startPileCount(), CARDGAME_stepPileChoice(), CARDGAME_stepRoundEnd(), CARDGAME_stepStart(), loadChosenDeck(), showPileCounts(), takeChosenCard(), takeMarkedCard(), and takePickedCard().
| s16 CardPile::handCount |
Definition at line 114 of file battle.h.
Referenced by askToConfirm(), backToChoosing(), CARDGAME_checkPlayCondition(), CARDGAME_clearHands(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_findOpponentHandKind(), CARDGAME_flagPlayableCards(), CARDGAME_isHandPickDone(), CARDGAME_jumpIfFewInHand(), CARDGAME_layOutPile(), CARDGAME_markPileCardsByColor(), CARDGAME_movePileSelection(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), CARDGAME_pickLowestOpponentCard(), CARDGAME_prepareTurn(), CARDGAME_putOutCards(), CARDGAME_readChooseInput(), CARDGAME_readPickInput(), CARDGAME_removeMarkedHandCards(), CARDGAME_returnHandToDeck(), CARDGAME_returnOpponentHand(), CARDGAME_returnSlotCard(), CARDGAME_runPutOut(), CARDGAME_setCountingCardValues(), CARDGAME_setupCardChoice(), CARDGAME_showPanelValues(), CARDGAME_sortOpponentHand(), CARDGAME_startHandCount(), CARDGAME_startHandPick(), CARDGAME_startPileCount(), CARDGAME_startQuestion(), CARDGAME_stepChooseCards(), CARDGAME_stepPileChoice(), CARDGAME_stepRoundEnd(), CARDGAME_takeCardToHand(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), chooseFirstEligible(), goToNextCard(), jumpBackForOtherColors(), playPlayerTurn(), resumeChoosing(), showChosenCards(), showHandAfterMenu(), showPileCounts(), startChooseState(), startEffectStep(), startPlay(), and takePickedCard().
| u8 CardPile::points[5] |
one per card colour
Definition at line 115 of file battle.h.
Referenced by CARDGAME_addCardPoints(), CARDGAME_addColorCount(), CARDGAME_drainColorValues(), CARDGAME_drawFromDeck(), CARDGAME_drawNewCards(), CARDGAME_flagPlayableCards(), CARDGAME_pickComputerCards(), CARDGAME_showPanelValues(), CARDGAME_startHandPick(), CARDGAME_startQuestion(), CARDGAME_stepColorValue(), showHandAfterMenu(), and startChooseState().
| u8 CardPile::side |
its panel
Definition at line 116 of file battle.h.
Referenced by CARDGAME_addCardPoints(), CARDGAME_initBattle(), CARDGAME_startHandPick(), hideHandForMenu(), resumeChoosing(), showChosenCards(), showHandAfterMenu(), and startChooseState().
| u8 CardPile::wins |
rounds won: two win the battle
Definition at line 117 of file battle.h.
Referenced by checkBattleWinner(), and countRoundWin().
| s16 CardPile::deck[40] |
deckTop on are left
Definition at line 118 of file battle.h.
Referenced by CARDGAME_checkPlayCondition(), CARDGAME_dealHands(), CARDGAME_discardPickedCard(), CARDGAME_drawMarkedCards(), CARDGAME_layOutPile(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_returnHandToDeck(), CARDGAME_returnOpponentHand(), CARDGAME_returnUsedCards(), CARDGAME_setupCardChoice(), CARDGAME_showPileCard(), CARDGAME_shufflePile(), CARDGAME_sortOpponentCards(), CARDGAME_takeCardToHand(), loadChosenDeck(), takeChosenCard(), takeMarkedCard(), and takePickedCard().
| s16 CardPile::hand[10] |
handCount in use
Definition at line 119 of file battle.h.
Referenced by answerHandCardPick(), CARDGAME_checkPlayCondition(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_findOpponentHandKind(), CARDGAME_flagPlayableCards(), CARDGAME_layOutPile(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), CARDGAME_pickLowestOpponentCard(), CARDGAME_prepareTurn(), CARDGAME_putOutCards(), CARDGAME_removeMarkedHandCards(), CARDGAME_returnHandToDeck(), CARDGAME_returnOpponentHand(), CARDGAME_returnSlotCard(), CARDGAME_showPileCard(), CARDGAME_sortOpponentHand(), CARDGAME_startHandPick(), CARDGAME_startQuestion(), CARDGAME_takeCardToHand(), CARDGAME_takeFlaggedCard(), CARDGAME_takeHandCard(), CARDGAME_togglePick(), countNextColors(), jumpBackForOtherColors(), playPlayerTurn(), showHandAfterMenu(), startChooseState(), and takePickedCard().
| s16 CardPile::discards[10] |
the cards played and lost from the slots, discardCount in use
Definition at line 120 of file battle.h.
Referenced by CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_discardSlotCard(), CARDGAME_layOutPile(), CARDGAME_markPileCardsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_returnUsedCards(), CARDGAME_takeCardToHand(), discardPlayedCard(), and takeChosenDiscard().