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

An animated sprite of an image set, as a training shows it (STGTRAIN_createActor): mode 1 idle, 2 scaling, 4 animating, 8 ending. More...

#include <menus/gym.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 TrainActor *task, s32 state)
 
void(* setSubstate )(struct TrainActor *task, s32 substate)
 
void(* setStep )(struct TrainActor *task, s32 step)
 
void(* setCounter )(struct TrainActor *task, s32 counter)
 
void(* nextState )(struct TrainActor *task)
 
void(* nextSubstate )(struct TrainActor *task)
 
void(* nextStep )(struct TrainActor *task)
 
void(* tickCounter )(struct TrainActor *task)
 
void(* update )()
 
void(* destroy )(struct TrainActor *task)
 
u32 mode
 
s32 set
 
s32 file
 of STGTRAIN_files
 
s32 anim
 
s32 result
 the training worked
 
s32 scale
 
s32 scaleStep
 
s32 pad6C
 never read or written
 
s32 scaleChanged
 
s32 layerId
 
s32 depth
 
s32 pad7C
 never read or written
 
s32 pos [4]
 x, y, clutX, clutY: for loadSet
 
s32 savedX
 
s32 posSet
 
s32 clutSet
 
s32 chance
 of the training working, in %
 
s32 padA0
 never read or written
 
void(* setPos )(struct TrainActor *actor, s32 x, s32 y)
 
void(* setClutPos )(struct TrainActor *actor, s32 x, s32 y)
 
void(* setChance )(struct TrainActor *actor, s32 chance)
 
void(* grow )(struct TrainActor *actor)
 
void(* shrink )(struct TrainActor *actor)
 
void(* play )(struct TrainActor *actor)
 
void(* pause )(struct TrainActor *actor)
 
void(* setScale )(struct TrainActor *actor, s32 scale)
 
s32(* getResult )(struct TrainActor *actor)
 
void(* end )(struct TrainActor *actor)
 
u8 padCC [8]
 never read or written: createTask allocates 0xD4 bytes
 

Detailed Description

An animated sprite of an image set, as a training shows it (STGTRAIN_createActor): mode 1 idle, 2 scaling, 4 animating, 8 ending.

Definition at line 209 of file gym.h.

Field Documentation

◆ id

s32 TrainActor::id

Definition at line 210 of file gym.h.

◆ key1

s32 TrainActor::key1

Definition at line 210 of file gym.h.

◆ key2

s32 TrainActor::key2

Definition at line 210 of file gym.h.

◆ state

s32 TrainActor::state

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_updateActor().

◆ substate

s32 TrainActor::substate

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_endActor(), STGTRAIN_playTraining(), and STGTRAIN_playTrainingEnd().

◆ step

s32 TrainActor::step

Definition at line 210 of file gym.h.

◆ counter

s32 TrainActor::counter

Definition at line 210 of file gym.h.

◆ paused

s32 TrainActor::paused

Definition at line 210 of file gym.h.

◆ childCount

s32 TrainActor::childCount

Definition at line 210 of file gym.h.

◆ children

void* TrainActor::children

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_pauseActor(), and STGTRAIN_playActor().

◆ setState

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

Definition at line 210 of file gym.h.

◆ setSubstate

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

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_stopActor().

◆ setStep

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

Definition at line 210 of file gym.h.

◆ setCounter

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

Definition at line 210 of file gym.h.

◆ nextState

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

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_updateActor().

◆ nextSubstate

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

Definition at line 210 of file gym.h.

Referenced by STGTRAIN_playTraining().

◆ nextStep

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

Definition at line 210 of file gym.h.

◆ tickCounter

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

Definition at line 210 of file gym.h.

◆ update

void(* TrainActor::update) ()

Definition at line 210 of file gym.h.

◆ destroy

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

Definition at line 210 of file gym.h.

◆ mode

◆ set

s32 TrainActor::set

◆ file

s32 TrainActor::file

of STGTRAIN_files

Definition at line 213 of file gym.h.

Referenced by STGTRAIN_createActor(), STGTRAIN_setUpActor(), and STGTRAIN_updateActor().

◆ anim

s32 TrainActor::anim

◆ result

s32 TrainActor::result

the training worked

Definition at line 215 of file gym.h.

Referenced by STGTRAIN_getActorResult(), STGTRAIN_playTraining(), STGTRAIN_playTrainingEnd(), and STGTRAIN_setUpActor().

◆ scale

◆ scaleStep

s32 TrainActor::scaleStep

Definition at line 217 of file gym.h.

Referenced by STGTRAIN_growActor(), STGTRAIN_scaleActor(), and STGTRAIN_shrinkActor().

◆ pad6C

s32 TrainActor::pad6C

never read or written

Definition at line 218 of file gym.h.

◆ scaleChanged

s32 TrainActor::scaleChanged

Definition at line 219 of file gym.h.

Referenced by STGTRAIN_setActorScale(), and STGTRAIN_updateActor().

◆ layerId

s32 TrainActor::layerId

Definition at line 220 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_setUpActor().

◆ depth

s32 TrainActor::depth

Definition at line 221 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_setUpActor().

◆ pad7C

s32 TrainActor::pad7C

never read or written

Definition at line 222 of file gym.h.

◆ pos

s32 TrainActor::pos[4]

x, y, clutX, clutY: for loadSet

Definition at line 223 of file gym.h.

Referenced by STGTRAIN_setActorClutPos(), STGTRAIN_setActorPos(), and STGTRAIN_setUpActor().

◆ savedX

s32 TrainActor::savedX

Definition at line 224 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ posSet

s32 TrainActor::posSet

Definition at line 225 of file gym.h.

Referenced by STGTRAIN_setActorPos(), and STGTRAIN_updateActor().

◆ clutSet

s32 TrainActor::clutSet

Definition at line 226 of file gym.h.

Referenced by STGTRAIN_setActorClutPos(), and STGTRAIN_updateActor().

◆ chance

s32 TrainActor::chance

of the training working, in %

Definition at line 227 of file gym.h.

Referenced by STGTRAIN_playTraining(), and STGTRAIN_setActorChance().

◆ padA0

s32 TrainActor::padA0

never read or written

Definition at line 228 of file gym.h.

◆ setPos

void(* TrainActor::setPos) (struct TrainActor *actor, s32 x, s32 y)

Definition at line 229 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_updateResult().

◆ setClutPos

void(* TrainActor::setClutPos) (struct TrainActor *actor, s32 x, s32 y)

Definition at line 230 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_updateResult().

◆ setChance

void(* TrainActor::setChance) (struct TrainActor *actor, s32 chance)

Definition at line 231 of file gym.h.

Referenced by STGTRAIN_createActor(), STGTRAIN_runTraining(), and STGTRAIN_startBonusTry().

◆ grow

void(* TrainActor::grow) (struct TrainActor *actor)

Definition at line 232 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_runTraining().

◆ shrink

void(* TrainActor::shrink) (struct TrainActor *actor)

Definition at line 233 of file gym.h.

Referenced by STGTRAIN_createActor().

◆ play

void(* TrainActor::play) (struct TrainActor *actor)

◆ pause

void(* TrainActor::pause) (struct TrainActor *actor)

Definition at line 235 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_updateResult().

◆ setScale

void(* TrainActor::setScale) (struct TrainActor *actor, s32 scale)

Definition at line 236 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_updateResult().

◆ getResult

s32(* TrainActor::getResult) (struct TrainActor *actor)

Definition at line 237 of file gym.h.

Referenced by STGTRAIN_createActor(), STGTRAIN_takeBonusTry(), and STGTRAIN_takeTry().

◆ end

void(* TrainActor::end) (struct TrainActor *actor)

Definition at line 238 of file gym.h.

Referenced by STGTRAIN_createActor(), and STGTRAIN_runTraining().

◆ padCC

u8 TrainActor::padCC[8]

never read or written: createTask allocates 0xD4 bytes

Definition at line 239 of file gym.h.


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