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

The card shop's main task (STCRDSHP_createShop): buy cards, open packs or edit the decks. More...

#include <cardgame/card_packs.h>

Collaboration diagram for CardShop:
[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 CardShop *task, s32 state)
 
void(* setSubstate )(struct CardShop *task, s32 substate)
 
void(* setStep )(struct CardShop *task, s32 step)
 
void(* setCounter )(struct CardShop *task, s32 counter)
 
void(* nextState )(struct CardShop *task)
 
void(* nextSubstate )(struct CardShop *task)
 
void(* nextStep )(struct CardShop *task)
 
void(* tickCounter )(struct CardShop *task)
 
void(* update )()
 
void(* destroy )(struct CardShop *task)
 
s32 layer
 
s32 depth
 
s32 scroll
 of the background
 
s32 scrollWait
 it moves every other frame
 
s32 shop
 the game mode's argument
 
s32 title
 
s32 toDeckEditor
 
s32 cursor
 
s16 items [0x194]
 the bag's, to look for packs
 
PanelAnim fades [3]
 
void(* showMoney )(struct CardShop *shop)
 

Detailed Description

The card shop's main task (STCRDSHP_createShop): buy cards, open packs or edit the decks.

Definition at line 81 of file card_packs.h.

Field Documentation

◆ id

s32 CardShop::id

Definition at line 82 of file card_packs.h.

◆ key1

s32 CardShop::key1

Definition at line 82 of file card_packs.h.

◆ key2

s32 CardShop::key2

Definition at line 82 of file card_packs.h.

◆ state

s32 CardShop::state

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_runShop(), and STCRDSHP_updateShop().

◆ substate

◆ step

s32 CardShop::step

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_closeOptions(), STCRDSHP_endOptions(), and STCRDSHP_startOption().

◆ counter

s32 CardShop::counter

Definition at line 82 of file card_packs.h.

◆ paused

s32 CardShop::paused

Definition at line 82 of file card_packs.h.

◆ childCount

s32 CardShop::childCount

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_createShopWindows().

◆ children

void* CardShop::children

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_createShopWindows(), and STCRDSHP_showMoney().

◆ setState

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

Definition at line 82 of file card_packs.h.

◆ setSubstate

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

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_chooseOption(), and STCRDSHP_startOption().

◆ setStep

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

Definition at line 82 of file card_packs.h.

◆ setCounter

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

Definition at line 82 of file card_packs.h.

◆ nextState

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

Definition at line 82 of file card_packs.h.

Referenced by STCRDSHP_updateShop().

◆ nextSubstate

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

Definition at line 82 of file card_packs.h.

◆ nextStep

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

Definition at line 82 of file card_packs.h.

◆ tickCounter

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

Definition at line 82 of file card_packs.h.

◆ update

void(* CardShop::update) ()

Definition at line 82 of file card_packs.h.

◆ destroy

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

Definition at line 82 of file card_packs.h.

◆ layer

s32 CardShop::layer

Definition at line 83 of file card_packs.h.

Referenced by STCRDSHP_createShop(), STCRDSHP_createShopWindows(), and STCRDSHP_drawShop().

◆ depth

s32 CardShop::depth

Definition at line 84 of file card_packs.h.

Referenced by STCRDSHP_createShop(), STCRDSHP_createShopWindows(), and STCRDSHP_drawShop().

◆ scroll

s32 CardShop::scroll

of the background

Definition at line 85 of file card_packs.h.

Referenced by STCRDSHP_drawShop().

◆ scrollWait

s32 CardShop::scrollWait

it moves every other frame

Definition at line 86 of file card_packs.h.

Referenced by STCRDSHP_drawShop().

◆ shop

s32 CardShop::shop

the game mode's argument

Definition at line 87 of file card_packs.h.

Referenced by STCRDSHP_createShop(), and STCRDSHP_startOption().

◆ title

s32 CardShop::title

Definition at line 88 of file card_packs.h.

Referenced by STCRDSHP_createShop(), and STCRDSHP_showTitle().

◆ toDeckEditor

s32 CardShop::toDeckEditor

Definition at line 89 of file card_packs.h.

Referenced by STCRDSHP_startOption(), and STCRDSHP_updateShop().

◆ cursor

◆ items

s16 CardShop::items[0x194]

the bag's, to look for packs

Definition at line 91 of file card_packs.h.

Referenced by STCRDSHP_startOption().

◆ fades

◆ showMoney

void(* CardShop::showMoney) (struct CardShop *shop)

Definition at line 93 of file card_packs.h.

Referenced by STCRDSHP_confirmBuyCard(), and STCRDSHP_createShop().


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