|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's sprite effects: the 2D effects of techniques and hits, from their sheets. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| s32 | FIGHTSTG_findEffectSheet (s32 effect, s32 *images, s32 *sheet, Vec2 *texPos) |
| Finds 2D effect effect's sheet (FIGHTSTG_spriteEffects, FIGHTSTG_effectSheets) and gives its values; returns whether it has one. | |
| void | FIGHTSTG_updateSpriteEffect (SpriteEffect *task, SpriteAnim **children) |
| A 2D effect's task: starts a sprite animation for each entry of its archive (up to 30), on BATTLE_LAYER_FRONT for effects 1000 to 1002 and 1007, else on BATTLE_LAYER_MODELS, and ends once they all have. | |
| SpriteEffect * | FIGHTSTG_startSpriteEffect (s32 effect, const SVECTOR *pos) |
| Starts 2D effect effect (FIGHTSTG_spriteEffects) at pos; killed at once when it has no entry. | |
Variables | |
| EffectSheet | FIGHTSTG_effectSheets [] |
| the 2D effects' sheets; the European version's differ | |
| SpriteEffectEntry | FIGHTSTG_spriteEffects [] |
| the 2D effects, ended by an id of -1; the European version's differ | |
FIGHTSTG's sprite effects: the 2D effects of techniques and hits, from their sheets.
Definition in file sprite_effect.c.
Finds 2D effect effect's sheet (FIGHTSTG_spriteEffects, FIGHTSTG_effectSheets) and gives its values; returns whether it has one.
Definition at line 425 of file sprite_effect.c.
Referenced by FIGHTSTG_runScriptEffect(), and FIGHTSTG_updateHitEffect().
| void FIGHTSTG_updateSpriteEffect | ( | SpriteEffect * | task, |
| SpriteAnim ** | children | ||
| ) |
A 2D effect's task: starts a sprite animation for each entry of its archive (up to 30), on BATTLE_LAYER_FRONT for effects 1000 to 1002 and 1007, else on BATTLE_LAYER_MODELS, and ends once they all have.
< the fades, the flashes and the sprite effects over all
< the fades, the flashes and the sprite effects over all
Definition at line 442 of file sprite_effect.c.
Referenced by FIGHTSTG_startSpriteEffect().
| SpriteEffect * FIGHTSTG_startSpriteEffect | ( | s32 | effect, |
| const SVECTOR * | pos | ||
| ) |
Starts 2D effect effect (FIGHTSTG_spriteEffects) at pos; killed at once when it has no entry.
Definition at line 495 of file sprite_effect.c.
Referenced by FIGHTSTG_runScriptEffect(), FIGHTSTG_updateHitEffect(), startChange(), wipeFromWireframe(), and wipeToWireframe().
| EffectSheet FIGHTSTG_effectSheets[] |
the 2D effects' sheets; the European version's differ
Definition at line 62 of file sprite_effect.c.
Referenced by FIGHTSTG_findEffectSheet(), and FIGHTSTG_updateSpriteEffect().
| SpriteEffectEntry FIGHTSTG_spriteEffects[] |
the 2D effects, ended by an id of -1; the European version's differ
Definition at line 270 of file sprite_effect.c.
Referenced by FIGHTSTG_findEffectSheet(), and FIGHTSTG_startSpriteEffect().