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

The stage lights (FIGHTSTG_createLights), registered as BATTLE_TASK_LIGHTS: set puts a light set, fade goes from one to another in time frames. More...

#include <battle/battle_mode/stage.h>

Collaboration diagram for Lights:
[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 Lights *task, s32 state)
 
void(* setSubstate )(struct Lights *task, s32 substate)
 
void(* setStep )(struct Lights *task, s32 step)
 
void(* setCounter )(struct Lights *task, s32 counter)
 
void(* nextState )(struct Lights *task)
 
void(* nextSubstate )(struct Lights *task)
 
void(* nextStep )(struct Lights *task)
 
void(* tickCounter )(struct Lights *task)
 
void(* update )()
 
void(* destroy )(struct Lights *task)
 
s32 layerId
 
LightSet current
 
LightSet to
 
LightSet from
 
s32 t
 0-0x1000
 
s32 tStep
 per frame
 
void(* set )(struct Lights *task, LightSet *set)
 
void(* fade )(struct Lights *task, LightSet *from, LightSet *to, s32 time)
 from: NULL for the current
 
LightSet *(* getStageLights )(struct Lights *task, s32 stage)
 

Detailed Description

The stage lights (FIGHTSTG_createLights), registered as BATTLE_TASK_LIGHTS: set puts a light set, fade goes from one to another in time frames.

Definition at line 59 of file stage.h.

Field Documentation

◆ id

s32 Lights::id

Definition at line 60 of file stage.h.

◆ key1

s32 Lights::key1

Definition at line 60 of file stage.h.

◆ key2

s32 Lights::key2

Definition at line 60 of file stage.h.

◆ state

s32 Lights::state

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_updateLights().

◆ substate

s32 Lights::substate

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_updateLights().

◆ step

s32 Lights::step

Definition at line 60 of file stage.h.

◆ counter

s32 Lights::counter

Definition at line 60 of file stage.h.

◆ paused

s32 Lights::paused

Definition at line 60 of file stage.h.

◆ childCount

s32 Lights::childCount

Definition at line 60 of file stage.h.

◆ children

void* Lights::children

Definition at line 60 of file stage.h.

◆ setState

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

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), FIGHTSTG_setLights(), and FIGHTSTG_updateLights().

◆ setSubstate

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

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_updateLights().

◆ setStep

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

Definition at line 60 of file stage.h.

◆ setCounter

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

Definition at line 60 of file stage.h.

◆ nextState

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

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_updateLights().

◆ nextSubstate

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

Definition at line 60 of file stage.h.

Referenced by FIGHTSTG_updateLights().

◆ nextStep

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

Definition at line 60 of file stage.h.

◆ tickCounter

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

Definition at line 60 of file stage.h.

◆ update

void(* Lights::update) ()

Definition at line 60 of file stage.h.

◆ destroy

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

Definition at line 60 of file stage.h.

◆ layerId

s32 Lights::layerId

Definition at line 61 of file stage.h.

Referenced by FIGHTSTG_createLights(), and FIGHTSTG_updateLights().

◆ current

LightSet Lights::current

Definition at line 62 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), FIGHTSTG_setLights(), and FIGHTSTG_updateLights().

◆ to

LightSet Lights::to

Definition at line 63 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), and FIGHTSTG_updateLights().

◆ from

LightSet Lights::from

Definition at line 64 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), and FIGHTSTG_updateLights().

◆ t

s32 Lights::t

0-0x1000

Definition at line 65 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), and FIGHTSTG_updateLights().

◆ tStep

s32 Lights::tStep

per frame

Definition at line 66 of file stage.h.

Referenced by FIGHTSTG_fadeLights(), and FIGHTSTG_updateLights().

◆ set

void(* Lights::set) (struct Lights *task, LightSet *set)

Definition at line 67 of file stage.h.

Referenced by FIGHTSTG_createLights().

◆ fade

void(* Lights::fade) (struct Lights *task, LightSet *from, LightSet *to, s32 time)

from: NULL for the current

Definition at line 68 of file stage.h.

Referenced by fadeInStageLights(), and FIGHTSTG_createLights().

◆ getStageLights

LightSet *(* Lights::getStageLights) (struct Lights *task, s32 stage)

Definition at line 69 of file stage.h.

Referenced by fadeInStageLights(), and FIGHTSTG_createLights().


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