Go to the source code of this file.
|
#define | SIMPLE_ANIMATION_INSTRUCTION(x) x, 0x00000002 |
|
#define | ANIMATION_DISABLE_AUTOMATIC_POP SIMPLE_ANIMATION_INSTRUCTION(DISABLE_AUTOMATIC_POP_MATRIX) |
|
#define | ANIMATION_POP_MATRIX SIMPLE_ANIMATION_INSTRUCTION(POP_MATRIX) |
|
#define | ANIMATION_STOP SIMPLE_ANIMATION_INSTRUCTION(STOP_ANIMATION) |
|
#define | ANIMATION_RENDER_MODEL_AT(model, x, y, z) RENDER_MODEL_OR_ADD_POS, 0x00000007, 0x00000000, (u32) model, x, y, z |
| the pos is relative to the previous RENDER_MODEL_OR_ADD_POS if ANIMATION_DISABLE_AUTOMATIC_POP is used
|
|
#define | ANIMATION_RENDER_MODEL(model) ANIMATION_RENDER_MODEL_AT(model, 0x00000000, 0x00000000, 0x00000000) |
| use RENDER_MODEL_OR_ADD_POS
|
|
#define | ANIMATION_ADD_POS(x, y, z) ANIMATION_RENDER_MODEL_AT((u32) NULL, x, y, z) |
| use RENDER_MODEL_OR_ADD_POS
|
|
|
void | convert_to_fixed_point_matrix_animation (Mtx *dest, Mat4 src) |
|
void | mtxf_translate_rotate2 (Mat4 dest, Vec3f pos, Vec3s angle) |
|
s16 | get_animation_length (Animation **, s16) |
|
void | render_limb_or_add_mtx (Armature *, s16 *, AnimationLimbVector, s32) |
|
void | render_armature (Armature *, Animation *, s16) |
|
s16 | render_animated_model (Armature *, Animation **, s16, s16) |
|
◆ ANIMATION_ADD_POS
use RENDER_MODEL_OR_ADD_POS
◆ ANIMATION_DISABLE_AUTOMATIC_POP
◆ ANIMATION_POP_MATRIX
◆ ANIMATION_RENDER_MODEL
use RENDER_MODEL_OR_ADD_POS
◆ ANIMATION_RENDER_MODEL_AT
the pos is relative to the previous RENDER_MODEL_OR_ADD_POS if ANIMATION_DISABLE_AUTOMATIC_POP is used
◆ ANIMATION_STOP
◆ SIMPLE_ANIMATION_INSTRUCTION
#define SIMPLE_ANIMATION_INSTRUCTION |
( |
| x | ) |
x, 0x00000002 |
◆ AnimationLimbVector
the first are the original position and other are animation specification for each "limb" who correspond to each RENDER_MODEL_OR_ADD_POS so ANIMATION_RENDER_MODEL and ANIMATION_ADD_POS
◆ animation_type
Enumerator |
---|
RENDER_MODEL_OR_ADD_POS | |
DISABLE_AUTOMATIC_POP_MATRIX | |
POP_MATRIX | |
STOP_ANIMATION | |
◆ convert_to_fixed_point_matrix_animation()
void convert_to_fixed_point_matrix_animation |
( |
Mtx * | dest, |
|
|
Mat4 | src ) |
float-to-integer conversion responsible for PU crashes
◆ get_animation_length()
◆ mtxf_translate_rotate2()
◆ render_animated_model()
◆ render_armature()
◆ render_limb_or_add_mtx()