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

A card on the battle screen (CardScreen.sprites) More...

#include <cardgame/card_battle/screen.h>

Data Fields

s32 x
 
s32 y
 
s32 targetX
 
s32 targetY
 
s32 startX
 
s32 startY
 
s16 scaleX
 
s16 scaleY
 
s16 targetScaleX
 
s16 targetScaleY
 
s16 startScaleX
 
s16 startScaleY
 
s16 slot
 
s16 moving
 
s32 time
 
s32 duration
 
s32 growTime
 the frames it grows for before it flies (CARDGAME_flySprite)
 
s32 effectTime
 
s16 color
 the card's colour, from 0
 
s16 index
 in the battle's card list
 
s16 isKind16
 
u8 marks [3]
 the plays that apply to the card, drawn as marks
 
u8 points
 the card's
 
u8 state
 
u8 ap
 the values shown, which count towards the slot's
 
u8 hp
 
u8 visible
 
u8 order
 a played card's place in the record, from 1
 
u8 effect
 1-4, drawn by CARDGAME_drawSpriteEffect
 
u8 highlight
 bit 0 the cursor, bit 1 picked, bit 2 glowing
 
u8 dimmed
 

Detailed Description

A card on the battle screen (CardScreen.sprites)

Definition at line 163 of file screen.h.

Field Documentation

◆ x

◆ y

◆ targetX

◆ targetY

◆ startX

◆ startY

◆ scaleX

◆ scaleY

◆ targetScaleX

s16 CardSprite::targetScaleX

◆ targetScaleY

s16 CardSprite::targetScaleY

◆ startScaleX

s16 CardSprite::startScaleX

◆ startScaleY

s16 CardSprite::startScaleY

◆ slot

s16 CardSprite::slot

Definition at line 176 of file screen.h.

Referenced by CARDGAME_addSprite().

◆ moving

◆ time

◆ duration

◆ growTime

s32 CardSprite::growTime

the frames it grows for before it flies (CARDGAME_flySprite)

Definition at line 180 of file screen.h.

Referenced by CARDGAME_flySprite(), and CARDGAME_startSpriteFly().

◆ effectTime

s32 CardSprite::effectTime

Definition at line 181 of file screen.h.

Referenced by CARDGAME_drawSpriteEffect().

◆ color

s16 CardSprite::color

◆ index

s16 CardSprite::index

in the battle's card list

Definition at line 183 of file screen.h.

Referenced by CARDGAME_addSprite(), CARDGAME_drawCardPicture(), CARDGAME_removeSprite(), CARDGAME_setSpriteCard(), and CARDGAME_showCardInfo().

◆ isKind16

s16 CardSprite::isKind16

◆ marks

u8 CardSprite::marks[3]

◆ points

u8 CardSprite::points

the card's

Definition at line 186 of file screen.h.

Referenced by CARDGAME_setSpriteCard(), and CARDGAME_showCardInfo().

◆ state

◆ ap

◆ hp

◆ visible

◆ order

u8 CardSprite::order

a played card's place in the record, from 1

Definition at line 191 of file screen.h.

Referenced by CARDGAME_drawSpriteOrder(), CARDGAME_layOutSlots(), and CARDGAME_stepPlayCard().

◆ effect

◆ highlight

◆ dimmed


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