2#ifndef PCDOGS_ANIMATION_TYPES_H
3#define PCDOGS_ANIMATION_TYPES_H
119_Static_assert(
sizeof(
struct Animation_Data) == 28,
"Animation_Data size");
502_Static_assert(
sizeof(
struct Mesh_CmdList) == 8,
"Mesh_CmdList size");
519_Static_assert(
sizeof(
struct Mesh_Command) == 16,
"Mesh_Command size");
535_Static_assert(
sizeof(
struct Mesh_MaterialRef) == 24,
"Mesh_MaterialRef size");
565_Static_assert(
sizeof(
struct Mesh_Node) == 32,
"Mesh_Node size");
606_Static_assert(
sizeof(
struct Mesh_Polygon) == 24,
"Mesh_Polygon size");
608_Static_assert(
sizeof(((
struct Mesh_Polygon *)0)->flags_high) == 1,
"Mesh_Polygon high flags byte width");
663_Static_assert(
sizeof(
struct Mesh_Vertex) == 12,
"Mesh_Vertex size");
692_Static_assert(
sizeof(
struct Mesh_VertexUV) == 4,
"Mesh_VertexUV size");
775_Static_assert(
sizeof(((
struct Animation_DataBlock *)0)->channel_counts) == 6,
"Animation_DataBlock channel count width");
968_Static_assert(
sizeof(
struct Mesh_FaceNormal) == 12,
"Mesh_FaceNormal size");
1018_Static_assert(
sizeof(
struct Mesh_NodeExtended) == 220,
"Mesh_NodeExtended size");
1020#pragma pack(push, 4)
1061_Static_assert(
sizeof(
struct Mesh_NodeFull) == 168,
"Mesh_NodeFull size");
1063#pragma pack(push, 4)
1077_Static_assert(
sizeof(
struct Mesh_Object) == 24,
"Mesh_Object size");
1079#pragma pack(push, 1)
1090_Static_assert(
sizeof(
struct Mesh_PolygonPlane) == 20,
"Mesh_PolygonPlane size");
1092#pragma pack(push, 4)
1107#pragma pack(push, 1)
1135#pragma pack(push, 4)
1147#pragma pack(push, 1)
1158#pragma pack(push, 4)
1172#pragma pack(push, 4)
1185#pragma pack(push, 4)
1198#pragma pack(push, 4)
1208#pragma pack(push, 4)
1219#pragma pack(push, 1)
uint16_t Animation_SplineChannelFlags
uint32_t Animation_PackedControllerState
uint8_t Mesh_CommandFlags
uint8_t Animation_DataBlockFixupFlags
struct Animation_FrameHeader * frame_data_ptr
struct Animation_DataBlock * animation_data_ptr
uint16_t interpolation_flag
uint32_t interpolation_mode
Animation_PackedControllerState packed_controller_state
enum Mesh_CommandType type
struct Animation_SplineChannel * param_data_ptr
struct Animation_DataBlock * animation_data_ptr
struct Animation_FrameHeader * frame_sequence_ptr
struct Animation_ControllerSlot ** controller_slot_array
uint8_t active_controller_count
struct Animation_DataBlock * anim_data_ptr
struct Animation_FrameHeader * frame_sequence_ptr
void * controller_payload_ptr
uint32_t blob_relative_nested_channels_offset
char position_channel_count
uint32_t blob_relative_rotation_channels_offset
uint32_t blob_relative_position_channels_offset
uint32_t blob_relative_visibility_channels_offset
Animation_DataBlockFixupFlags fixup_flags
char rotation_channel_count
uint32_t blob_relative_color_channels_offset
struct Math_RangeI16 frame_range
char nested_channel_count
uint32_t blob_relative_scale_channels_offset
char visibility_channel_count
Animation_DataBlockFixupFlags fixup_flags
struct Animation_SplineChannelVec3 * scale_channels
char num_position_channels
char num_rotation_channels
struct Animation_SplineChannelVec3 * position_channels
struct Animation_SplineChannelScalar * scalar_channels
char num_visibility_channels
struct Animation_SplineChannelMorph * morph_channels
struct Animation_SplineChannelVis * visibility_channels
struct Math_RangeI16 keyframe_range
struct Animation_SplineChannelQuat * rotation_channels
uint32_t keyframe_data[0x6]
int32_t start_curve_coefficient_q12
int32_t end_curve_coefficient_q12
int16_t start_curve_end_q12
int16_t end_curve_start_q12
uint8_t morph_keyframe_count
uint8_t __pointer_audit_pad_0[0x3]
uint8_t frame_extra_data[0xa]
struct Animation_FrameVertex::@311120214253062041274205007045313305221045115020::@125226036063040207110103344344057165001114352331::@262040241030104153031226016256062266243312142350 pos
uint32_t position_z_padding
uint32_t ease_record_index
uint32_t curve_shape_parameter
int16_t morph_target_index
uint32_t normal_z_padding
struct Math_Vec3I16 normal
struct Animation_MorphTargetVertex::@201261164316150365332005325104317215313175057013 delta
struct Animation_MorphVertex::@226101234276230263205145326130062362065166232117 normal
struct Animation_MorphVertex::@266160310100156245230365364346170323334247130361 delta
uint32_t blob_relative_channel_data_offset
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
struct Math_Vec3I32 position
struct Math_Vec3I32 tangent_out
struct Math_Vec3I32 tangent_in
struct Animation_KeyframeTimingPackedView timing
struct Math_QuaternionI16 tangent_out
union Animation_KeyframeTiming timing
struct Math_QuaternionI16 tangent_in
struct Math_QuaternionI16 rotation
union Animation_KeyframeTiming timing
int32_t packed_timing_or_direct_target_index
struct Animation_SplineChannelScalar * nested_scalar_channels_or_minus_one_sentinel
Animation_SplineChannelFlags channel_flags
uint8_t nested_scalar_channel_count
uint8_t * channel_data_minus_one_sentinel
struct Math_QuaternionI16 value_q14
struct Animation_RotationKeyframe * keyframes_or_minus_one_sentinel
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
Animation_SplineChannelFlags channel_flags
int32_t packed_time_bias_and_end_time
uint32_t blob_relative_channel_data_offset_or_minus_one_sentinel
uint8_t * channel_data_minus_one_sentinel
struct Animation_ScalarKeyframe * keyframes_or_minus_one_sentinel
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
struct Math_Vec3I16 value_q12
uint8_t * channel_data_minus_one_sentinel
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
struct Animation_Vec3Keyframe * keyframes_or_minus_one_sentinel
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
struct Animation_VisibilityKeyframe * keyframes_or_minus_one_sentinel
uint8_t * channel_data_minus_one_sentinel
uint8_t * channel_data_or_minus_one_sentinel
uint8_t keyframe_or_nested_channel_count
int32_t packed_time_bias_and_end_time
Animation_SplineChannelFlags channel_flags
struct Animation_DataBlock * anim_ptrs[0x2b]
struct Math_Vec3I32 value
struct Math_Vec3I32 tangent_out
struct Math_Vec3I32 tangent_in
union Animation_KeyframeTiming timing
struct Animation_VertexColorKeyframe * keyframe_array
struct Animation_VertexColorTarget * target_array
uint32_t playback_limit_q12
enum Mesh_CommandType type
struct Math_ColorRGBI16 delta
int32_t inv_frame_delta_q12
struct Math_ColorRGB8 base_color
uint32_t reserved_or_flags
union Animation_VisibilityTiming timing_and_visibility
int16_t pitch_center_fp12
struct Math_Matrix3x3I16 base_rotation
struct Math_Matrix3x3I16 base_rotation
struct Math_Vec3I32 world_delta
struct Mesh_AccumulatedNormal * normal_accumulators
struct Mesh_RuntimeVertex * runtime_vertices
uint8_t behavior_flags_low
struct Graphics_Render_PolygonRenderRef * polygon_refs
uint8_t reserved_00[0x64]
uint8_t reserved_89[0x27]
uint8_t reserved_78[0x10]
struct Animation_FrameVertex ** skin_frame_tables
struct Math_Vec3I16 local_pos
struct Math_Vec3I16 normal
uint8_t base_command_count
struct Mesh_Command ** cmdPtrs
enum Mesh_CommandType type
struct Math_Vec3I16 normal
uint16_t vertex_indices[0x4]
struct Material_TableEntry * material_table_ptr
struct Mesh_FaceNormal * face_normal
struct Mesh_Node * child_ptr
uint8_t mesh_align_pad[0x3]
struct Pkg_ResourceManager * resource_manager_ref
struct Math_Matrix3x3I16 rot_matrix
struct Math_Vec3I32 world_pos
struct Math_Vec3I16 position
struct Math_Vec3I32 velocity
struct Material_Entry * material_list_ptr
struct Mesh_VertexNormal * normal_source_ptr
int32_t lod_distance_threshold
struct Mesh_Node * parent
struct Mesh_Object * special_mesh_data_ptr
struct Math_Vec3I32 bounding_box_min
int32_t bounding_box_flags
struct Math_Vec3I32 bounding_box_max
struct Math_Vec3I16 rotation
struct Mesh_Node * first_child
struct Mesh_RuntimePolygon * polygon_data_ptr
struct Mesh_RuntimeVertex * vertex_array_ptr
struct Material_Entry * material_entry_array
int32_t vertex_weights_data[0x6]
struct Mesh_Node * sibling_ref
struct Math_Vec3I16 bound_extent
int32_t bounding_box_radius
struct Mesh_Node * linked_list_ptr
struct Mesh_Node * parent_node_ptr
struct Mesh_RuntimeVertex * scene_vertex_data
struct Animation_MorphTargetVertex ** morph_target_array_ptr
struct Material_GlobalRef * global_material_ptr
struct Mesh_Node * parent_ref
struct Mesh_Node * next_sibling
struct Math_Vec3I32 world_pos
struct Mesh_Node * parent
int32_t group_reserved_a0
struct Math_Vec3I32 velocity
struct Math_Vec3I16 bound_extent
struct Mesh_VertexNormal * normal_data
struct Math_Matrix3x3I16 rot_matrix
struct Math_Vec3I16 rotation
struct Animation_DataBlock * animation_data
void * group_linked_list_a
struct Math_Vec3I16 position
struct Mesh_Node * sibling_ref
struct Mesh_Node * parent_ref
struct Material_Entry * material_array
uint8_t controller_slots[0x4]
struct Mesh_Node * next_sibling
struct Mesh_Node * first_child
struct Mesh_NodeFull * uv_array_ptr
void * group_linked_list_b
struct Mesh_Node * next_sibling
struct Mesh_Node::@162027015351350223026046144247174205210263151203 rotation
struct Mesh_Node * first_child
struct Mesh_Node::@161103173222340167134302102052303216213374041111 position
struct Mesh_Node * parent
struct Math_RangeI16 frame_range
void * morph_target_table
struct Math_RangeI16 anim_frame_range
struct Math_Vec3I16 normal
uint8_t render_entry_count
void * relocated_tail_ptr
uint8_t render_entry_flags
struct Material_RefEntry material_descriptor
uint32_t position_z_normal_group
int16_t normal_group_index
struct Math_ColorRGB8 color
struct Mesh_TransformEntry::@050170244345153054055133212045232143132317121155 scale
struct Math_Vec3F normal_2
struct Mesh_VertexColorRGB::@055015013255253144023142051336203330200211125034 color
struct Math_Vec3I16 normal
struct Mesh_VertexUV::@270071072027111254240103133237165204144015322145 uv
struct Mesh_Vertex::@074140354213053313370264365171330230326051322037 pos
struct Mesh_WorkingVertex::@252216274054156003351003233343377266036112371111 uv
struct Mesh_WorkingVertex::@223024321064060056202251172073067340364047331023 pos
struct Mesh_WorkingVertex::@167106262067337100014220053212312266024327050250 normal
struct Animation_KeyframeTimingPackedView fields
struct Animation_VisibilityKeyframePackedView fields
struct Bone_JointTrackingDeltaView target
struct Math_Matrix3x3I16 rotation
uint32_t target_indices[0xa]
struct Animation_FrameVertex * tables[0xa]