|
Digimon World 3 decomp
The European version, SLES_039.36
|
The effect step that runs (CARDGAME_runEffectStep) and its values, which CARDGAME_runBattleMenu keeps a copy of while the menu is open. More...
#include <cardgame/card_battle/battle.h>
Data Fields | |
| u8 | id |
| the step running | |
| u8 | next |
| the step to start: CARDGAME_runEffectStep sets it up first | |
| u8 | state |
| the step's own state | |
| u8 | nextState |
| the state to set up first, if not 0 | |
| s32 | time |
| a frame count, or the step's own sub-state | |
| s32 | vars [5] |
| values each step uses its own way | |
| s32 | cursor |
| the card or slot highlighted | |
| s32 | choice |
| the card, slot or answer chosen; -1 for none | |
| u8 | count |
| the cards picked, or to draw | |
| u8 | flags |
| the step's own: the rows to pick from, the deck run out... | |
| s8 | eligible [0x29] |
| the cards or slots that can be picked | |
| s8 | marked [40] |
| the cards or slots picked | |
The effect step that runs (CARDGAME_runEffectStep) and its values, which CARDGAME_runBattleMenu keeps a copy of while the menu is open.
| u8 CardStep::id |
the step running
Definition at line 144 of file battle.h.
Referenced by CARDGAME_chooseCard(), CARDGAME_openStepWindows(), CARDGAME_runEffectStep(), CARDGAME_stepChooseCards(), CARDGAME_stepEffectColorValue(), hideHandForMenu(), showHandAfterMenu(), and startChooseState().
| u8 CardStep::next |
the step to start: CARDGAME_runEffectStep sets it up first
Definition at line 145 of file battle.h.
Referenced by CARDGAME_chooseCard(), CARDGAME_endRound(), CARDGAME_playRounds(), CARDGAME_resolveCard(), CARDGAME_runBattleMenu(), CARDGAME_runEffectStep(), CARDGAME_runFirstPick(), CARDGAME_runPutOut(), CARDGAME_runStartStep(), CARDGAME_startBattleMessage(), CARDGAME_stepChooseCards(), pickRoundWinner(), playPlayerTurn(), runCardEffects(), runKeptCardSteps(), runOpponentCardSets(), runPlayerCardSets(), runRoundEndStep(), startEffectStep(), and takePickedCard().
| u8 CardStep::state |
the step's own state
Definition at line 146 of file battle.h.
Referenced by CARDGAME_beginStep(), CARDGAME_chooseCard(), CARDGAME_copySlotCard(), CARDGAME_countSlotValues(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_drainColorValues(), CARDGAME_drawFirstPlayer(), CARDGAME_drawFromDeck(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_flipSlotCard(), CARDGAME_moveSlotCard(), CARDGAME_pickTableCard(), CARDGAME_putSlotCard(), CARDGAME_removeMarkedSlots(), CARDGAME_returnUsedCards(), CARDGAME_showPileCard(), CARDGAME_showSlotTotal(), CARDGAME_showTargetSlots(), CARDGAME_startAttack(), CARDGAME_startCloseGauge(), CARDGAME_startClosePanels(), CARDGAME_startDiscardAllSlots(), CARDGAME_startDiscardCount(), CARDGAME_startFirstPick(), CARDGAME_startHandCount(), CARDGAME_startMessage(), CARDGAME_startOpenPanels(), CARDGAME_startPanelsStep(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startQuestion(), CARDGAME_startRoundEnd(), CARDGAME_startSlotSweep(), CARDGAME_startStepMessage(), CARDGAME_startSwap(), CARDGAME_startTotals(), CARDGAME_stepAttack(), CARDGAME_stepChooseCards(), CARDGAME_stepClosePanels(), CARDGAME_stepColorValue(), CARDGAME_stepDiscardAllSlots(), CARDGAME_stepMessage(), CARDGAME_stepOpenPanels(), CARDGAME_stepPileChoice(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepRoundEnd(), CARDGAME_stepSlotSweep(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTargetSlots(), CARDGAME_stepTotals(), CARDGAME_stepYesNo(), CARDGAME_takeCardToHand(), CARDGAME_takeHandCard(), CARDGAME_viewTable(), CARDGAME_waitMessage(), goToNextCard(), hideForMenu(), readYesNoInput(), showAfterMenu(), and startEffectStep().
| u8 CardStep::nextState |
the state to set up first, if not 0
Definition at line 147 of file battle.h.
Referenced by backToChoosing(), browseOpponentRow(), browseOwnRow(), browsePlayedRow(), CARDGAME_browseHand(), CARDGAME_chooseCard(), CARDGAME_clearHands(), CARDGAME_drainColorValues(), CARDGAME_pickTableCard(), CARDGAME_readChooseInput(), CARDGAME_readCountInput(), CARDGAME_readPickInput(), CARDGAME_setupCardChoice(), CARDGAME_startColorChange(), CARDGAME_startHandPick(), CARDGAME_startPick(), CARDGAME_startPickTableCard(), CARDGAME_startViewTable(), CARDGAME_stepChooseCards(), CARDGAME_stepColorValue(), CARDGAME_stepStart(), CARDGAME_viewTable(), chooseFirstPickRow(), chooseFirstRow(), leaveOpponentRow(), leaveOwnRow(), leavePlayedRow(), pickInOpponentRow(), pickInOwnRow(), readConfirmInput(), resumeChoosing(), setUpPickState(), setUpViewState(), startChooseState(), and startDealState().
| s32 CardStep::time |
a frame count, or the step's own sub-state
Definition at line 148 of file battle.h.
Referenced by askToConfirm(), backToChoosing(), CARDGAME_chooseCard(), CARDGAME_copySlotCard(), CARDGAME_countDown(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_drainColorValues(), CARDGAME_drawFirstPlayer(), CARDGAME_drawFromDeck(), CARDGAME_drawNewCards(), CARDGAME_flipSlotCard(), CARDGAME_moveMarkedSlots(), CARDGAME_pickTableCard(), CARDGAME_removeMarkedSlots(), CARDGAME_returnUsedCards(), CARDGAME_showPileCard(), CARDGAME_showSlotTotal(), CARDGAME_startAttack(), CARDGAME_startCloseGauge(), CARDGAME_startDiscardAllSlots(), CARDGAME_startDiscardCount(), CARDGAME_startFirstPick(), CARDGAME_startHandCount(), CARDGAME_startMessage(), CARDGAME_startPlayCard(), CARDGAME_startQuestion(), CARDGAME_startRoundEnd(), CARDGAME_startSlotEffects(), CARDGAME_startTotals(), CARDGAME_stepAttack(), CARDGAME_stepChooseCards(), CARDGAME_stepColorValue(), CARDGAME_stepDiscardAllSlots(), CARDGAME_stepPlayCard(), CARDGAME_stepPulseCard(), CARDGAME_stepRoundEnd(), CARDGAME_stepSendOff(), CARDGAME_stepShakeAway(), CARDGAME_stepSlotStats(), CARDGAME_stepSlotSweep(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepSwap(), CARDGAME_stepTally(), CARDGAME_stepTotals(), CARDGAME_stepYesNo(), CARDGAME_viewTable(), CARDGAME_waitFor(), goToNextCard(), hideForMenu(), hideHandForMenu(), leaveOpponentRow(), leaveOwnRow(), leavePlayedRow(), leaveTableRow(), readYesNoInput(), showAfterMenu(), showChosenCards(), showHandAfterMenu(), startChooseState(), startDealState(), startEffectStep(), and startTableRow().
| s32 CardStep::vars[5] |
values each step uses its own way
Definition at line 149 of file battle.h.
Referenced by browsePlayedRow(), CARDGAME_browseHand(), CARDGAME_chooseCard(), CARDGAME_countSlotValues(), CARDGAME_dealHands(), CARDGAME_discardHand(), CARDGAME_discardPickedCard(), CARDGAME_discardPrevCard(), CARDGAME_drainColorValues(), CARDGAME_drawFirstPlayer(), CARDGAME_drawMarkedCards(), CARDGAME_drawNewCards(), CARDGAME_findCardSet(), CARDGAME_moveHandHighlight(), CARDGAME_moveMarkedSlots(), CARDGAME_pickBestPileCard(), CARDGAME_pickTableCard(), CARDGAME_returnUsedCards(), CARDGAME_setupCardChoice(), CARDGAME_showPileCard(), CARDGAME_showSlotTotal(), CARDGAME_showTargetSlots(), CARDGAME_startAttack(), CARDGAME_startColorChange(), CARDGAME_startColorDrain(), CARDGAME_startDiscardAllSlots(), CARDGAME_startDiscardCount(), CARDGAME_startFirstPick(), CARDGAME_startHandCount(), CARDGAME_startPickTableCard(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startQuestion(), CARDGAME_startRoundEnd(), CARDGAME_startSlotSweep(), CARDGAME_startTotals(), CARDGAME_stepAttack(), CARDGAME_stepChooseCards(), CARDGAME_stepColorValue(), CARDGAME_stepDiscardAllSlots(), CARDGAME_stepPileChoice(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepPulseCard(), CARDGAME_stepRoundEnd(), CARDGAME_stepSlotStats(), CARDGAME_stepSlotSweep(), CARDGAME_stepSlotTotal(), CARDGAME_stepStart(), CARDGAME_stepTally(), CARDGAME_stepTargetSlots(), CARDGAME_stepTotals(), CARDGAME_stepYesNo(), CARDGAME_takeCardToHand(), CARDGAME_viewTable(), chooseFirstPickRow(), chooseFirstRow(), countNextColors(), dealNextCards(), goToNextCard(), leavePlayedRow(), leaveTableRow(), pickInOpponentRow(), pickInOwnRow(), readYesNoInput(), resumeChoosing(), setUpPickState(), setUpViewState(), showAfterMenu(), showHandAfterMenu(), startChooseState(), startDealState(), startTableRow(), and takePickedCard().
| s32 CardStep::cursor |
the card or slot highlighted
Definition at line 150 of file battle.h.
Referenced by askToConfirm(), backToChoosing(), browseOpponentRow(), browseOwnRow(), browsePlayedRow(), CARDGAME_browseHand(), CARDGAME_chooseCard(), CARDGAME_drawFirstPlayer(), CARDGAME_moveHandHighlight(), CARDGAME_movePileSelection(), CARDGAME_moveSelection(), CARDGAME_moveTableHighlight(), CARDGAME_pickTableCard(), CARDGAME_readChooseInput(), CARDGAME_readCountInput(), CARDGAME_readPickInput(), CARDGAME_setupCardChoice(), CARDGAME_showCardInfo(), CARDGAME_startFirstPick(), CARDGAME_startHandPick(), CARDGAME_startPick(), CARDGAME_stepChooseCards(), CARDGAME_stepPulseCard(), CARDGAME_switchCoinCard(), CARDGAME_togglePick(), leaveOpponentRow(), leaveOwnRow(), leavePlayedRow(), leaveTableRow(), pickInOpponentRow(), pickInOwnRow(), resumeChoosing(), setUpPickState(), and setUpViewState().
| s32 CardStep::choice |
the card, slot or answer chosen; -1 for none
Definition at line 151 of file battle.h.
Referenced by answerHandCardPick(), answerTableCardPick(), CARDGAME_chooseCard(), CARDGAME_chooseNextDraw(), CARDGAME_clearHands(), CARDGAME_discardPickedCard(), CARDGAME_drawFirstPlayer(), CARDGAME_markBestOpponentSlot(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickLowestPlayerCard(), CARDGAME_pickTableCard(), CARDGAME_readChooseInput(), CARDGAME_readCountInput(), CARDGAME_runFirstPick(), CARDGAME_runStartStep(), CARDGAME_setupCardChoice(), CARDGAME_showPileCard(), CARDGAME_showTargetSlots(), CARDGAME_sortOpponentCards(), CARDGAME_startFirstPick(), CARDGAME_startHandPick(), CARDGAME_startPanelsStep(), CARDGAME_startPick(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startQuestion(), CARDGAME_stepChooseCards(), CARDGAME_stepPileChoice(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepStart(), CARDGAME_stepTargetSlots(), CARDGAME_stepYesNo(), CARDGAME_takeCardToHand(), chooseFirstEligible(), pickInOpponentRow(), pickInOwnRow(), readConfirmInput(), readYesNoInput(), setUpPickState(), startChooseState(), startDealState(), takeChosenCard(), takeChosenDiscard(), and takePickedCard().
| u8 CardStep::count |
the cards picked, or to draw
Definition at line 152 of file battle.h.
Referenced by CARDGAME_chooseCard(), CARDGAME_isHandPickDone(), CARDGAME_markDrawnCards(), CARDGAME_pickComputerCards(), CARDGAME_putOutCards(), CARDGAME_startDraw(), CARDGAME_togglePick(), startChooseState(), and startEffectStep().
| u8 CardStep::flags |
the step's own: the rows to pick from, the deck run out...
Definition at line 153 of file battle.h.
Referenced by CARDGAME_browseHand(), CARDGAME_chooseCard(), CARDGAME_markDrawnCards(), CARDGAME_markSlotsByColor(), CARDGAME_startDraw(), chooseFirstPickRow(), goToNextCard(), pickInOpponentRow(), and pickInOwnRow().
| s8 CardStep::eligible[0x29] |
the cards or slots that can be picked
Definition at line 154 of file battle.h.
Referenced by CARDGAME_browseHand(), CARDGAME_findCardSet(), CARDGAME_flagPlayableCards(), CARDGAME_isHandPickDone(), CARDGAME_isSlotWithin(), CARDGAME_keepLowestSlot(), CARDGAME_markPileCardsByColor(), CARDGAME_markSlotsByColor(), CARDGAME_pickBestPileCard(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickLowestOpponentCard(), CARDGAME_readChooseInput(), CARDGAME_setupCardChoice(), CARDGAME_showSlotTotal(), CARDGAME_sortCards(), CARDGAME_startHandPick(), CARDGAME_stepSlotTotal(), CARDGAME_targetColor3Slot(), CARDGAME_targetColor4Slot(), CARDGAME_targetFlaggedSlot(), CARDGAME_togglePick(), CARDGAME_unflagSlotsOver(), chooseFirstEligible(), pickInOpponentRow(), pickInOwnRow(), and setUpPickState().
| s8 CardStep::marked[40] |
the cards or slots picked
Definition at line 155 of file battle.h.
Referenced by CARDGAME_checkPlayCondition(), CARDGAME_chooseCard(), CARDGAME_copySlotCard(), CARDGAME_countSlotValues(), CARDGAME_drawFirstPlayer(), CARDGAME_drawMarkedCards(), CARDGAME_flagPlayableCards(), CARDGAME_flagTargetSlots(), CARDGAME_markBestOpponentSlot(), CARDGAME_markDrawnCards(), CARDGAME_markSlotsOfOrder(), CARDGAME_markTargetSlots(), CARDGAME_moveMarkedSlots(), CARDGAME_pickComputerCard(), CARDGAME_pickComputerCards(), CARDGAME_pickComputerDeckCard(), CARDGAME_pickTableCard(), CARDGAME_putOutCards(), CARDGAME_readChooseInput(), CARDGAME_removeMarkedHandCards(), CARDGAME_removeMarkedSlots(), CARDGAME_setupCardChoice(), CARDGAME_showTargetSlots(), CARDGAME_startDraw(), CARDGAME_startHandPick(), CARDGAME_startPileChoice(), CARDGAME_startPlayCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_startSlotEffects(), CARDGAME_stepPlayCard(), CARDGAME_stepPreviousCardChoice(), CARDGAME_stepSlotStats(), CARDGAME_stepSlotSweep(), CARDGAME_stepTargetSlots(), CARDGAME_takeFlaggedCard(), CARDGAME_togglePick(), playComputerTurn(), resumeChoosing(), showChosenCards(), startChooseState(), and takeMarkedCard().