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

The results of a training (STGTRAIN_createResult) More...

#include <menus/gym.h>

Collaboration diagram for TrainResult:
[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 TrainResult *task, s32 state)
 
void(* setSubstate )(struct TrainResult *task, s32 substate)
 
void(* setStep )(struct TrainResult *task, s32 step)
 
void(* setCounter )(struct TrainResult *task, s32 counter)
 
void(* nextState )(struct TrainResult *task)
 
void(* nextSubstate )(struct TrainResult *task)
 
void(* nextStep )(struct TrainResult *task)
 
void(* tickCounter )(struct TrainResult *task)
 
void(* update )()
 
void(* destroy )(struct TrainResult *task)
 
TrainScreen * screen
 
s32 layerId
 
s32 depth
 
s32 partner
 
s32 training
 
s32 trained [5]
 
s32 gains [5]
 
s32 losses [5]
 
s32 modeArg
 
PartnerTotals before
 
s32 bonusTrying
 the bonus try (the fourth) is on: its mark blinks
 
s32 bonusWorked
 the gains take their better columns
 
s32 bonusBlink
 
s32 bonusBlinkTime
 
s32 prompting
 the blinking arrow: cross goes on
 
s32 arrowClut
 
s32 arrowTime
 
s16 bonusSound
 the slot of the bonus try's sound
 
PanelAnim panels [4]
 

Detailed Description

The results of a training (STGTRAIN_createResult)

Definition at line 250 of file gym.h.

Field Documentation

◆ id

s32 TrainResult::id

Definition at line 251 of file gym.h.

◆ key1

s32 TrainResult::key1

Definition at line 251 of file gym.h.

◆ key2

s32 TrainResult::key2

Definition at line 251 of file gym.h.

◆ state

s32 TrainResult::state

Definition at line 251 of file gym.h.

Referenced by STGTRAIN_runTraining(), STGTRAIN_updateResult(), and STGTRAIN_waitSession().

◆ substate

s32 TrainResult::substate

◆ step

s32 TrainResult::step

Definition at line 251 of file gym.h.

Referenced by STGTRAIN_takeTry().

◆ counter

s32 TrainResult::counter

◆ paused

s32 TrainResult::paused

Definition at line 251 of file gym.h.

◆ childCount

s32 TrainResult::childCount

Definition at line 251 of file gym.h.

◆ children

void* TrainResult::children

Definition at line 251 of file gym.h.

Referenced by STGTRAIN_applyTry().

◆ setState

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

Definition at line 251 of file gym.h.

◆ setSubstate

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

Definition at line 251 of file gym.h.

Referenced by STGTRAIN_takeBonusTry(), and STGTRAIN_takeTry().

◆ setStep

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

Definition at line 251 of file gym.h.

◆ setCounter

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

Definition at line 251 of file gym.h.

◆ nextState

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

Definition at line 251 of file gym.h.

Referenced by STGTRAIN_updateResult().

◆ nextSubstate

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

Definition at line 251 of file gym.h.

◆ nextStep

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

Definition at line 251 of file gym.h.

◆ tickCounter

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

Definition at line 251 of file gym.h.

◆ update

void(* TrainResult::update) ()

Definition at line 251 of file gym.h.

◆ destroy

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

Definition at line 251 of file gym.h.

◆ screen

◆ layerId

s32 TrainResult::layerId

◆ depth

s32 TrainResult::depth

◆ partner

◆ training

◆ trained

s32 TrainResult::trained[5]

◆ gains

s32 TrainResult::gains[5]

Definition at line 258 of file gym.h.

Referenced by STGTRAIN_applyTry(), and STGTRAIN_showGains().

◆ losses

s32 TrainResult::losses[5]

Definition at line 259 of file gym.h.

Referenced by STGTRAIN_applyTry(), and STGTRAIN_showGains().

◆ modeArg

s32 TrainResult::modeArg

Definition at line 260 of file gym.h.

Referenced by STGTRAIN_applyTry(), STGTRAIN_createResult(), and STGTRAIN_showGains().

◆ before

PartnerTotals TrainResult::before

◆ bonusTrying

s32 TrainResult::bonusTrying

the bonus try (the fourth) is on: its mark blinks

Definition at line 262 of file gym.h.

Referenced by STGTRAIN_drawResult(), STGTRAIN_runTraining(), STGTRAIN_startBonusTry(), and STGTRAIN_takeBonusTry().

◆ bonusWorked

s32 TrainResult::bonusWorked

the gains take their better columns

Definition at line 263 of file gym.h.

Referenced by STGTRAIN_drawResult(), STGTRAIN_raiseMaxHpMp(), STGTRAIN_raiseResistance(), STGTRAIN_raiseStat(), and STGTRAIN_takeBonusTry().

◆ bonusBlink

s32 TrainResult::bonusBlink

Definition at line 264 of file gym.h.

Referenced by STGTRAIN_drawResult().

◆ bonusBlinkTime

s32 TrainResult::bonusBlinkTime

Definition at line 265 of file gym.h.

Referenced by STGTRAIN_drawResult().

◆ prompting

s32 TrainResult::prompting

the blinking arrow: cross goes on

Definition at line 266 of file gym.h.

Referenced by STGTRAIN_drawResult(), STGTRAIN_runTraining(), STGTRAIN_showGains(), and STGTRAIN_takeBonusTry().

◆ arrowClut

s32 TrainResult::arrowClut

Definition at line 267 of file gym.h.

Referenced by STGTRAIN_drawResult().

◆ arrowTime

s32 TrainResult::arrowTime

Definition at line 268 of file gym.h.

Referenced by STGTRAIN_drawResult().

◆ bonusSound

s16 TrainResult::bonusSound

the slot of the bonus try's sound

Definition at line 269 of file gym.h.

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

◆ panels

PanelAnim TrainResult::panels[4]

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