|
Digimon World 3 decomp
The European version, SLES_039.36
|
The camera, which follows an actor or looks at a spot, and shakes. More...
#include "field/field_mode.h"Go to the source code of this file.
Functions | |
| void | FIELDSTG_scrollCamera (Camera *task) |
| Scrolls the map layer to the camera's center, kept inside the map, and shakes it while shaking with its sound. | |
| void | FIELDSTG_updateCamera (Camera *task) |
| The camera's update: it follows its target actor (substate 0) or looks at a spot (1), panning there unless it snaps. | |
| Camera * | FIELDSTG_createCamera (void) |
| Creates the camera. | |
| void | FIELDSTG_followWithCamera (s32 snap, s32 id) |
| Points the camera at the actor id, at once if snap. | |
| void | FIELDSTG_pointCamera (s32 snap, s32 x, s32 y) |
| Points the camera at the spot (x, y), at once if snap. | |
| void | FIELDSTG_shakeCamera (s32 shaking) |
| Starts or stops the camera's shake. | |
The camera, which follows an actor or looks at a spot, and shakes.
Definition in file camera.c.
| void FIELDSTG_scrollCamera | ( | Camera * | task | ) |
Scrolls the map layer to the camera's center, kept inside the map, and shakes it while shaking with its sound.
< the map, its objects and characters, and the menus
< FIELDSTG_createMapStreamer's
< held while the camera shakes
< held while the camera shakes
Definition at line 7 of file camera.c.
Referenced by FIELDSTG_updateCamera().
| void FIELDSTG_updateCamera | ( | Camera * | task | ) |
The camera's update: it follows its target actor (substate 0) or looks at a spot (1), panning there unless it snaps.
< every character (FIELDSTG_createActor)
< held while the camera shakes
Definition at line 61 of file camera.c.
Referenced by FIELDSTG_createCamera().
| Camera * FIELDSTG_createCamera | ( | void | ) |
Creates the camera.
Definition at line 139 of file camera.c.
Referenced by FIELDSTG_updateField().
Points the camera at the actor id, at once if snap.
< every character (FIELDSTG_createActor)
Definition at line 147 of file camera.c.
Referenced by FIELDSTG_runActorAction(), FIELDSTG_runEvent(), and runClimbOffTop().
Points the camera at the spot (x, y), at once if snap.
Definition at line 161 of file camera.c.
Referenced by FIELDSTG_runEvent().
| void FIELDSTG_shakeCamera | ( | s32 | shaking | ) |
Starts or stops the camera's shake.
Definition at line 175 of file camera.c.
Referenced by FIELDSTG_handleFieldCommand().