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

Where CARDGAME_drawPanel draws the parts of a side's panel (CARDGAME_panelLayouts), relative to CardPanel.x and y (or the box's, boxX and boxY) More...

#include <cardgame/card_battle/screen.h>

Collaboration diagram for CardPanelLayout:
[legend]

Data Fields

u8 unk0
 1 in both layouts; nothing reads it
 
u8 frame
 the panel's sprite
 
u8 winsSprite
 plus CardPanel.wins: the sprite at winsX, winsY
 
u8 boxLabelSprite
 
CardOffset flagIcons
 five, 0x2A apart
 
CardOffset flagNumbers
 CardPanel.points, 0x2A apart.
 
CardOffset deckCount
 
CardOffset handCount
 
CardOffset discardCount
 from the box
 
CardOffset apBar
 
CardOffset apTotal
 
CardOffset hpBar
 
CardOffset hpTotal
 
CardOffset flag6Part
 
CardOffset flag7Part
 
CardOffset boxLabel
 from the box
 
CardOffset flagLights
 five, 0x2A apart
 
CardOffset flag6Light
 
CardOffset flag7Light
 
CardOffset boxLight
 from the box
 
CardOffset apLight
 
CardOffset hpLight
 

Detailed Description

Where CARDGAME_drawPanel draws the parts of a side's panel (CARDGAME_panelLayouts), relative to CardPanel.x and y (or the box's, boxX and boxY)

Definition at line 107 of file screen.h.

Field Documentation

◆ unk0

u8 CardPanelLayout::unk0

1 in both layouts; nothing reads it

Definition at line 108 of file screen.h.

◆ frame

u8 CardPanelLayout::frame

the panel's sprite

Definition at line 109 of file screen.h.

Referenced by drawPanelParts().

◆ winsSprite

u8 CardPanelLayout::winsSprite

plus CardPanel.wins: the sprite at winsX, winsY

Definition at line 110 of file screen.h.

Referenced by drawPanelParts().

◆ boxLabelSprite

u8 CardPanelLayout::boxLabelSprite

Definition at line 111 of file screen.h.

Referenced by drawPanelParts().

◆ flagIcons

CardOffset CardPanelLayout::flagIcons

five, 0x2A apart

Definition at line 112 of file screen.h.

Referenced by drawPanelParts().

◆ flagNumbers

CardOffset CardPanelLayout::flagNumbers

CardPanel.points, 0x2A apart.

Definition at line 113 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ deckCount

CardOffset CardPanelLayout::deckCount

Definition at line 114 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ handCount

CardOffset CardPanelLayout::handCount

Definition at line 115 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ discardCount

CardOffset CardPanelLayout::discardCount

from the box

Definition at line 116 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ apBar

CardOffset CardPanelLayout::apBar

Definition at line 117 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ apTotal

CardOffset CardPanelLayout::apTotal

Definition at line 118 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ hpBar

CardOffset CardPanelLayout::hpBar

Definition at line 119 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ hpTotal

CardOffset CardPanelLayout::hpTotal

Definition at line 120 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ flag6Part

CardOffset CardPanelLayout::flag6Part

Definition at line 121 of file screen.h.

Referenced by drawPanelParts().

◆ flag7Part

CardOffset CardPanelLayout::flag7Part

Definition at line 122 of file screen.h.

Referenced by drawPanelParts().

◆ boxLabel

CardOffset CardPanelLayout::boxLabel

from the box

Definition at line 123 of file screen.h.

Referenced by drawPanelParts().

◆ flagLights

CardOffset CardPanelLayout::flagLights

five, 0x2A apart

Definition at line 124 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ flag6Light

CardOffset CardPanelLayout::flag6Light

Definition at line 125 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ flag7Light

CardOffset CardPanelLayout::flag7Light

Definition at line 126 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ boxLight

CardOffset CardPanelLayout::boxLight

from the box

Definition at line 127 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ apLight

CardOffset CardPanelLayout::apLight

Definition at line 128 of file screen.h.

Referenced by CARDGAME_drawPanel().

◆ hpLight

CardOffset CardPanelLayout::hpLight

Definition at line 129 of file screen.h.

Referenced by CARDGAME_drawPanel().


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