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

FIGHTSTG_startHitEffect's task: the enemy's view, effect 0x33 on the player's fighter, then the script of a hit or a knockout. More...

#include <battle/battle_mode/effect.h>

Collaboration diagram for HitEffect:
[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 HitEffect *task, s32 state)
 
void(* setSubstate )(struct HitEffect *task, s32 substate)
 
void(* setStep )(struct HitEffect *task, s32 step)
 
void(* setCounter )(struct HitEffect *task, s32 counter)
 
void(* nextState )(struct HitEffect *task)
 
void(* nextSubstate )(struct HitEffect *task)
 
void(* nextStep )(struct HitEffect *task)
 
void(* tickCounter )(struct HitEffect *task)
 
void(* update )()
 
void(* destroy )(struct HitEffect *task)
 
struct Models * models
 
struct BattleCamera * camera
 
s32 result
 1 a hit, 2 a knockout: the script is result + 1
 
s32 unk5C
 FIGHTSTG_startHitEffect's second argument: 1 from WFIGHTMN, 0 from WFIGHTTS; the script's unk74.
 
s32 effectImages
 FIGHTSTG_findEffectSheet's.
 
s32 sheet
 its file in the high half
 
Vec2 texPos
 

Detailed Description

FIGHTSTG_startHitEffect's task: the enemy's view, effect 0x33 on the player's fighter, then the script of a hit or a knockout.

Definition at line 92 of file effect.h.

Field Documentation

◆ id

s32 HitEffect::id

Definition at line 93 of file effect.h.

◆ key1

s32 HitEffect::key1

Definition at line 93 of file effect.h.

◆ key2

s32 HitEffect::key2

Definition at line 93 of file effect.h.

◆ state

s32 HitEffect::state

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ substate

s32 HitEffect::substate

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ step

s32 HitEffect::step

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ counter

s32 HitEffect::counter

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ paused

s32 HitEffect::paused

Definition at line 93 of file effect.h.

◆ childCount

s32 HitEffect::childCount

Definition at line 93 of file effect.h.

◆ children

void* HitEffect::children

Definition at line 93 of file effect.h.

◆ setState

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

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ setSubstate

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

Definition at line 93 of file effect.h.

◆ setStep

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

Definition at line 93 of file effect.h.

◆ setCounter

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

Definition at line 93 of file effect.h.

◆ nextState

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

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ nextSubstate

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

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ nextStep

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

Definition at line 93 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ tickCounter

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

Definition at line 93 of file effect.h.

◆ update

void(* HitEffect::update) ()

Definition at line 93 of file effect.h.

◆ destroy

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

Definition at line 93 of file effect.h.

◆ models

struct Models* HitEffect::models

Definition at line 94 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ camera

struct BattleCamera* HitEffect::camera

Definition at line 95 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ result

s32 HitEffect::result

1 a hit, 2 a knockout: the script is result + 1

Definition at line 96 of file effect.h.

Referenced by FIGHTSTG_startHitEffect(), and FIGHTSTG_updateHitEffect().

◆ unk5C

s32 HitEffect::unk5C

FIGHTSTG_startHitEffect's second argument: 1 from WFIGHTMN, 0 from WFIGHTTS; the script's unk74.

Definition at line 97 of file effect.h.

Referenced by FIGHTSTG_startHitEffect(), and FIGHTSTG_updateHitEffect().

◆ effectImages

s32 HitEffect::effectImages

FIGHTSTG_findEffectSheet's.

Definition at line 98 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ sheet

s32 HitEffect::sheet

its file in the high half

Definition at line 99 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().

◆ texPos

Vec2 HitEffect::texPos

Definition at line 100 of file effect.h.

Referenced by FIGHTSTG_updateHitEffect().


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