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

The overlay's helpers and the file they load (STGTRAIN_state) More...

#include <menus/gym.h>

Collaboration diagram for TrainState:
[legend]

Data Fields

s32 tableCount
 the entries of the last getTable
 
u8 * data
 the loaded file of STGTRAIN_files
 
s32 fileIndex
 
TrainImageSet sets [9]
 
TrainInfo * trainings
 STGTRAIN_trainings.
 
void(* loadImages )(void)
 
void(* startFade )(PanelAnim *fade, s32 fadeIn)
 
s32(* updateFade )(PanelAnim *fade)
 
void(* startLerp )(MenuLerp *lerp, s32 from, s32 to, s32 frames)
 
s32(* updateLerp )(MenuLerp *lerp)
 
s32(* requestFile )(s32 index)
 
u8 *(* getFile )(void)
 
void(* freeFile )(void)
 
s32(* readSet )(s32 set)
 
s32(* loadSet )(s32 set, s32 *pos)
 
s32(* getFileId )(s32 index)
 
s32(* getFilePos )(s32 index)
 y << 16 | x
 
s32(* getFileEffectSameDepth )(s32 index)
 
TrainSpriteBank *(* getBank )(s32 set)
 
s32(* getBankOffset )(s32 set)
 
s32(* getBankSize )(s32 set)
 
TrainAnim *(* getAnim )(s32 set, s32 i)
 
TrainEntry *(* getTable )(s32 index)
 
TrainEntry *(* findTableEntry )(s32 index, s32 id)
 

Detailed Description

The overlay's helpers and the file they load (STGTRAIN_state)

Definition at line 340 of file gym.h.

Field Documentation

◆ tableCount

s32 TrainState::tableCount

the entries of the last getTable

Definition at line 341 of file gym.h.

Referenced by STGTRAIN_getGymTrainings(), STGTRAIN_pickTraining(), and STGTRAIN_runMenu().

◆ data

u8* TrainState::data

the loaded file of STGTRAIN_files

Definition at line 342 of file gym.h.

Referenced by STGTRAIN_getFile(), STGTRAIN_readSet(), STGTRAIN_readSetAnims(), STGTRAIN_readSetBank(), STGTRAIN_readSetImages(), and STGTRAIN_requestFile().

◆ fileIndex

s32 TrainState::fileIndex

Definition at line 343 of file gym.h.

Referenced by STGTRAIN_freeFile(), STGTRAIN_getFile(), and STGTRAIN_requestFile().

◆ sets

◆ trainings

TrainInfo* TrainState::trainings

STGTRAIN_trainings.

Definition at line 345 of file gym.h.

Referenced by STGTRAIN_drawMenu(), STGTRAIN_drawSession(), STGTRAIN_showTrainingInfo(), and STGTRAIN_showTrainingName().

◆ loadImages

void(* TrainState::loadImages) (void)

Definition at line 346 of file gym.h.

Referenced by STGTRAIN_updateScreen().

◆ startFade

◆ updateFade

◆ startLerp

void(* TrainState::startLerp) (MenuLerp *lerp, s32 from, s32 to, s32 frames)

Definition at line 349 of file gym.h.

◆ updateLerp

s32(* TrainState::updateLerp) (MenuLerp *lerp)

Definition at line 350 of file gym.h.

◆ requestFile

s32(* TrainState::requestFile) (s32 index)

Definition at line 351 of file gym.h.

Referenced by STGTRAIN_runScreen().

◆ getFile

u8 *(* TrainState::getFile) (void)

Definition at line 352 of file gym.h.

Referenced by STGTRAIN_runScreen().

◆ freeFile

void(* TrainState::freeFile) (void)

Definition at line 353 of file gym.h.

◆ readSet

s32(* TrainState::readSet) (s32 set)

Definition at line 354 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ loadSet

s32(* TrainState::loadSet) (s32 set, s32 *pos)

Definition at line 355 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ getFileId

s32(* TrainState::getFileId) (s32 index)

Definition at line 356 of file gym.h.

Referenced by STGTRAIN_updateActor().

◆ getFilePos

s32(* TrainState::getFilePos) (s32 index)

y << 16 | x

Definition at line 357 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ getFileEffectSameDepth

s32(* TrainState::getFileEffectSameDepth) (s32 index)

Definition at line 358 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ getBank

TrainSpriteBank *(* TrainState::getBank) (s32 set)

Definition at line 359 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ getBankOffset

s32(* TrainState::getBankOffset) (s32 set)

Definition at line 360 of file gym.h.

Referenced by STGTRAIN_setUpActor().

◆ getBankSize

s32(* TrainState::getBankSize) (s32 set)

Definition at line 361 of file gym.h.

◆ getAnim

TrainAnim *(* TrainState::getAnim) (s32 set, s32 i)

Definition at line 362 of file gym.h.

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

◆ getTable

TrainEntry *(* TrainState::getTable) (s32 index)

Definition at line 363 of file gym.h.

Referenced by STGTRAIN_updateMenu().

◆ findTableEntry

TrainEntry *(* TrainState::findTableEntry) (s32 index, s32 id)

Definition at line 364 of file gym.h.

Referenced by STGTRAIN_applyTry(), and STGTRAIN_showGains().


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