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

Draws the cards' images (CardImage), from files 0x7E7-0x7EB. More...

#include <engine/gfx.h>

Collaboration diagram for CardDrawer:
[legend]

Data Fields

CardImage * card
 
s32 imageX
 VRAM position of the image grid.
 
s32 imageY
 
s32 clutX
 
s32 clutY
 
s32 cellX
 grid cell: 32x32 pixels, one CLUT row each
 
s32 cellY
 
s32 clutStride
 
s32 semiTrans
 
Layer * layer
 
u_long * ot
 
void(* setCard )()
 (id)
 
void(* loadImage )()
 
void(* draw )()
 (x, y)
 
void(* setLayer )()
 (id, depth)
 
void(* setImagePos )()
 (x, y)
 
void(* setClutPos )()
 (x, y)
 
void(* setCell )()
 (x, y)
 
void(* setClutStride )()
 (stride)
 
void(* setSemiTrans )()
 (on)
 
s32(* getKind )(void)
 

Detailed Description

Draws the cards' images (CardImage), from files 0x7E7-0x7EB.

There are 320 of them (the save has counts for 317). The methods act on the drawer that was set up last (CARD_DRAWER).

Definition at line 193 of file gfx.h.

Field Documentation

◆ card

◆ imageX

s32 CardDrawer::imageX

VRAM position of the image grid.

Definition at line 195 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetImagePos().

◆ imageY

s32 CardDrawer::imageY

Definition at line 196 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetImagePos().

◆ clutX

s32 CardDrawer::clutX

Definition at line 197 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetClutPos().

◆ clutY

s32 CardDrawer::clutY

Definition at line 198 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetClutPos().

◆ cellX

s32 CardDrawer::cellX

grid cell: 32x32 pixels, one CLUT row each

Definition at line 199 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetCell().

◆ cellY

s32 CardDrawer::cellY

Definition at line 200 of file gfx.h.

Referenced by cardDrawerDraw(), cardDrawerLoadImage(), and cardDrawerSetCell().

◆ clutStride

s32 CardDrawer::clutStride

◆ semiTrans

s32 CardDrawer::semiTrans

Definition at line 202 of file gfx.h.

Referenced by cardDrawerDraw(), and cardDrawerSetSemiTrans().

◆ layer

Layer* CardDrawer::layer

Definition at line 203 of file gfx.h.

Referenced by cardDrawerSetLayer().

◆ ot

u_long* CardDrawer::ot

Definition at line 204 of file gfx.h.

Referenced by cardDrawerDraw(), and cardDrawerSetLayer().

◆ setCard

◆ loadImage

void(* CardDrawer::loadImage) ()

◆ draw

void(* CardDrawer::draw) ()

(x, y)

Definition at line 207 of file gfx.h.

Referenced by initCardDrawer(), STCRDABM_drawCards(), STCRDDEK_drawDeckCards(), and STCRDSHP_drawCards().

◆ setLayer

void(* CardDrawer::setLayer) ()

(id, depth)

Definition at line 208 of file gfx.h.

Referenced by initCardDrawer(), STCRDABM_drawCards(), STCRDDEK_drawDeckCards(), and STCRDSHP_drawCards().

◆ setImagePos

void(* CardDrawer::setImagePos) ()

◆ setClutPos

void(* CardDrawer::setClutPos) ()

◆ setCell

void(* CardDrawer::setCell) ()

◆ setClutStride

void(* CardDrawer::setClutStride) ()

(stride)

Definition at line 212 of file gfx.h.

Referenced by initCardDrawer().

◆ setSemiTrans

void(* CardDrawer::setSemiTrans) ()

(on)

Definition at line 213 of file gfx.h.

Referenced by initCardDrawer().

◆ getKind


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