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

A blinking marker that opens and closes by scaling (CARDGAME_createMarker): frame 0x47 of the TIM archive's sprite sheet. More...

#include <cardgame/card_battle/choice.h>

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 CardMarker *task, s32 state)
 
void(* setSubstate )(struct CardMarker *task, s32 substate)
 
void(* setStep )(struct CardMarker *task, s32 step)
 
void(* setCounter )(struct CardMarker *task, s32 counter)
 
void(* nextState )(struct CardMarker *task)
 
void(* nextSubstate )(struct CardMarker *task)
 
void(* nextStep )(struct CardMarker *task)
 
void(* tickCounter )(struct CardMarker *task)
 
void(* update )()
 
void(* destroy )(struct CardMarker *task)
 
s32 time
 the blink
 
s16 x
 
s16 y
 
s16 scaleX
 
s16 scaleY
 
u8 pad [6]
 never read or written
 
u8 phase
 0 opening, 1 open, 2 closing
 
u8 fast
 the blink's palette cycle
 
s16 scaleTime
 
s16 scaleDuration
 
void(* setPos )(struct CardMarker *marker, s16 x, s16 y)
 
void(* close )(struct CardMarker *marker)
 
void(* setFast )(struct CardMarker *marker)
 

Detailed Description

A blinking marker that opens and closes by scaling (CARDGAME_createMarker): frame 0x47 of the TIM archive's sprite sheet.

Definition at line 20 of file choice.h.

Field Documentation

◆ id

s32 CardMarker::id

Definition at line 21 of file choice.h.

◆ key1

s32 CardMarker::key1

Definition at line 21 of file choice.h.

◆ key2

s32 CardMarker::key2

Definition at line 21 of file choice.h.

◆ state

s32 CardMarker::state

Definition at line 21 of file choice.h.

Referenced by CARDGAME_updateMarker().

◆ substate

s32 CardMarker::substate

Definition at line 21 of file choice.h.

◆ step

s32 CardMarker::step

Definition at line 21 of file choice.h.

◆ counter

s32 CardMarker::counter

Definition at line 21 of file choice.h.

◆ paused

s32 CardMarker::paused

Definition at line 21 of file choice.h.

◆ childCount

s32 CardMarker::childCount

Definition at line 21 of file choice.h.

◆ children

void* CardMarker::children

Definition at line 21 of file choice.h.

◆ setState

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

Definition at line 21 of file choice.h.

Referenced by CARDGAME_updateMarker().

◆ setSubstate

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

Definition at line 21 of file choice.h.

◆ setStep

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

Definition at line 21 of file choice.h.

◆ setCounter

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

Definition at line 21 of file choice.h.

◆ nextState

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

Definition at line 21 of file choice.h.

Referenced by CARDGAME_updateMarker().

◆ nextSubstate

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

Definition at line 21 of file choice.h.

◆ nextStep

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

Definition at line 21 of file choice.h.

◆ tickCounter

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

Definition at line 21 of file choice.h.

◆ update

void(* CardMarker::update) ()

Definition at line 21 of file choice.h.

◆ destroy

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

Definition at line 21 of file choice.h.

◆ time

s32 CardMarker::time

the blink

Definition at line 22 of file choice.h.

Referenced by CARDGAME_drawMarker(), and CARDGAME_setMarkerFast().

◆ x

s16 CardMarker::x

Definition at line 23 of file choice.h.

Referenced by CARDGAME_createMarker(), CARDGAME_drawMarker(), and CARDGAME_setMarkerPos().

◆ y

s16 CardMarker::y

Definition at line 24 of file choice.h.

Referenced by CARDGAME_createMarker(), CARDGAME_drawMarker(), and CARDGAME_setMarkerPos().

◆ scaleX

s16 CardMarker::scaleX

Definition at line 25 of file choice.h.

Referenced by CARDGAME_drawMarker(), and CARDGAME_updateMarker().

◆ scaleY

s16 CardMarker::scaleY

Definition at line 26 of file choice.h.

Referenced by CARDGAME_closeMarker(), CARDGAME_drawMarker(), and CARDGAME_updateMarker().

◆ pad

u8 CardMarker::pad[6]

never read or written

Definition at line 27 of file choice.h.

◆ phase

u8 CardMarker::phase

0 opening, 1 open, 2 closing

Definition at line 28 of file choice.h.

Referenced by CARDGAME_closeMarker(), and CARDGAME_updateMarker().

◆ fast

u8 CardMarker::fast

the blink's palette cycle

Definition at line 29 of file choice.h.

Referenced by CARDGAME_createMarker(), CARDGAME_drawMarker(), and CARDGAME_setMarkerFast().

◆ scaleTime

s16 CardMarker::scaleTime

Definition at line 30 of file choice.h.

Referenced by CARDGAME_closeMarker(), and CARDGAME_updateMarker().

◆ scaleDuration

s16 CardMarker::scaleDuration

Definition at line 31 of file choice.h.

Referenced by CARDGAME_closeMarker(), and CARDGAME_updateMarker().

◆ setPos

void(* CardMarker::setPos) (struct CardMarker *marker, s16 x, s16 y)

Definition at line 32 of file choice.h.

Referenced by CARDGAME_createMarker(), and moveDeckMarker().

◆ close

void(* CardMarker::close) (struct CardMarker *marker)

Definition at line 33 of file choice.h.

Referenced by CARDGAME_chooseDeck(), and CARDGAME_createMarker().

◆ setFast

void(* CardMarker::setFast) (struct CardMarker *marker)

Definition at line 34 of file choice.h.

Referenced by CARDGAME_createMarker(), and moveDeckMarker().


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