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

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
 

Detailed Description

The effect step that runs (CARDGAME_runEffectStep) and its values, which CARDGAME_runBattleMenu keeps a copy of while the menu is open.

Definition at line 143 of file battle.h.

Field Documentation

◆ id

◆ next

◆ state

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

◆ nextState

◆ time

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

◆ vars

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

◆ cursor

◆ choice

◆ count

◆ flags

u8 CardStep::flags

◆ eligible

◆ marked


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