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

FIGHTSTG's fighter cameras, which a fighter's model control moves. More...

Include dependency graph for fighter_camera.c:

Go to the source code of this file.

Functions

void FIGHTSTG_applyCamera (FighterCamera *task)
 Sets layer 0x1009's view to the fighter camera's, with its rotation and translation, and counts down one of the frames it is set for.
 
void FIGHTSTG_loadCamera (FighterCamera *task)
 Loads a fighter camera's view from its fighter's camera 6, or 7 while the model has an idle motion, with no rotation or translation.
 
void FIGHTSTG_updateCamera (FighterCamera *task)
 The fighter camera's task: once layer 0x1009 is there, loads the view and sets it for two frames.
 
FighterCamera * FIGHTSTG_createCamera (s32 fighter, ModelControl *control)
 Creates the camera of a fighter of the partner view, on control's model.
 

Detailed Description

FIGHTSTG's fighter cameras, which a fighter's model control moves.

Definition in file fighter_camera.c.

Function Documentation

◆ FIGHTSTG_applyCamera()

void FIGHTSTG_applyCamera ( FighterCamera *  task)

Sets layer 0x1009's view to the fighter camera's, with its rotation and translation, and counts down one of the frames it is set for.

Definition at line 7 of file fighter_camera.c.

Referenced by FIGHTSTG_updateCamera().

Here is the caller graph for this function:

◆ FIGHTSTG_loadCamera()

void FIGHTSTG_loadCamera ( FighterCamera *  task)

Loads a fighter camera's view from its fighter's camera 6, or 7 while the model has an idle motion, with no rotation or translation.

Definition at line 24 of file fighter_camera.c.

Referenced by FIGHTSTG_updateCamera().

Here is the caller graph for this function:

◆ FIGHTSTG_updateCamera()

void FIGHTSTG_updateCamera ( FighterCamera *  task)

The fighter camera's task: once layer 0x1009 is there, loads the view and sets it for two frames.

Definition at line 48 of file fighter_camera.c.

Referenced by FIGHTSTG_createCamera().

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

◆ FIGHTSTG_createCamera()

FighterCamera * FIGHTSTG_createCamera ( s32  fighter,
ModelControl *  control 
)

Creates the camera of a fighter of the partner view, on control's model.

Definition at line 78 of file fighter_camera.c.

Referenced by FIGHTSTG_updatePartnerView().

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