|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's faces: a model's blinking eyes and its other face parts. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| s32 | FIGHTSTG_getEyesFrame (Face *task) |
| The eyes' frame for the model's motion: 2 (closed) for motions 4 to 11, 1 for 2, else 0 (open) | |
| void | FIGHTSTG_moveFacePart (Face *task, DR_MOVE *prim, s32 part, s32 frame) |
| Fills prim to copy part's frame of the face's texture over the part, in VRAM. | |
| void | FIGHTSTG_updateFace (Face *task) |
| A fighter's face task: each frame, copies the eyes' frame (blinking at random while open) and the other parts' frames (a three-frame cycle) over the model's texture, for the parts whose frame changed. | |
| Face * | FIGHTSTG_createFace (Model *model, s32 fighter) |
| Creates the face of fighter's model, with its parts (FIGHTSTG_fighterCache.getFace); none for fighter 0. | |
FIGHTSTG's faces: a model's blinking eyes and its other face parts.
Definition in file face.c.
The eyes' frame for the model's motion: 2 (closed) for motions 4 to 11, 1 for 2, else 0 (open)
Definition at line 7 of file face.c.
Referenced by FIGHTSTG_updateFace().
Fills prim to copy part's frame of the face's texture over the part, in VRAM.
Definition at line 27 of file face.c.
Referenced by FIGHTSTG_updateFace().
| void FIGHTSTG_updateFace | ( | Face * | task | ) |
A fighter's face task: each frame, copies the eyes' frame (blinking at random while open) and the other parts' frames (a three-frame cycle) over the model's texture, for the parts whose frame changed.
Definition at line 43 of file face.c.
Referenced by FIGHTSTG_createFace().
Creates the face of fighter's model, with its parts (FIGHTSTG_fighterCache.getFace); none for fighter 0.
Definition at line 119 of file face.c.
Referenced by FIGHTSTG_updateModel().