102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
functions.h File Reference

Go to the source code of this file.

Functions

void Animation_InterpolateKeyframeVec3Blend (uint32_t frame_time, int32_t blend_weight_q12, struct Animation_SplineChannelVec3 *vec3_track, struct Math_Vec3I32 *inout_vec3)
void Animation_InterpolateVec3 (uint32_t frame_time, struct Animation_SplineChannelVec3 *vec3_track, struct Math_Vec3I32 *out_vec3)
int32_t Animation_CalculateSplineParameter (uint32_t sample_time, uint32_t next_key_time, uint32_t prev_key_packed, uint8_t next_ease_index, uint8_t *keyframe_data)
void Animation_InterpolateKeyframeQuatBlend (uint32_t frame_time, int32_t blend_weight_q14, struct Animation_SplineChannelQuat *quat_track, struct Math_QuaternionI16 *inout_quat)
void Animation_InterpolateQuat (uint32_t frame_time, struct Animation_SplineChannelQuat *quat_track, struct Math_QuaternionI16 *out_quat)
void Animation_InterpolateQuaternionSlerp (struct Math_QuaternionI16 *out_quat, struct Math_QuaternionI16 *from_quat, struct Math_QuaternionI16 *to_quat, int32_t blend_weight_q14, int32_t angle_fp12, int32_t spin_phase)
void Animation_ConvertQuatToRotMatrix (uint32_t frame_time, struct Animation_SplineChannelQuat *quat_track, struct Math_Matrix3x3I16 *out_matrix)
uint8_t Animation_CheckKeyframeActive (uint32_t sample_time, struct Animation_SplineChannelVis *channel)
void Animation_InterpolateSpline (uint32_t sample_time, struct Animation_SplineChannelScalar *channel, int16_t *out_value)
void Bone_TransformVerticesMorphed (uint32_t sample_time, struct Animation_SplineChannelMorph *morph_channels, struct Actor_State *actor)
void Bone_TransformVerticesWeighted (uint32_t sample_time, struct Animation_SplineChannelMorph *bone_channels, struct Bone_SkinningOwnerView *actor, struct Submesh_Entry *mesh_piece)
void Bone_ComputeNormalsPostTransform (struct Bone_SkinningOwnerView *actor, struct Submesh_Entry *mesh_piece)
void Bone_InitVertexBufferFromSkin (struct Bone_SkinningOwnerView *actor, struct Mesh_RuntimeVertex *dst_vertices, struct Animation_FrameVertex *skin_vertices, int32_t vertex_count)
void Bone_BlendVerticesMultiWeight (struct Submesh_Entry *mesh_piece, struct Bone_SkinningOwnerView *actor, struct Animation_FrameVertex **skin_tables, int32_t *weights)
void Animation_QueueStateChange (int32_t anim_state)
void Model_AdvanceAnimation (struct Actor_State *actor)
void Bone_UpdateJointTracking (struct Bone_JointTrackState *track, struct Actor_State *target_actor, int32_t explicit_reference_joint_index)
bool Animation_ProcessController (struct Material_Node **material_nodes, Animation_PackedControllerState *packed_controller_state_in_out, int32_t frame_count_q12)
void Animation_ProcessVertexColor (struct Animation_VertexColorController *color_controller, struct Mesh_NodeExtended *mesh_node)
void Bone_ProcessExternalRef (struct Scene_Node *node, struct Graphics_Render_SpriteNodeData *sprite_ctx)
void Bone_TransformWeightedVerticesForRender (struct Scene_Node *node, struct Submesh_RenderSpan *weighted_span, struct Math_TransformQ12Q6 const *world_transform)
void Mesh_CalculateVertexNormals (struct Graphics_Render_PolygonRenderRef *polygon_refs, int32_t polygon_count, struct Graphics_Render_SpriteVertexData *transformed_vertices, int32_t vertex_count)
void Model_ResetState (struct Actor_State *actor)

Function Documentation

◆ Animation_CalculateSplineParameter()

int32_t Animation_CalculateSplineParameter ( uint32_t sample_time,
uint32_t next_key_time,
uint32_t prev_key_packed,
uint8_t next_ease_index,
uint8_t * keyframe_data )

Definition at line 121 of file interpolation.c.

◆ Animation_CheckKeyframeActive()

uint8_t Animation_CheckKeyframeActive ( uint32_t sample_time,
struct Animation_SplineChannelVis * channel )

Definition at line 17 of file controller.c.

◆ Animation_ConvertQuatToRotMatrix()

void Animation_ConvertQuatToRotMatrix ( uint32_t frame_time,
struct Animation_SplineChannelQuat * quat_track,
struct Math_Matrix3x3I16 * out_matrix )

Definition at line 262 of file quaternion.c.

◆ Animation_InterpolateKeyframeQuatBlend()

void Animation_InterpolateKeyframeQuatBlend ( uint32_t frame_time,
int32_t blend_weight_q14,
struct Animation_SplineChannelQuat * quat_track,
struct Math_QuaternionI16 * inout_quat )

Definition at line 48 of file quaternion.c.

◆ Animation_InterpolateKeyframeVec3Blend()

void Animation_InterpolateKeyframeVec3Blend ( uint32_t frame_time,
int32_t blend_weight_q12,
struct Animation_SplineChannelVec3 * vec3_track,
struct Math_Vec3I32 * inout_vec3 )

Definition at line 19 of file interpolation.c.

◆ Animation_InterpolateQuat()

void Animation_InterpolateQuat ( uint32_t frame_time,
struct Animation_SplineChannelQuat * quat_track,
struct Math_QuaternionI16 * out_quat )

Definition at line 125 of file quaternion.c.

◆ Animation_InterpolateQuaternionSlerp()

void Animation_InterpolateQuaternionSlerp ( struct Math_QuaternionI16 * out_quat,
struct Math_QuaternionI16 * from_quat,
struct Math_QuaternionI16 * to_quat,
int32_t blend_weight_q14,
int32_t angle_fp12,
int32_t spin_phase )

Definition at line 203 of file quaternion.c.

◆ Animation_InterpolateSpline()

void Animation_InterpolateSpline ( uint32_t sample_time,
struct Animation_SplineChannelScalar * channel,
int16_t * out_value )

Definition at line 158 of file interpolation.c.

◆ Animation_InterpolateVec3()

void Animation_InterpolateVec3 ( uint32_t frame_time,
struct Animation_SplineChannelVec3 * vec3_track,
struct Math_Vec3I32 * out_vec3 )

Definition at line 45 of file interpolation.c.

◆ Animation_ProcessController()

bool Animation_ProcessController ( struct Material_Node ** material_nodes,
Animation_PackedControllerState * packed_controller_state_in_out,
int32_t frame_count_q12 )

Definition at line 133 of file controller.c.

◆ Animation_ProcessVertexColor()

void Animation_ProcessVertexColor ( struct Animation_VertexColorController * color_controller,
struct Mesh_NodeExtended * mesh_node )

Definition at line 231 of file controller.c.

◆ Animation_QueueStateChange()

void Animation_QueueStateChange ( int32_t anim_state)

Definition at line 71 of file controller.c.

◆ Bone_BlendVerticesMultiWeight()

void Bone_BlendVerticesMultiWeight ( struct Submesh_Entry * mesh_piece,
struct Bone_SkinningOwnerView * actor,
struct Animation_FrameVertex ** skin_tables,
int32_t * weights )

Definition at line 201 of file skinning.c.

◆ Bone_ComputeNormalsPostTransform()

void Bone_ComputeNormalsPostTransform ( struct Bone_SkinningOwnerView * actor,
struct Submesh_Entry * mesh_piece )

Definition at line 125 of file normals.c.

◆ Bone_InitVertexBufferFromSkin()

void Bone_InitVertexBufferFromSkin ( struct Bone_SkinningOwnerView * actor,
struct Mesh_RuntimeVertex * dst_vertices,
struct Animation_FrameVertex * skin_vertices,
int32_t vertex_count )

Definition at line 185 of file skinning.c.

◆ Bone_ProcessExternalRef()

void Bone_ProcessExternalRef ( struct Scene_Node * node,
struct Graphics_Render_SpriteNodeData * sprite_ctx )

◆ Bone_TransformVerticesMorphed()

void Bone_TransformVerticesMorphed ( uint32_t sample_time,
struct Animation_SplineChannelMorph * morph_channels,
struct Actor_State * actor )

Definition at line 84 of file skinning.c.

◆ Bone_TransformVerticesWeighted()

void Bone_TransformVerticesWeighted ( uint32_t sample_time,
struct Animation_SplineChannelMorph * bone_channels,
struct Bone_SkinningOwnerView * actor,
struct Submesh_Entry * mesh_piece )

Definition at line 132 of file skinning.c.

◆ Bone_TransformWeightedVerticesForRender()

void Bone_TransformWeightedVerticesForRender ( struct Scene_Node * node,
struct Submesh_RenderSpan * weighted_span,
struct Math_TransformQ12Q6 const * world_transform )

Definition at line 308 of file skinning.c.

◆ Bone_UpdateJointTracking()

void Bone_UpdateJointTracking ( struct Bone_JointTrackState * track,
struct Actor_State * target_actor,
int32_t explicit_reference_joint_index )

Definition at line 72 of file joint_tracking.c.

◆ Mesh_CalculateVertexNormals()

void Mesh_CalculateVertexNormals ( struct Graphics_Render_PolygonRenderRef * polygon_refs,
int32_t polygon_count,
struct Graphics_Render_SpriteVertexData * transformed_vertices,
int32_t vertex_count )

Definition at line 77 of file normals.c.

◆ Model_AdvanceAnimation()

void Model_AdvanceAnimation ( struct Actor_State * actor)

Definition at line 21 of file model.c.

◆ Model_ResetState()

void Model_ResetState ( struct Actor_State * actor)

Definition at line 92 of file model.c.