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

Draws the six cards drawn from a pack, and turns them over. More...

#include <cardgame/card_packs.h>

Collaboration diagram for CardPackGrid:
[legend]

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct CardPackGrid *task, s32 state)
 
void(* setSubstate )(struct CardPackGrid *task, s32 substate)
 
void(* setStep )(struct CardPackGrid *task, s32 step)
 
void(* setCounter )(struct CardPackGrid *task, s32 counter)
 
void(* nextState )(struct CardPackGrid *task)
 
void(* nextSubstate )(struct CardPackGrid *task)
 
void(* nextStep )(struct CardPackGrid *task)
 
void(* tickCounter )(struct CardPackGrid *task)
 
void(* update )()
 
void(* destroy )(struct CardPackGrid *task)
 
struct CardShop * owner
 never read
 
s32 layer
 
s32 depth
 
s32 pad5C
 never read or written (STCRDABM's grid: the page's first card)
 
s32 pad60
 never read or written (STCRDABM's grid: the page being turned's)
 
s32 shown
 cards drawn
 
s32 turned
 slots turned so far
 
s32 time
 
s32 frame
 
s32 pad74
 never read or written
 
s32 pad78
 never read or written
 
s32 cards [6]
 
s32 prevCards [6]
 the cards being turned
 
u8 padAC [0x10]
 never read or written
 
void(* setCards )(struct CardPackGrid *grid, s32 *cards)
 
void(* hide )(struct CardPackGrid *grid)
 

Detailed Description

Draws the six cards drawn from a pack, and turns them over.

Definition at line 40 of file card_packs.h.

Field Documentation

◆ id

s32 CardPackGrid::id

Definition at line 41 of file card_packs.h.

◆ key1

s32 CardPackGrid::key1

Definition at line 41 of file card_packs.h.

◆ key2

s32 CardPackGrid::key2

Definition at line 41 of file card_packs.h.

◆ state

s32 CardPackGrid::state

◆ substate

s32 CardPackGrid::substate

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ step

s32 CardPackGrid::step

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ counter

s32 CardPackGrid::counter

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ paused

s32 CardPackGrid::paused

Definition at line 41 of file card_packs.h.

◆ childCount

s32 CardPackGrid::childCount

Definition at line 41 of file card_packs.h.

◆ children

void* CardPackGrid::children

Definition at line 41 of file card_packs.h.

◆ setState

void(* CardPackGrid::setState) (struct CardPackGrid *task, s32 state)

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_setCards().

◆ setSubstate

void(* CardPackGrid::setSubstate) (struct CardPackGrid *task, s32 substate)

Definition at line 41 of file card_packs.h.

◆ setStep

void(* CardPackGrid::setStep) (struct CardPackGrid *task, s32 step)

Definition at line 41 of file card_packs.h.

◆ setCounter

void(* CardPackGrid::setCounter) (struct CardPackGrid *task, s32 counter)

Definition at line 41 of file card_packs.h.

◆ nextState

void(* CardPackGrid::nextState) (struct CardPackGrid *task)

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ nextSubstate

void(* CardPackGrid::nextSubstate) (struct CardPackGrid *task)

Definition at line 41 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ nextStep

void(* CardPackGrid::nextStep) (struct CardPackGrid *task)

Definition at line 41 of file card_packs.h.

◆ tickCounter

void(* CardPackGrid::tickCounter) (struct CardPackGrid *task)

Definition at line 41 of file card_packs.h.

◆ update

void(* CardPackGrid::update) ()

Definition at line 41 of file card_packs.h.

◆ destroy

void(* CardPackGrid::destroy) (struct CardPackGrid *task)

Definition at line 41 of file card_packs.h.

◆ owner

struct CardShop* CardPackGrid::owner

never read

Definition at line 42 of file card_packs.h.

Referenced by STCRDSHP_createGrid().

◆ layer

s32 CardPackGrid::layer

Definition at line 43 of file card_packs.h.

Referenced by STCRDSHP_createGrid(), STCRDSHP_drawCards(), and STCRDSHP_drawTurningSlots().

◆ depth

s32 CardPackGrid::depth

Definition at line 44 of file card_packs.h.

Referenced by STCRDSHP_createGrid(), STCRDSHP_drawCards(), and STCRDSHP_drawTurningSlots().

◆ pad5C

s32 CardPackGrid::pad5C

never read or written (STCRDABM's grid: the page's first card)

Definition at line 45 of file card_packs.h.

◆ pad60

s32 CardPackGrid::pad60

never read or written (STCRDABM's grid: the page being turned's)

Definition at line 46 of file card_packs.h.

◆ shown

s32 CardPackGrid::shown

cards drawn

Definition at line 47 of file card_packs.h.

Referenced by STCRDSHP_drawCards(), and STCRDSHP_updateGrid().

◆ turned

s32 CardPackGrid::turned

slots turned so far

Definition at line 48 of file card_packs.h.

Referenced by STCRDSHP_drawTurningSlots(), STCRDSHP_setCards(), and STCRDSHP_updateGrid().

◆ time

s32 CardPackGrid::time

Definition at line 49 of file card_packs.h.

Referenced by STCRDSHP_updateGrid().

◆ frame

s32 CardPackGrid::frame

Definition at line 50 of file card_packs.h.

Referenced by STCRDSHP_drawTurningSlots(), STCRDSHP_setCards(), and STCRDSHP_updateGrid().

◆ pad74

s32 CardPackGrid::pad74

never read or written

Definition at line 51 of file card_packs.h.

◆ pad78

s32 CardPackGrid::pad78

never read or written

Definition at line 52 of file card_packs.h.

◆ cards

s32 CardPackGrid::cards[6]

◆ prevCards

s32 CardPackGrid::prevCards[6]

the cards being turned

Definition at line 54 of file card_packs.h.

Referenced by STCRDSHP_drawCards(), and STCRDSHP_setCards().

◆ padAC

u8 CardPackGrid::padAC[0x10]

never read or written

Definition at line 55 of file card_packs.h.

◆ setCards

void(* CardPackGrid::setCards) (struct CardPackGrid *grid, s32 *cards)

Definition at line 56 of file card_packs.h.

Referenced by STCRDSHP_createGrid(), and STCRDSHP_turnBuyPage().

◆ hide

void(* CardPackGrid::hide) (struct CardPackGrid *grid)

Definition at line 57 of file card_packs.h.

Referenced by STCRDSHP_createGrid(), STCRDSHP_runBuy(), and STCRDSHP_runPackOpen().


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