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

The training screen's main task (STGTRAIN_createScreen) More...

#include <menus/gym.h>

Collaboration diagram for TrainScreen:
[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 TrainScreen *task, s32 state)
 
void(* setSubstate )(struct TrainScreen *task, s32 substate)
 
void(* setStep )(struct TrainScreen *task, s32 step)
 
void(* setCounter )(struct TrainScreen *task, s32 counter)
 
void(* nextState )(struct TrainScreen *task)
 
void(* nextSubstate )(struct TrainScreen *task)
 
void(* nextStep )(struct TrainScreen *task)
 
void(* tickCounter )(struct TrainScreen *task)
 
void(* update )()
 
void(* destroy )(struct TrainScreen *task)
 
s32 layerId
 
s32 depth
 
s32 bgSprite
 the gym's sign, by the mode it came from
 
s32 bgScroll
 
s32 bgTick
 
s32 partyCount
 
s32 partner
 the one selected
 
s32 cursorShown
 
s32 cursorClut
 
s32 cursorTime
 
s32 training
 the one picked in the menu, 0 for none
 
s32 intensity
 the last one picked
 
struct { 
 
   s32   frame 
 
   s32   time 
 
} anims [3] 
 the party's sprites
 
PanelAnim panels [7]
 
void(* showStats )(struct TrainScreen *screen, PartnerTotals *before)
 

Detailed Description

The training screen's main task (STGTRAIN_createScreen)

Definition at line 106 of file gym.h.

Field Documentation

◆ id

s32 TrainScreen::id

Definition at line 107 of file gym.h.

◆ key1

s32 TrainScreen::key1

Definition at line 107 of file gym.h.

◆ key2

s32 TrainScreen::key2

Definition at line 107 of file gym.h.

◆ state

s32 TrainScreen::state

Definition at line 107 of file gym.h.

Referenced by STGTRAIN_runScreen(), and STGTRAIN_updateScreen().

◆ substate

◆ step

s32 TrainScreen::step

Definition at line 107 of file gym.h.

◆ counter

s32 TrainScreen::counter

Definition at line 107 of file gym.h.

◆ paused

s32 TrainScreen::paused

Definition at line 107 of file gym.h.

◆ childCount

s32 TrainScreen::childCount

Definition at line 107 of file gym.h.

◆ children

void* TrainScreen::children

Definition at line 107 of file gym.h.

Referenced by STGTRAIN_showStatChanges().

◆ setState

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

Definition at line 107 of file gym.h.

Referenced by STGTRAIN_updateScreen().

◆ setSubstate

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

Definition at line 107 of file gym.h.

◆ setStep

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

Definition at line 107 of file gym.h.

◆ setCounter

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

Definition at line 107 of file gym.h.

◆ nextState

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

Definition at line 107 of file gym.h.

Referenced by STGTRAIN_updateScreen().

◆ nextSubstate

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

Definition at line 107 of file gym.h.

◆ nextStep

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

Definition at line 107 of file gym.h.

◆ tickCounter

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

Definition at line 107 of file gym.h.

◆ update

void(* TrainScreen::update) ()

Definition at line 107 of file gym.h.

◆ destroy

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

Definition at line 107 of file gym.h.

◆ layerId

s32 TrainScreen::layerId

Definition at line 108 of file gym.h.

Referenced by STGTRAIN_createScreen(), STGTRAIN_createScreenWindows(), and STGTRAIN_drawScreen().

◆ depth

s32 TrainScreen::depth

Definition at line 109 of file gym.h.

Referenced by STGTRAIN_createScreen(), and STGTRAIN_drawScreen().

◆ bgSprite

s32 TrainScreen::bgSprite

the gym's sign, by the mode it came from

Definition at line 110 of file gym.h.

Referenced by STGTRAIN_createScreen(), and STGTRAIN_drawScreen().

◆ bgScroll

s32 TrainScreen::bgScroll

Definition at line 111 of file gym.h.

Referenced by STGTRAIN_drawScreen().

◆ bgTick

s32 TrainScreen::bgTick

Definition at line 112 of file gym.h.

Referenced by STGTRAIN_drawScreen().

◆ partyCount

s32 TrainScreen::partyCount

Definition at line 113 of file gym.h.

Referenced by STGTRAIN_drawScreen(), STGTRAIN_pickPartner(), and STGTRAIN_updateScreen().

◆ partner

◆ cursorShown

s32 TrainScreen::cursorShown

Definition at line 115 of file gym.h.

Referenced by STGTRAIN_closePartnerPick(), STGTRAIN_drawScreen(), and STGTRAIN_runScreen().

◆ cursorClut

s32 TrainScreen::cursorClut

Definition at line 116 of file gym.h.

Referenced by STGTRAIN_drawScreen().

◆ cursorTime

s32 TrainScreen::cursorTime

Definition at line 117 of file gym.h.

Referenced by STGTRAIN_drawScreen().

◆ training

s32 TrainScreen::training

the one picked in the menu, 0 for none

Definition at line 118 of file gym.h.

Referenced by STGTRAIN_drawSession(), STGTRAIN_pickTraining(), STGTRAIN_runScreen(), STGTRAIN_showTrainingName(), STGTRAIN_updateMenu(), and STGTRAIN_waitMenu().

◆ intensity

s32 TrainScreen::intensity

◆ frame

s32 TrainScreen::frame

the selected partner's sprite

Definition at line 121 of file gym.h.

Referenced by STGTRAIN_animatePartner(), STGTRAIN_drawScreen(), and STGTRAIN_pickPartner().

◆ time

s32 TrainScreen::time

Definition at line 122 of file gym.h.

Referenced by STGTRAIN_animatePartner(), and STGTRAIN_drawScreen().

◆ [struct]

struct { ... } TrainScreen::anims[3]

the party's sprites

Referenced by STGTRAIN_drawScreen().

◆ panels

◆ showStats

void(* TrainScreen::showStats) (struct TrainScreen *screen, PartnerTotals *before)

Definition at line 127 of file gym.h.

Referenced by STGTRAIN_createScreen(), STGTRAIN_runTraining(), and STGTRAIN_showGains().


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