Go to the source code of this file.
Data Structures | |
struct | DisplayListBufferHandle |
Typedefs | |
typedef DisplayListBufferHandle | AnimatedMeshVertexCopyList[0x60] |
Variables | |
s32 | gAnimCount |
BSS AnimatedMeshVertexCopyList | D_801533C0 |
BSS AnimatedMeshVertexCopyList | D_801536C0 |
BSS AnimatedMeshList | D_801539C0 |
BSS AnimatedMeshList | D_80153A00 |
BSS AnimatedMeshList * | gCurrentAnimMeshListPtr |
BSS s32 | gAnimModelFogEnabled |
BSS s32 | gAnimModelFogR |
BSS s32 | gAnimModelFogG |
BSS s32 | gAnimModelFogB |
BSS s32 | gAnimModelFogA |
BSS s32 | gAnimModelFogStart |
BSS s32 | gAnimModelFogEnd |
BSS s32 | gAnimVtxSegment |
BSS Matrix4f | gAnimRotMtx |
BSS Matrix4f | gAnimScaleMtx |
BSS Matrix4f | gAnimTranslateMtx |
BSS Matrix4f | gAnimRotScaleMtx |
BSS StaticAnimatorNode ** | gAnimTreeRoot |
Gfx | Gfx_RM1_SURFACE_OPA [] |
Gfx | Gfx_RM1_DECAL_OPA [] |
Gfx | Gfx_RM1_INTERSECTING_OPA [] |
Gfx | Gfx_RM1_ALPHATEST [] |
Gfx | Gfx_RM1_SURFACE_XLU [] |
Gfx | Gfx_RM1_DECAL_XLU [] |
Gfx | Gfx_RM1_INTERSECTING_XLU [] |
Gfx | Gfx_RM3_SURFACE_OPA [] |
Gfx | Gfx_RM3_DECAL_OPA [] |
Gfx | Gfx_RM3_INTERSECTING_OPA [] |
Gfx | Gfx_RM3_ALPHATEST [] |
Gfx | Gfx_RM3_SURFACE_XLU [] |
Gfx | Gfx_RM3_DECAL_XLU [] |
Gfx | Gfx_RM3_INTERSECTING_XLU [] |
AnimScript | gAnimScriptDefault |
typedef DisplayListBufferHandle AnimatedMeshVertexCopyList[0x60] |
Definition at line 10 of file animator.c.
void appendGfx_animator_node | ( | ModelAnimator * | animator, |
AnimatorNode * | node, | ||
Matrix4f | mtx ) |
Definition at line 898 of file animator.c.
Referenced by appendGfx_animator(), and appendGfx_animator_node().
Vtx * animator_copy_vertices_to_buffer | ( | ModelAnimator * | animator, |
AnimatorNode * | node, | ||
Vec3s * | buffer, | ||
s32 | vtxCount, | ||
s32 | overhead, | ||
s32 | startIdx ) |
Definition at line 57 of file animator.c.
Referenced by appendGfx_animator_node().
void animator_make_mirrorZ | ( | Matrix4f | mtx | ) |
Definition at line 98 of file animator.c.
Referenced by animator_update_model_transforms().
void animator_make_mirrorY | ( | Matrix4f | mtx | ) |
Definition at line 106 of file animator.c.
Referenced by animator_update_model_transforms().
void animator_make_mirrorX | ( | Matrix4f | mtx | ) |
Definition at line 114 of file animator.c.
Referenced by animator_update_model_transforms().
void animator_make_identity | ( | Matrix4f | mtx | ) |
Definition at line 122 of file animator.c.
Referenced by animator_update_model_transforms().
AnimatorNode * get_animator_child_with_id_helper | ( | AnimatorNode * | node, |
s32 | id ) |
Definition at line 130 of file animator.c.
Referenced by get_animator_child_with_id(), and get_animator_child_with_id_helper().
AnimatorNode * get_animator_child_with_id | ( | ModelAnimator * | animator, |
s32 | id ) |
Definition at line 149 of file animator.c.
Referenced by add_anim_node(), get_animator_node_for_tree_index(), step_mesh_animator(), and step_model_animator().
AnimatorNode * get_animator_child_for_model | ( | AnimatorNode * | node, |
s32 | modelId ) |
Definition at line 175 of file animator.c.
Referenced by get_animator_child_for_model(), and get_animator_node_with_id().
void free_animator_nodes_helper | ( | AnimatorNode * | node | ) |
Definition at line 196 of file animator.c.
Referenced by free_animator_nodes(), and free_animator_nodes_helper().
void free_animator_nodes | ( | ModelAnimator * | animator | ) |
Definition at line 207 of file animator.c.
void clear_animator_list | ( | void | ) |
Definition at line 222 of file animator.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_init_logos(), state_init_title_screen(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), state_step_startup(), and state_step_title_screen().
void reset_animator_list | ( | void | ) |
Definition at line 252 of file animator.c.
Referenced by state_step_end_battle(), and state_step_unpause().
void delete_model_animator_node | ( | AnimatorNode * | node | ) |
Definition at line 269 of file animator.c.
Referenced by delete_model_animator(), delete_model_animator_node(), and delete_model_animator_nodes().
void delete_model_animator_nodes | ( | ModelAnimator * | animator | ) |
Definition at line 284 of file animator.c.
Referenced by reload_mesh_animator_tree().
void delete_model_animator | ( | ModelAnimator * | animator | ) |
Definition at line 297 of file animator.c.
Referenced by delete_entity(), and delete_entity_and_unload_data().
s32 create_model_animator | ( | s16 * | animPos | ) |
Definition at line 318 of file animator.c.
Referenced by create_shadow_from_data(), and load_split_entity_data().
s32 create_mesh_animator | ( | s16 * | animPos, |
s16 * | animBuffer ) |
Definition at line 366 of file animator.c.
Referenced by load_split_entity_data().
AnimatorNode * add_anim_node | ( | ModelAnimator * | animator, |
s32 | parentNodeID, | ||
AnimatorNodeBlueprint * | nodeBP ) |
Definition at line 410 of file animator.c.
Referenced by load_model_animator_node(), and reload_mesh_animator_node().
void update_model_animator | ( | s32 | animatorID | ) |
Definition at line 482 of file animator.c.
Referenced by load_split_entity_data(), play_model_animation_starting_from(), update_entities(), and update_shadows().
void update_model_animator_with_transform | ( | s32 | animatorID, |
Mtx * | mtx ) |
Definition at line 546 of file animator.c.
Referenced by update_animated_models().
s32 step_model_animator | ( | ModelAnimator * | animator | ) |
Definition at line 610 of file animator.c.
Referenced by update_model_animator(), and update_model_animator_with_transform().
void animator_update_model_transforms | ( | ModelAnimator * | animator, |
Mtx * | rootTransform ) |
Definition at line 710 of file animator.c.
Referenced by update_model_animator(), and update_model_animator_with_transform().
void animator_node_update_model_transform | ( | ModelAnimator * | animator, |
f32(*) | flipMtx[4], | ||
AnimatorNode * | node, | ||
Mtx * | rootTransform ) |
Definition at line 732 of file animator.c.
Referenced by animator_node_update_model_transform(), and animator_update_model_transforms().
void render_animated_model | ( | s32 | animatorID, |
Mtx * | rootTransform ) |
Definition at line 765 of file animator.c.
Referenced by render_animated_models(), render_entities(), and render_shadows().
void render_animated_model_with_vertices | ( | s32 | animatorID, |
Mtx * | rootTransform, | ||
s32 | segment, | ||
void * | baseAddr ) |
Definition at line 795 of file animator.c.
Referenced by render_entities(), and render_shadows().
void appendGfx_animator | ( | ModelAnimator * | animator | ) |
Definition at line 826 of file animator.c.
Referenced by render_animated_model(), and render_animated_model_with_vertices().
AnimatorNode * get_animator_node_for_tree_index | ( | ModelAnimator * | animator, |
s32 | arg1 ) |
Definition at line 1024 of file animator.c.
AnimatorNode * get_animator_node_with_id | ( | ModelAnimator * | animator, |
s32 | id ) |
Definition at line 1028 of file animator.c.
void set_animator_tree_to_node_map | ( | ModelAnimator * | animator, |
s32 * | nodeIDs, | ||
s32 | count ) |
Definition at line 1032 of file animator.c.
Referenced by load_model_animator_tree(), and reload_mesh_animator_tree().
ModelAnimator * get_animator_by_index | ( | s32 | animModelID | ) |
Definition at line 1041 of file animator.c.
Referenced by delete_entity(), delete_entity_and_unload_data(), entity_ItemlessBlock_init(), and entity_PinkFlower_init().
ModelAnimator * set_animator_render_callback | ( | s32 | animModelID, |
void * | callbackArg, | ||
void(*)(void *) | callbackFunc ) |
Definition at line 1045 of file animator.c.
Referenced by render_entities().
void enable_anim_model_fog | ( | void | ) |
Definition at line 1053 of file animator.c.
void disable_anim_model_fog | ( | void | ) |
Definition at line 1057 of file animator.c.
void set_anim_model_fog_dist | ( | s32 | start, |
s32 | end ) |
Definition at line 1061 of file animator.c.
void set_anim_model_fog_color | ( | s32 | r, |
s32 | g, | ||
s32 | b, | ||
s32 | a ) |
Definition at line 1066 of file animator.c.
s32 is_anim_model_fog_enabled | ( | void | ) |
Definition at line 1073 of file animator.c.
void get_anim_model_fog_distance | ( | s32 * | start, |
s32 * | end ) |
Definition at line 1077 of file animator.c.
void get_anim_model_fog_color | ( | s32 * | r, |
s32 * | g, | ||
s32 * | b, | ||
s32 * | a ) |
Definition at line 1082 of file animator.c.
void set_animator_flags | ( | s32 | index, |
s32 | bits ) |
Definition at line 1089 of file animator.c.
void clear_animator_flags | ( | s32 | index, |
s32 | bits ) |
Definition at line 1095 of file animator.c.
void play_model_animation | ( | s32 | index, |
s16 * | animPos ) |
Definition at line 1101 of file animator.c.
Referenced by entity_BellbellPlant_idle(), entity_CymbalPlant_idle(), entity_HitItemBlock_play_anim(), entity_PinkFlower_idle(), entity_ScriptSpring_idle(), entity_SimpleSpring_idle(), entity_TrumpetPlant_idle(), and func_802BC0B8_E2E9E8().
void play_model_animation_starting_from | ( | s32 | index, |
s16 * | animPos, | ||
s32 | framesToSkip ) |
Definition at line 1113 of file animator.c.
void load_model_animator_node | ( | StaticAnimatorNode * | node, |
ModelAnimator * | animator, | ||
s32 | parentNodeID, | ||
s32 * | treeIndexToNodeIDs ) |
Definition at line 1132 of file animator.c.
Referenced by load_model_animator_node(), and load_model_animator_tree().
void load_model_animator_tree | ( | s32 | index, |
StaticAnimatorNode ** | tree ) |
Definition at line 1171 of file animator.c.
Referenced by create_shadow_from_data(), load_mesh_animator_tree(), and load_split_entity_data().
void load_mesh_animator_node | ( | StaticAnimatorNode * | node, |
ModelAnimator * | animator, | ||
s32 | parentNodeID, | ||
s32 * | treeIndexToNodeIDs ) |
Definition at line 1184 of file animator.c.
Referenced by load_mesh_animator_node(), and load_mesh_animator_tree().
void load_mesh_animator_tree | ( | s32 | index, |
StaticAnimatorNode ** | tree ) |
Definition at line 1198 of file animator.c.
Referenced by load_split_entity_data().
void reload_mesh_animator_node | ( | StaticAnimatorNode * | node, |
ModelAnimator * | animator, | ||
s32 | parentNodeID, | ||
s32 * | treeIndexToNodeIDs ) |
Definition at line 1226 of file animator.c.
Referenced by reload_mesh_animator_node(), and reload_mesh_animator_tree().
void reload_mesh_animator_tree | ( | ModelAnimator * | animator | ) |
Definition at line 1258 of file animator.c.
Referenced by step_mesh_animator(), update_model_animator(), and update_model_animator_with_transform().
s32 step_mesh_animator | ( | ModelAnimator * | animator | ) |
Definition at line 1274 of file animator.c.
Referenced by update_model_animator(), and update_model_animator_with_transform().
s32 gAnimCount |
Definition at line 12 of file animator.c.
Referenced by clear_animator_list(), create_mesh_animator(), create_model_animator(), delete_model_animator(), and reset_animator_list().
BSS AnimatedMeshVertexCopyList D_801533C0 |
Definition at line 14 of file animator.c.
Referenced by animator_copy_vertices_to_buffer(), clear_animator_list(), update_model_animator(), and update_model_animator_with_transform().
BSS AnimatedMeshVertexCopyList D_801536C0 |
Definition at line 15 of file animator.c.
Referenced by appendGfx_animator_node(), clear_animator_list(), update_model_animator(), and update_model_animator_with_transform().
BSS AnimatedMeshList D_801539C0 |
Definition at line 16 of file animator.c.
Referenced by clear_animator_list(), and reset_animator_list().
BSS AnimatedMeshList D_80153A00 |
Definition at line 17 of file animator.c.
Referenced by clear_animator_list(), and reset_animator_list().
BSS AnimatedMeshList* gCurrentAnimMeshListPtr |
Definition at line 18 of file animator.c.
Referenced by clear_animator_list(), create_mesh_animator(), create_model_animator(), delete_model_animator(), get_animator_by_index(), and reset_animator_list().
BSS s32 gAnimModelFogEnabled |
Definition at line 19 of file animator.c.
Referenced by appendGfx_animator(), appendGfx_animator_node(), clear_animator_list(), disable_anim_model_fog(), enable_anim_model_fog(), is_anim_model_fog_enabled(), and reset_animator_list().
BSS s32 gAnimModelFogR |
Definition at line 20 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_color(), reset_animator_list(), and set_anim_model_fog_color().
BSS s32 gAnimModelFogG |
Definition at line 21 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_color(), reset_animator_list(), and set_anim_model_fog_color().
BSS s32 gAnimModelFogB |
Definition at line 22 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_color(), reset_animator_list(), and set_anim_model_fog_color().
BSS s32 gAnimModelFogA |
Definition at line 23 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_color(), reset_animator_list(), and set_anim_model_fog_color().
BSS s32 gAnimModelFogStart |
Definition at line 24 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_distance(), reset_animator_list(), and set_anim_model_fog_dist().
BSS s32 gAnimModelFogEnd |
Definition at line 25 of file animator.c.
Referenced by appendGfx_animator(), clear_animator_list(), get_anim_model_fog_distance(), reset_animator_list(), and set_anim_model_fog_dist().
BSS s32 gAnimVtxSegment |
Definition at line 26 of file animator.c.
Referenced by appendGfx_animator(), and render_animated_model_with_vertices().
Definition at line 27 of file animator.c.
Referenced by animator_node_update_model_transform().
Definition at line 28 of file animator.c.
Referenced by animator_node_update_model_transform().
Definition at line 29 of file animator.c.
Referenced by animator_node_update_model_transform().
Definition at line 30 of file animator.c.
Referenced by animator_node_update_model_transform().
BSS StaticAnimatorNode** gAnimTreeRoot |
Definition at line 31 of file animator.c.
Referenced by load_mesh_animator_tree(), load_model_animator_node(), load_model_animator_tree(), reload_mesh_animator_node(), and reload_mesh_animator_tree().
|
extern |
Definition at line 643 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 654 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 665 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 676 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 686 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 696 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 706 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1067 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1077 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1087 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1097 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1107 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1117 of file model.c.
Referenced by appendGfx_animator().
|
extern |
Definition at line 1127 of file model.c.
Referenced by appendGfx_animator().
AnimScript gAnimScriptDefault |
Definition at line 48 of file animator.c.
Referenced by create_model_animator().