|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's shot camera, which goes through lists of shots while the player picks a command. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| static void | startNextShot (ShotCamera *task) |
| Shows both models again and starts the list's next shot, or the first shot of a list picked at random among those that can follow. | |
| static void | turnAroundFighters (ShotCamera *task) |
| Shot 1: turns around the fighters from the enemy's view, going on from where the last turn stopped (in stage 4, a half turn ends the shot). | |
| static void | viewFromSide (ShotCamera *task) |
| Shot 2: a fixed view, set off to the side of the enemy's view. | |
| static void | viewFromAbove (ShotCamera *task) |
| Shot 9: a turning view, set high above the enemy's view. | |
| static void | viewPartnerSide (ShotCamera *task) |
| Views the partner's side, with the enemy's model hidden. | |
| static void | viewEnemySide (ShotCamera *task) |
| Views the enemy's side, with the partner's model hidden. | |
| static void | spinView (ShotCamera *task) |
| Turns the view around at the shot's speed. | |
| static void | spinViewBack (ShotCamera *task) |
| Turns the view around the other way at the shot's speed. | |
| void | FIGHTSTG_updateShotCamera (ShotCamera *task) |
| A camera that plays lists of shots (FIGHTSTG_cameraShots): turns around the fighters, fixed views and views of one side with the other side's model hidden. | |
| ShotCamera * | FIGHTSTG_createShotCamera (void) |
| Starts the camera that plays lists of shots (FIGHTSTG_updateShotCamera) | |
Variables | |
| CameraShot | FIGHTSTG_cameraShots [4][6] |
| FIGHTSTG_updateShotCamera's shots: how long each lasts and the substate that makes it, in four lists that end with a time of -1. | |
| u8 | FIGHTSTG_nextShotLists [8][3] |
| the lists that can follow each one | |
FIGHTSTG's shot camera, which goes through lists of shots while the player picks a command.
Definition in file shot_camera.c.
|
inlinestatic |
Shows both models again and starts the list's next shot, or the first shot of a list picked at random among those that can follow.
Definition at line 21 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Shot 1: turns around the fighters from the enemy's view, going on from where the last turn stopped (in stage 4, a half turn ends the shot).
Definition at line 34 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Shot 2: a fixed view, set off to the side of the enemy's view.
Definition at line 55 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Shot 9: a turning view, set high above the enemy's view.
Definition at line 67 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Views the partner's side, with the enemy's model hidden.
Definition at line 81 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Views the enemy's side, with the partner's model hidden.
Definition at line 91 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Turns the view around at the shot's speed.
Definition at line 101 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
|
inlinestatic |
Turns the view around the other way at the shot's speed.
Definition at line 109 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera().
| void FIGHTSTG_updateShotCamera | ( | ShotCamera * | task | ) |
A camera that plays lists of shots (FIGHTSTG_cameraShots): turns around the fighters, fixed views and views of one side with the other side's model hidden.
Shared between the overlay's objects.
< the fighters'
Definition at line 119 of file shot_camera.c.
Referenced by FIGHTSTG_createShotCamera().
| ShotCamera * FIGHTSTG_createShotCamera | ( | void | ) |
Starts the camera that plays lists of shots (FIGHTSTG_updateShotCamera)
Definition at line 223 of file shot_camera.c.
Referenced by runCommandMenu(), runConfusedMenu(), and runKnockOutSwitchMenu().
| CameraShot FIGHTSTG_cameraShots[4][6] |
FIGHTSTG_updateShotCamera's shots: how long each lasts and the substate that makes it, in four lists that end with a time of -1.
Definition at line 8 of file shot_camera.c.
Referenced by FIGHTSTG_updateShotCamera(), and startNextShot().
| u8 FIGHTSTG_nextShotLists[8][3] |
the lists that can follow each one
Definition at line 15 of file shot_camera.c.
Referenced by startNextShot().