Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
effect_model.c File Reference

FIGHTSTG's effect models, the 3D effects of techniques. More...

Include dependency graph for effect_model.c:

Go to the source code of this file.

Functions

void FIGHTSTG_updateEffectModel (EffectModel *task, Model **children)
 An effect model's task: creates its model at its position and rotation on layer BATTLE_LAYER_MODELS and ends when its motion is over.
 
s32 FIGHTSTG_getEffectModelFile (s32 id)
 The model file of effect model id (FIGHTSTG_effectModels), or 0 for none.
 
EffectModel * FIGHTSTG_startEffectModel (s32 id, SVECTOR *pos, SVECTOR *rot)
 Starts the effect model id at pos and rot, its model in FIGHTSTG_effectModels and its textures at (0x280, 0x100); killed at once when id has no entry.
 

Variables

EffectModelEntry FIGHTSTG_effectModels []
 the effect models, ended by an id of 0; the European version's differ
 

Detailed Description

FIGHTSTG's effect models, the 3D effects of techniques.

Definition in file effect_model.c.

Function Documentation

◆ FIGHTSTG_updateEffectModel()

void FIGHTSTG_updateEffectModel ( EffectModel *  task,
Model **  children 
)

An effect model's task: creates its model at its position and rotation on layer BATTLE_LAYER_MODELS and ends when its motion is over.

Definition at line 7 of file effect_model.c.

Referenced by FIGHTSTG_startEffectModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIGHTSTG_getEffectModelFile()

s32 FIGHTSTG_getEffectModelFile ( s32  id)

The model file of effect model id (FIGHTSTG_effectModels), or 0 for none.

Definition at line 307 of file effect_model.c.

Referenced by FIGHTSTG_runScriptEffectModel().

Here is the caller graph for this function:

◆ FIGHTSTG_startEffectModel()

EffectModel * FIGHTSTG_startEffectModel ( s32  id,
SVECTOR *  pos,
SVECTOR *  rot 
)

Starts the effect model id at pos and rot, its model in FIGHTSTG_effectModels and its textures at (0x280, 0x100); killed at once when id has no entry.

The match depends on the entry pointer and on texPos set as one Vec2 (as two members, gcc stores them sooner).

Definition at line 322 of file effect_model.c.

Referenced by FIGHTSTG_runScriptEffectModel().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ FIGHTSTG_effectModels

EffectModelEntry FIGHTSTG_effectModels[]

the effect models, ended by an id of 0; the European version's differ

Definition at line 171 of file effect_model.c.

Referenced by FIGHTSTG_getEffectModelFile(), and FIGHTSTG_startEffectModel().