|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's models task (FIGHTSTG_createModels): the fighters' models and their controls. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_updateModels (Models *task) |
| The fighters' models' task: nothing to do but start. | |
| s32 | FIGHTSTG_findModelSlot (Models *task, s32 id) |
| The slot of the fighter model registered as ID, or -1. | |
| s32 | FIGHTSTG_findFreeModelSlot (Models *task) |
| A free fighter model slot, or -1. | |
| void | FIGHTSTG_removeFighterModel (Models *task, s32 id) |
| Models.remove: kills the model registered as ID and frees its slot. | |
| void | FIGHTSTG_addFighterModel (Models *task, s32 id, s32 fighter, s32 visible) |
| Models.add: replaces the model registered as ID with FIGHTER's, in a free slot with that slot's textures, drawn on layer BATTLE_LAYER_MODELS when VISIBLE. | |
| ModelControl * | FIGHTSTG_getModelControl (Models *task, s32 id) |
| Models.get: the control of the model registered as ID, or NULL. | |
| void | FIGHTSTG_setModelId (Models *task, s32 id, s32 newId) |
| Models.setId: registers the model ID as NEWID instead, removing the one that had it. | |
| s32 | FIGHTSTG_getModelFighter (Models *task, s32 id) |
| Models.getFighter: the fighter of the model registered as ID, or 0. | |
| void | FIGHTSTG_faceModel (Models *task, s32 id) |
| Models.face: puts the model registered as ID at its side's place, facing the other side, as its home. | |
| void | FIGHTSTG_setModelIdleMotion (Models *task, s32 id, s32 motion) |
| Models.setIdleMotion. | |
| Models * | FIGHTSTG_createModels (void) |
| Creates the fighters' models (Models), with no fighters yet. | |
Variables | |
| Vec2 | FIGHTSTG_fighterTexPos [] |
| the fighters' models' texture places | |
FIGHTSTG's models task (FIGHTSTG_createModels): the fighters' models and their controls.
Definition in file models.c.
| void FIGHTSTG_updateModels | ( | Models * | task | ) |
The fighters' models' task: nothing to do but start.
Definition at line 7 of file models.c.
Referenced by FIGHTSTG_createModels().
The slot of the fighter model registered as ID, or -1.
Definition at line 21 of file models.c.
Referenced by FIGHTSTG_getModelControl(), FIGHTSTG_getModelFighter(), FIGHTSTG_removeFighterModel(), and FIGHTSTG_setModelId().
A free fighter model slot, or -1.
Definition at line 33 of file models.c.
Referenced by FIGHTSTG_addFighterModel().
Models.remove: kills the model registered as ID and frees its slot.
Definition at line 45 of file models.c.
Referenced by FIGHTSTG_addFighterModel(), FIGHTSTG_createModels(), and FIGHTSTG_setModelId().
Models.add: replaces the model registered as ID with FIGHTER's, in a free slot with that slot's textures, drawn on layer BATTLE_LAYER_MODELS when VISIBLE.
Definition at line 64 of file models.c.
Referenced by FIGHTSTG_createModels().
| ModelControl * FIGHTSTG_getModelControl | ( | Models * | task, |
| s32 | id | ||
| ) |
Models.get: the control of the model registered as ID, or NULL.
Definition at line 88 of file models.c.
Referenced by FIGHTSTG_createModels(), FIGHTSTG_faceModel(), and FIGHTSTG_setModelIdleMotion().
Models.setId: registers the model ID as NEWID instead, removing the one that had it.
Definition at line 99 of file models.c.
Referenced by FIGHTSTG_createModels().
Models.getFighter: the fighter of the model registered as ID, or 0.
Definition at line 105 of file models.c.
Referenced by FIGHTSTG_createModels().
Models.face: puts the model registered as ID at its side's place, facing the other side, as its home.
Definition at line 116 of file models.c.
Referenced by FIGHTSTG_createModels().
Definition at line 145 of file models.c.
Referenced by FIGHTSTG_createModels().
| Models * FIGHTSTG_createModels | ( | void | ) |
Creates the fighters' models (Models), with no fighters yet.
The tasks FIGHTSTG starts for WFIGHTMN and WFIGHTTS.
< the fighters'
Definition at line 154 of file models.c.
Referenced by setUpBattle(), and WFIGHTMN_updateMenu().
| Vec2 FIGHTSTG_fighterTexPos[] |
the fighters' models' texture places
Definition at line 58 of file models.c.
Referenced by FIGHTSTG_addFighterModel().