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

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
 

Detailed Description

A player's cards in a card battle (CardSide.pile)

Definition at line 108 of file battle.h.

Field Documentation

◆ apTotal

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

◆ hpTotal

◆ deckTop

◆ discardCount

◆ deckCount

◆ handCount

s16 CardPile::handCount

◆ points

◆ side

◆ wins

u8 CardPile::wins

rounds won: two win the battle

Definition at line 117 of file battle.h.

Referenced by checkBattleWinner(), and countRoundWin().

◆ deck

◆ hand

◆ discards


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