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

One side's panel on the battle screen (CardScreen.panels): 0 is the player's, 1 the opponent's. More...

#include <cardgame/card_battle/screen.h>

Collaboration diagram for CardPanel:
[legend]

Data Fields

s16 time
 
s16 duration
 
s16 state
 
s16 event
 for a frame, until CARDGAME_slidePanel clears it: 2 the panel started sliding in, 1 it slid out; nothing reads it
 
s32 blinkTime
 a frame counter for the blinking (CARDGAME_drawPanel)
 
s16 x
 
s16 y
 
s16 apTotal
 the values shown (CARDGAME_setPanelValue)
 
s16 hpTotal
 
u8 pad14 [4]
 never read or written
 
u8 points [5]
 one per card colour
 
u8 deckCount
 
u8 handCount
 
s16 boxX
 the discards' box, which slides on its own
 
s16 boxY
 
u8 pad24 [4]
 never read or written
 
s32 discardCount
 
u8 pad2C [4]
 never read or written
 
u8 flags [10]
 
u8 pad3A [2]
 never read or written
 
s16 winsX
 where the rounds won are shown
 
s16 winsY
 
u8 pad40 [4]
 never read or written
 
s32 wins
 the rounds won shown
 
CardPanelScale scale
 

Detailed Description

One side's panel on the battle screen (CardScreen.panels): 0 is the player's, 1 the opponent's.

Definition at line 134 of file screen.h.

Field Documentation

◆ time

◆ duration

◆ state

◆ event

s16 CardPanel::event

for a frame, until CARDGAME_slidePanel clears it: 2 the panel started sliding in, 1 it slid out; nothing reads it

Definition at line 138 of file screen.h.

Referenced by CARDGAME_openPanel(), CARDGAME_openPanels(), CARDGAME_slidePanel(), and slidePanelOut().

◆ blinkTime

s32 CardPanel::blinkTime

a frame counter for the blinking (CARDGAME_drawPanel)

Definition at line 139 of file screen.h.

Referenced by CARDGAME_drawPanel(), and drawPanelParts().

◆ x

◆ y

◆ apTotal

s16 CardPanel::apTotal

the values shown (CARDGAME_setPanelValue)

Definition at line 142 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ hpTotal

s16 CardPanel::hpTotal

Definition at line 143 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ pad14

u8 CardPanel::pad14[4]

never read or written

Definition at line 144 of file screen.h.

◆ points

u8 CardPanel::points[5]

one per card colour

Definition at line 145 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ deckCount

u8 CardPanel::deckCount

Definition at line 146 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ handCount

u8 CardPanel::handCount

Definition at line 147 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ boxX

s16 CardPanel::boxX

the discards' box, which slides on its own

Definition at line 148 of file screen.h.

Referenced by CARDGAME_closePanels(), CARDGAME_drawPanel(), CARDGAME_openPanels(), CARDGAME_resetPanels(), CARDGAME_slidePanel(), drawPanelParts(), slidePanelIn(), and slidePanelOut().

◆ boxY

◆ pad24

u8 CardPanel::pad24[4]

never read or written

Definition at line 150 of file screen.h.

◆ discardCount

s32 CardPanel::discardCount

Definition at line 151 of file screen.h.

Referenced by CARDGAME_drawPanel(), and CARDGAME_setPanelValue().

◆ pad2C

u8 CardPanel::pad2C[4]

never read or written

Definition at line 152 of file screen.h.

◆ flags

u8 CardPanel::flags[10]

◆ pad3A

u8 CardPanel::pad3A[2]

never read or written

Definition at line 154 of file screen.h.

◆ winsX

s16 CardPanel::winsX

◆ winsY

◆ pad40

u8 CardPanel::pad40[4]

never read or written

Definition at line 157 of file screen.h.

◆ wins

s32 CardPanel::wins

the rounds won shown

Definition at line 158 of file screen.h.

Referenced by countRoundWin(), drawPanelParts(), and showMessageText().

◆ scale


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