Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
CardBattle Struct Reference

The card battle (CARDGAME_createBattle). More...

#include <cardgame/card_battle/battle.h>

Collaboration diagram for CardBattle:
[legend]

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)
 

Detailed Description

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).

Definition at line 226 of file battle.h.

Field Documentation

◆ id

s32 CardBattle::id

Definition at line 227 of file battle.h.

◆ key1

s32 CardBattle::key1

Definition at line 227 of file battle.h.

◆ key2

s32 CardBattle::key2

Definition at line 227 of file battle.h.

◆ state

s32 CardBattle::state

Definition at line 227 of file battle.h.

Referenced by CARDGAME_updateBattle().

◆ substate

s32 CardBattle::substate

Definition at line 227 of file battle.h.

Referenced by CARDGAME_updateBattle().

◆ step

s32 CardBattle::step

Definition at line 227 of file battle.h.

◆ counter

s32 CardBattle::counter

Definition at line 227 of file battle.h.

◆ paused

s32 CardBattle::paused

Definition at line 227 of file battle.h.

◆ childCount

s32 CardBattle::childCount

Definition at line 227 of file battle.h.

◆ children

void* CardBattle::children

Definition at line 227 of file battle.h.

◆ setState

void(* CardBattle::setState) (struct CardBattle *task, s32 state)

Definition at line 227 of file battle.h.

Referenced by CARDGAME_updateBattle(), and CARDGAME_updateScene().

◆ setSubstate

void(* CardBattle::setSubstate) (struct CardBattle *task, s32 substate)

Definition at line 227 of file battle.h.

◆ setStep

void(* CardBattle::setStep) (struct CardBattle *task, s32 step)

Definition at line 227 of file battle.h.

◆ setCounter

void(* CardBattle::setCounter) (struct CardBattle *task, s32 counter)

Definition at line 227 of file battle.h.

◆ nextState

void(* CardBattle::nextState) (struct CardBattle *task)

Definition at line 227 of file battle.h.

◆ nextSubstate

void(* CardBattle::nextSubstate) (struct CardBattle *task)

Definition at line 227 of file battle.h.

◆ nextStep

void(* CardBattle::nextStep) (struct CardBattle *task)

Definition at line 227 of file battle.h.

◆ tickCounter

void(* CardBattle::tickCounter) (struct CardBattle *task)

Definition at line 227 of file battle.h.

◆ update

void(* CardBattle::update) ()

Definition at line 227 of file battle.h.

◆ destroy

void(* CardBattle::destroy) (struct CardBattle *task)

Definition at line 227 of file battle.h.

◆ cards

◆ cardCount

u8 CardBattle::cardCount

in cards

Definition at line 229 of file battle.h.

Referenced by CARDGAME_showSlotTotal(), and loadChosenDeck().

◆ pad245

u8 CardBattle::pad245[3]

never read or written

Definition at line 230 of file battle.h.

◆ opponentDeck

s16 CardBattle::opponentDeck[40]

the opponent's deck

Definition at line 231 of file battle.h.

Referenced by CARDGAME_loadOpponent(), and loadChosenDeck().

◆ playerDeck

s16 CardBattle::playerDeck[40]

the player's deck

Definition at line 232 of file battle.h.

Referenced by loadChosenDeck().

◆ arg

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().

◆ opponentLevel

u8 CardBattle::opponentLevel

CardOpponent.level.

Definition at line 234 of file battle.h.

Referenced by CARDGAME_loadOpponent(), and CARDGAME_updateBattle().

◆ deckChoice

s16 CardBattle::deckChoice

the player's deck (GAME.decks)

Definition at line 235 of file battle.h.

Referenced by CARDGAME_chooseDeck(), loadChosenDeck(), and moveDeckMarker().

◆ prize

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().

◆ opponents

CardOpponent* CardBattle::opponents

file FILE_CARDGAME_OPPONENTS

Definition at line 237 of file battle.h.

Referenced by CARDGAME_loadOpponent().

◆ run

◆ firstStarter

u8 CardBattle::firstStarter

the side that starts the first round

Definition at line 239 of file battle.h.

Referenced by CARDGAME_runFirstPick(), and startRounds().

◆ prevPhase

u8 CardBattle::prevPhase

Definition at line 240 of file battle.h.

Referenced by CARDGAME_runPhase(), and CARDGAME_startBattleMessage().

◆ nextPhase

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().

◆ phase

◆ phaseStep

◆ phaseTime

◆ round

◆ roundWinner

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().

◆ playerLost

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().

◆ result

u8 CardBattle::result

2 once the battle is over

Definition at line 248 of file battle.h.

Referenced by CARDGAME_initBattle(), and CARDGAME_updateBattle().

◆ keptCard

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().

◆ keptCount

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().

◆ fade

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().

◆ pad307

u8 CardBattle::pad307

never read or written

Definition at line 252 of file battle.h.

◆ slotCount

u8 CardBattle::slotCount

the slots added so far

Definition at line 253 of file battle.h.

Referenced by CARDGAME_putSlotCard(), and CARDGAME_setSlot().

◆ pad309

u8 CardBattle::pad309

never read or written

Definition at line 254 of file battle.h.

◆ opponentDraws

◆ pad35A

u8 CardBattle::pad35A[2]

never read or written

Definition at line 256 of file battle.h.

◆ opponentPlans

CardPlan CardBattle::opponentPlans[40]

◆ pad3FC

u8 CardBattle::pad3FC[4]

never read or written

Definition at line 258 of file battle.h.

◆ counterCards

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().

◆ drawEnd

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().

◆ reserveStart

u8 CardBattle::reserveStart

◆ effectStep

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().

◆ anim

◆ resolveState

u8 CardBattle::resolveState

CARDGAME_resolveCard's.

Definition at line 264 of file battle.h.

Referenced by CARDGAME_playRounds(), CARDGAME_resolveCard(), checkPlayedCard(), discardPlayedCard(), and runCardEffects().

◆ prevDiscarded

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().

◆ playsToResolve

u8 CardBattle::playsToResolve

record.playCount, as CARDGAME_resolveCard starts; nothing reads it

Definition at line 266 of file battle.h.

Referenced by CARDGAME_playRounds().

◆ effectPos

◆ loopCount

s16 CardBattle::loopCount

the effect script's loop: the runs left

Definition at line 268 of file battle.h.

Referenced by CARDGAME_runEffectStep().

◆ loopStart

s16 CardBattle::loopStart

and where it starts again

Definition at line 269 of file battle.h.

Referenced by CARDGAME_runEffectStep().

◆ subState

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().

◆ subTime

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().

◆ savedStep

CardStep CardBattle::savedStep

the step, while the battle menu is open

Definition at line 272 of file battle.h.

Referenced by CARDGAME_runBattleMenu().

◆ record

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().

◆ sides

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().

◆ players

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().

◆ shufflePile

void(* CardBattle::shufflePile) (struct CardBattle *battle, s32 base, s32 n)

◆ sortCards

void(* CardBattle::sortCards) (struct CardBattle *battle, s16 *list, s32 range, s32 flags)

◆ putOutCards

void(* CardBattle::putOutCards) (struct CardBattle *battle, s32 side)

Definition at line 278 of file battle.h.

Referenced by CARDGAME_createBattle(), and CARDGAME_runPutOut().

◆ addCard

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().

◆ scoreHand

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().


The documentation for this struct was generated from the following file: