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

A card's image (CardDrawer.card): 64 to a file, a 12-byte header and a 32x32 8-bit TIM. More...

#include <engine/gfx.h>

Data Fields

u8 color
 from 1
 
u8 ap
 
u8 hp
 
u8 kind
 an index in CARD_KINDS
 
u8 unused4
 1-4 on the 60 option cards (a colour's first 4, its last two 1), 0 on the Digimon; nothing reads it
 
u8 points
 what it adds to its colour
 
u8 level
 a Digimon's, 2-5 (CARDGAME shows its name); 0 on the other cards
 
u8 pad7
 0 on every card; nothing reads it
 
s16 rank
 by strength, from 1 the strongest (0 on the two blank cards)
 
s16 comboCard
 the card (from 1) that three or more of it make (CARDGAME_findCardSet), 0 for none
 
u8 tim [0x620]
 its header, a 256-colour CLUT block and the image block
 

Detailed Description

A card's image (CardDrawer.card): 64 to a file, a 12-byte header and a 32x32 8-bit TIM.

Definition at line 172 of file gfx.h.

Field Documentation

◆ color

◆ ap

◆ hp

◆ kind

◆ unused4

u8 CardImage::unused4

1-4 on the 60 option cards (a colour's first 4, its last two 1), 0 on the Digimon; nothing reads it

Definition at line 177 of file gfx.h.

◆ points

◆ level

u8 CardImage::level

a Digimon's, 2-5 (CARDGAME shows its name); 0 on the other cards

Definition at line 180 of file gfx.h.

Referenced by CARDGAME_showCardInfo().

◆ pad7

u8 CardImage::pad7

0 on every card; nothing reads it

Definition at line 181 of file gfx.h.

◆ rank

s16 CardImage::rank

by strength, from 1 the strongest (0 on the two blank cards)

Definition at line 182 of file gfx.h.

Referenced by CARDGAME_pickBestPileCard(), CARDGAME_pickLowestOpponentCard(), and CARDGAME_pickLowestPlayerCard().

◆ comboCard

s16 CardImage::comboCard

the card (from 1) that three or more of it make (CARDGAME_findCardSet), 0 for none

Definition at line 183 of file gfx.h.

Referenced by CARDGAME_findCardSet(), and CARDGAME_scoreHand().

◆ tim

u8 CardImage::tim[0x620]

its header, a 256-colour CLUT block and the image block

Definition at line 185 of file gfx.h.

Referenced by cardDrawerLoadImage(), and CARDGAME_loadCardImages().


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