|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's battle camera and its views of the fighters. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_updateBattleCamera (BattleCamera *task) |
The battle camera's task: fades its view from from to to (position, reference, translation, rotation, roll and projection) by tStep a frame, sets it on its layer every frame and goes to the next substate once there; set and fade restart it through TASK_DONE. | |
| void | FIGHTSTG_setBattleCameraView (BattleCamera *task, CameraView *view) |
| BattleCamera.set: puts the battle camera at view. | |
| void | FIGHTSTG_fadeBattleCamera (BattleCamera *task, CameraView *from, CameraView *to, s32 time) |
BattleCamera.fade: fades the battle camera from from (or where it is) to to over time frames. | |
| CameraView * | FIGHTSTG_getFighterView (BattleCamera *task, s32 id, s32 camera) |
| The view of a fighter's camera (id as Models.getFighter takes it), which ends the battle camera's fade. | |
| CameraView * | FIGHTSTG_getEnemyView (BattleCamera *task) |
| The view of the enemy's last camera. | |
| BattleCamera * | FIGHTSTG_createBattleCamera (s32 layerId) |
| Creates the battle camera (BATTLE_TASK_CAMERA) on a layer. | |
FIGHTSTG's battle camera and its views of the fighters.
Definition in file battle_camera.c.
| void FIGHTSTG_updateBattleCamera | ( | BattleCamera * | task | ) |
The battle camera's task: fades its view from from to to (position, reference, translation, rotation, roll and projection) by tStep a frame, sets it on its layer every frame and goes to the next substate once there; set and fade restart it through TASK_DONE.
Definition at line 9 of file battle_camera.c.
Referenced by FIGHTSTG_createBattleCamera().
| void FIGHTSTG_setBattleCameraView | ( | BattleCamera * | task, |
| CameraView * | view | ||
| ) |
BattleCamera.set: puts the battle camera at view.
Definition at line 117 of file battle_camera.c.
Referenced by FIGHTSTG_createBattleCamera().
| void FIGHTSTG_fadeBattleCamera | ( | BattleCamera * | task, |
| CameraView * | from, | ||
| CameraView * | to, | ||
| s32 | time | ||
| ) |
BattleCamera.fade: fades the battle camera from from (or where it is) to to over time frames.
Definition at line 125 of file battle_camera.c.
Referenced by FIGHTSTG_createBattleCamera().
| CameraView * FIGHTSTG_getFighterView | ( | BattleCamera * | task, |
| s32 | id, | ||
| s32 | camera | ||
| ) |
The view of a fighter's camera (id as Models.getFighter takes it), which ends the battle camera's fade.
< the fighters'
Definition at line 139 of file battle_camera.c.
Referenced by FIGHTSTG_createBattleCamera(), and FIGHTSTG_getEnemyView().
| CameraView * FIGHTSTG_getEnemyView | ( | BattleCamera * | task | ) |
The view of the enemy's last camera.
< the fighters'
Definition at line 188 of file battle_camera.c.
Referenced by FIGHTSTG_createBattleCamera().
| BattleCamera * FIGHTSTG_createBattleCamera | ( | s32 | layerId | ) |
Creates the battle camera (BATTLE_TASK_CAMERA) on a layer.
Definition at line 209 of file battle_camera.c.
Referenced by setUpBattle(), and WFIGHTMN_updateMenu().