|
Digimon World 3 decomp
The European version, SLES_039.36
|
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 | |
A card's image (CardDrawer.card): 64 to a file, a 12-byte header and a 32x32 8-bit TIM.
| u8 CardImage::color |
from 1
Definition at line 173 of file gfx.h.
Referenced by CARDGAME_addCardPoints(), CARDGAME_addColorCount(), CARDGAME_canPlayCard(), CARDGAME_checkPlayCondition(), CARDGAME_createDeckWindow(), CARDGAME_drawFromDeck(), CARDGAME_drawNewCards(), CARDGAME_getCardColor(), CARDGAME_markPileCardsByColor(), CARDGAME_markSlotsByColor(), CARDGAME_setSpriteCard(), CARDGAME_startPreviousCardChoice(), CARDGAME_targetColor3Slot(), CARDGAME_targetColor4Slot(), jumpBackForOtherColors(), lastPlayColor(), STCRDABM_drawAlbum(), STCRDABM_drawCards(), STCRDDEK_countCardKinds(), STCRDDEK_drawDeckCards(), STCRDDEK_drawEditor(), STCRDSHP_drawBuy(), STCRDSHP_drawCards(), and STCRDSHP_drawPackOpen().
| u8 CardImage::ap |
Definition at line 174 of file gfx.h.
Referenced by CARDGAME_putSlotCard(), CARDGAME_setSlot(), CARDGAME_setSpriteCard(), STCRDABM_drawCards(), STCRDABM_showCardInfo(), STCRDDEK_showEditorWindows(), STCRDDEK_showListCard(), STCRDSHP_drawCards(), STCRDSHP_showBuyCard(), and STCRDSHP_showPackCard().
| u8 CardImage::hp |
Definition at line 175 of file gfx.h.
Referenced by CARDGAME_putSlotCard(), CARDGAME_setSlot(), CARDGAME_setSpriteCard(), STCRDABM_drawCards(), STCRDABM_showCardInfo(), STCRDDEK_showEditorWindows(), STCRDDEK_showListCard(), STCRDSHP_drawCards(), STCRDSHP_showBuyCard(), and STCRDSHP_showPackCard().
| u8 CardImage::kind |
an index in CARD_KINDS
Definition at line 176 of file gfx.h.
Referenced by cardDrawerGetKind(), CARDGAME_canPlayCard(), CARDGAME_checkPlayCondition(), CARDGAME_markPileCardsByColor(), CARDGAME_pickComputerCard(), and CARDGAME_setSpriteCard().
| u8 CardImage::unused4 |
| u8 CardImage::points |
what it adds to its colour
Definition at line 179 of file gfx.h.
Referenced by CARDGAME_addCardPoints(), CARDGAME_canPlayCard(), CARDGAME_setSpriteCard(), STCRDABM_showCardInfo(), STCRDDEK_showEditorWindows(), STCRDDEK_showListCard(), STCRDSHP_showBuyCard(), and STCRDSHP_showPackCard().
| 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().
| 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().
| 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().
| 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().