161#define SIMPLE_ANIMATION_INSTRUCTION(x) x, 0x00000002
163#define ANIMATION_DISABLE_AUTOMATIC_POP SIMPLE_ANIMATION_INSTRUCTION(DISABLE_AUTOMATIC_POP_MATRIX)
164#define ANIMATION_POP_MATRIX SIMPLE_ANIMATION_INSTRUCTION(POP_MATRIX)
165#define ANIMATION_STOP SIMPLE_ANIMATION_INSTRUCTION(STOP_ANIMATION)
167#define ANIMATION_RENDER_MODEL_AT(model, x, y, z) RENDER_MODEL_OR_ADD_POS, 0x00000007, 0x00000000, (u32) model, x, y, z
169#define ANIMATION_RENDER_MODEL(model) ANIMATION_RENDER_MODEL_AT(model, 0x00000000, 0x00000000, 0x00000000)
171#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:105
s16 render_animated_model(Armature *, Animation **, s16, s16)
Definition animation.c:153
animation_type
Definition animation.h:173
@ DISABLE_AUTOMATIC_POP_MATRIX
Definition animation.h:175
@ POP_MATRIX
Definition animation.h:176
@ STOP_ANIMATION
Definition animation.h:177
@ RENDER_MODEL_OR_ADD_POS
Definition animation.h:174
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]
the first are the original position and other are animation specification for each "limb" who corresp...
Definition animation.h:197
void mtxf_translate_rotate2(Mat4 dest, Vec3f b, Vec3s c)
Definition animation.c:36
s16 get_animation_length(Animation **, s16)
Definition animation.c:172
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:199
s16 * angle_array
Definition animation.h:204
s16 animation_length
Definition animation.h:202
AnimationLimbVector * animation_cycle_spec_vector
Definition animation.h:205
u16 has_value_but_never_used
Definition animation.h:203
s32 always_set_to_something_but_never_used
Definition animation.h:200
s32 always_zero_never_used
Definition animation.h:201
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