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

A sprite at (x, y) from the stage's sheet (FieldState.sheetEntry) with an animated palette, and a second one above it that a one-shot animation adds to frame (what it is in the game isn't known yet) More...

#include <field/stage.h>

Collaboration diagram for StageEffect:
[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 StageEffect *task, s32 state)
 
void(* setSubstate )(struct StageEffect *task, s32 substate)
 
void(* setStep )(struct StageEffect *task, s32 step)
 
void(* setCounter )(struct StageEffect *task, s32 counter)
 
void(* nextState )(struct StageEffect *task)
 
void(* nextSubstate )(struct StageEffect *task)
 
void(* nextStep )(struct StageEffect *task)
 
void(* tickCounter )(struct StageEffect *task)
 
void(* update )()
 
void(* destroy )(struct StageEffect *task)
 
s32 frame
 
s32 x
 
s32 y
 
AnimState anim
 the one-shot animation
 
AnimState clutAnim
 
StageSprite sprites [2]
 drawn at depth 6 and 4
 

Detailed Description

A sprite at (x, y) from the stage's sheet (FieldState.sheetEntry) with an animated palette, and a second one above it that a one-shot animation adds to frame (what it is in the game isn't known yet)

Definition at line 79 of file stage.h.

Field Documentation

◆ id

s32 StageEffect::id

Definition at line 80 of file stage.h.

◆ key1

s32 StageEffect::key1

Definition at line 80 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ key2

s32 StageEffect::key2

Definition at line 80 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ state

s32 StageEffect::state

Definition at line 80 of file stage.h.

Referenced by drawEffect(), drawEffect(), updateEffect(), and updateStageEffect().

◆ substate

s32 StageEffect::substate

Definition at line 80 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ step

s32 StageEffect::step

Definition at line 80 of file stage.h.

◆ counter

s32 StageEffect::counter

Definition at line 80 of file stage.h.

◆ paused

s32 StageEffect::paused

Definition at line 80 of file stage.h.

◆ childCount

s32 StageEffect::childCount

Definition at line 80 of file stage.h.

◆ children

void* StageEffect::children

Definition at line 80 of file stage.h.

◆ setState

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

Definition at line 80 of file stage.h.

Referenced by createCommand838(), updateEffect(), and updateStageEffect().

◆ setSubstate

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

Definition at line 80 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ setStep

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

Definition at line 80 of file stage.h.

◆ setCounter

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

Definition at line 80 of file stage.h.

◆ nextState

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

Definition at line 80 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ nextSubstate

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

Definition at line 80 of file stage.h.

◆ nextStep

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

Definition at line 80 of file stage.h.

◆ tickCounter

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

Definition at line 80 of file stage.h.

◆ update

void(* StageEffect::update) ()

Definition at line 80 of file stage.h.

◆ destroy

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

Definition at line 80 of file stage.h.

◆ frame

◆ x

◆ y

◆ anim

AnimState StageEffect::anim

the one-shot animation

Definition at line 84 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ clutAnim

AnimState StageEffect::clutAnim

Definition at line 85 of file stage.h.

Referenced by updateEffect(), and updateStageEffect().

◆ sprites

StageSprite StageEffect::sprites[2]

drawn at depth 6 and 4

Definition at line 86 of file stage.h.

Referenced by drawEffect(), drawStageEffect(), updateEffect(), and updateStageEffect().


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