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

The fight stage (FIGHTSTG_createStage), registered as BATTLE_TASK_STAGE: its model, which fades in from black, and its music. More...

#include <battle/battle_mode/stage.h>

Collaboration diagram for FightStage:
[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 FightStage *task, s32 state)
 
void(* setSubstate )(struct FightStage *task, s32 substate)
 
void(* setStep )(struct FightStage *task, s32 step)
 
void(* setCounter )(struct FightStage *task, s32 counter)
 
void(* nextState )(struct FightStage *task)
 
void(* nextSubstate )(struct FightStage *task)
 
void(* nextStep )(struct FightStage *task)
 
void(* tickCounter )(struct FightStage *task)
 
void(* update )()
 
void(* destroy )(struct FightStage *task)
 
s32 stage
 
s32 prevStage
 
ModelControl control
 
s32 fade
 0-0x1000
 
s32 fadeStep
 
s32 fadeInTime
 
s32 fadeOutTime
 
SVECTOR colorFrom
 the model's
 
SVECTOR colorTo
 
SVECTOR color
 
SVECTOR bgFrom
 SCREEN_LAYER's background.
 
SVECTOR bgTo
 
SVECTOR bg
 
s16 voice
 the music's
 
void(* setStage )(struct FightStage *task, s32 stage, s32 fadeOutTime, s32 fadeInTime)
 

Detailed Description

The fight stage (FIGHTSTG_createStage), registered as BATTLE_TASK_STAGE: its model, which fades in from black, and its music.

setStage fades it out and the new one in.

Definition at line 38 of file stage.h.

Field Documentation

◆ id

s32 FightStage::id

Definition at line 39 of file stage.h.

◆ key1

s32 FightStage::key1

Definition at line 39 of file stage.h.

◆ key2

s32 FightStage::key2

Definition at line 39 of file stage.h.

◆ state

s32 FightStage::state

Definition at line 39 of file stage.h.

Referenced by addNewDigimon(), FIGHTSTG_updateDigimonChange(), and FIGHTSTG_updateStage().

◆ substate

s32 FightStage::substate

Definition at line 39 of file stage.h.

Referenced by FIGHTSTG_updateStage().

◆ step

s32 FightStage::step

Definition at line 39 of file stage.h.

◆ counter

s32 FightStage::counter

Definition at line 39 of file stage.h.

◆ paused

s32 FightStage::paused

Definition at line 39 of file stage.h.

◆ childCount

s32 FightStage::childCount

Definition at line 39 of file stage.h.

◆ children

void* FightStage::children

Definition at line 39 of file stage.h.

◆ setState

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

Definition at line 39 of file stage.h.

Referenced by FIGHTSTG_setStage(), and FIGHTSTG_updateStage().

◆ setSubstate

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

Definition at line 39 of file stage.h.

◆ setStep

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

Definition at line 39 of file stage.h.

◆ setCounter

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

Definition at line 39 of file stage.h.

◆ nextState

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

Definition at line 39 of file stage.h.

Referenced by FIGHTSTG_updateStage().

◆ nextSubstate

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

Definition at line 39 of file stage.h.

Referenced by FIGHTSTG_updateStage().

◆ nextStep

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

Definition at line 39 of file stage.h.

◆ tickCounter

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

Definition at line 39 of file stage.h.

◆ update

void(* FightStage::update) ()

Definition at line 39 of file stage.h.

◆ destroy

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

Definition at line 39 of file stage.h.

◆ stage

◆ prevStage

s32 FightStage::prevStage

Definition at line 41 of file stage.h.

Referenced by FIGHTSTG_setStage(), FIGHTSTG_updateStage(), and startStageFadeOut().

◆ control

ModelControl FightStage::control

Definition at line 42 of file stage.h.

Referenced by FIGHTSTG_updateStage().

◆ fade

s32 FightStage::fade

◆ fadeStep

s32 FightStage::fadeStep

Definition at line 44 of file stage.h.

Referenced by advanceStageFade(), startStageFadeIn(), and startStageFadeOut().

◆ fadeInTime

s32 FightStage::fadeInTime

◆ fadeOutTime

s32 FightStage::fadeOutTime

Definition at line 46 of file stage.h.

Referenced by FIGHTSTG_setStage(), and startStageFadeOut().

◆ colorFrom

SVECTOR FightStage::colorFrom

the model's

Definition at line 47 of file stage.h.

Referenced by FIGHTSTG_fadeStage(), startStageFadeIn(), and startStageFadeOut().

◆ colorTo

SVECTOR FightStage::colorTo

Definition at line 48 of file stage.h.

Referenced by FIGHTSTG_fadeStage(), startStageFadeIn(), and startStageFadeOut().

◆ color

SVECTOR FightStage::color

Definition at line 49 of file stage.h.

Referenced by FIGHTSTG_fadeStage().

◆ bgFrom

SVECTOR FightStage::bgFrom

SCREEN_LAYER's background.

Definition at line 50 of file stage.h.

Referenced by FIGHTSTG_fadeStage(), startStageFadeIn(), and startStageFadeOut().

◆ bgTo

SVECTOR FightStage::bgTo

Definition at line 51 of file stage.h.

Referenced by FIGHTSTG_fadeStage(), startStageFadeIn(), and startStageFadeOut().

◆ bg

SVECTOR FightStage::bg

Definition at line 52 of file stage.h.

Referenced by FIGHTSTG_fadeStage().

◆ voice

s16 FightStage::voice

the music's

Definition at line 53 of file stage.h.

Referenced by FIGHTSTG_updateStage().

◆ setStage


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