165#define SIMPLE_ANIMATION_INSTRUCTION(x) x, 0x00000002
167#define ANIMATION_DISABLE_AUTOMATIC_POP SIMPLE_ANIMATION_INSTRUCTION(DISABLE_AUTOMATIC_POP_MATRIX)
168#define ANIMATION_POP_MATRIX SIMPLE_ANIMATION_INSTRUCTION(POP_MATRIX)
169#define ANIMATION_STOP SIMPLE_ANIMATION_INSTRUCTION(STOP_ANIMATION)
171#define ANIMATION_RENDER_MODEL_AT(model, x, y, z) RENDER_MODEL_OR_ADD_POS, 0x00000007, 0x00000000, (u32) model, x, y, z
173#define ANIMATION_RENDER_MODEL(model) ANIMATION_RENDER_MODEL_AT(model, 0x00000000, 0x00000000, 0x00000000)
175#define ANIMATION_ADD_POS(x, y, z) ANIMATION_RENDER_MODEL_AT((u32) NULL, x, y, z)
void render_armature(Armature *, Animation *, s16)
Definition animation.c:106
s16 render_animated_model(Armature *, Animation **, s16, s16)
Definition animation.c:154
animation_type
Definition animation.h:177
@ DISABLE_AUTOMATIC_POP_MATRIX
Definition animation.h:177
@ POP_MATRIX
Definition animation.h:177
@ STOP_ANIMATION
Definition animation.h:177
@ RENDER_MODEL_OR_ADD_POS
Definition animation.h:177
void render_limb_or_add_mtx(Armature *, s16 *, AnimationLimbVector, s32)
Definition animation.c:67
void convert_to_fixed_point_matrix_animation(Mtx *dest, Mat4 src)
Definition animation.c:16
AnimationCycleSpec AnimationLimbVector[3]
Definition animation.h:198
void mtxf_translate_rotate2(Mat4 dest, Vec3f pos, Vec3s angle)
Definition animation.c:36
s16 get_animation_length(Animation **, s16)
Definition animation.c:174
f32 Vec3f[3]
Definition common_structs.h:6
s16 Vec3s[3]
Definition common_structs.h:11
f32 Mat4[4][4]
Definition common_structs.h:16
Definition animation.h:191
u16 animation_length
Definition animation.h:192
u16 indexCycle
Definition animation.h:193
Definition animation.h:200
s16 * angle_array
Definition animation.h:205
s16 animation_length
Definition animation.h:203
AnimationLimbVector * animation_cycle_spec_vector
Definition animation.h:206
u16 has_value_but_never_used
Definition animation.h:204
s32 always_set_to_something_but_never_used
Definition animation.h:201
s32 always_zero_never_used
Definition animation.h:202
The armature is associated with an AnimationLimbVector which is equal to the number of RENDER_MODEL_O...
Definition animation.h:183
s32 type
Definition animation.h:184
s32 size
Definition animation.h:185
Gfx * model
Definition animation.h:187
s32 always_zero_never_used
Definition animation.h:186
signed int s32
Definition ultratypes.h:15
signed short int s16
Definition ultratypes.h:13
unsigned short int u16
Definition ultratypes.h:14