ANIM (Metroid Prime): Difference between revisions

no edit summary
imported>Jackoalan
No edit summary
imported>Jackoalan
No edit summary
Line 40: Line 40:
|-
|-
|u8
|u8
|header‑>bone_entry_count
|header.bone_entry_count
|bone_entry_map
|bone_entry_map
|The index-positions of this table correspond to the ''Bone IDs'' in the associated [[CINF (Metroid Prime)|CINF]]. The value is 0xff if the bone is not animated by this ANIM or an index relating the ''bone_translation_map'' and ''quaternion_key_array'' below
|The index-positions of this table correspond to the ''Bone IDs'' in the associated [[CINF (Metroid Prime)|CINF]]. The value is 0xff if the bone is not animated by this ANIM or an index relating the ''bone_translation_map'' and ''quaternion_key_array'' below
Line 195: Line 195:
|-
|-
|u32
|u32
|round_up(header‑>key_bitmap_length / 32)
|round_up(header.key_bitmap_length / 32)
|key_bitmap
|key_bitmap
|Word-packed bitmap. Each word is read from least-significant to most-significant bit. A set bit indicates the frame at the bit's position has keys for each bone channel.
|Word-packed bitmap. Each word is read from least-significant to most-significant bit. A set bit indicates the frame at the bit's position has keys for each bone channel.
Line 202: Line 202:
|1
|1
|bone_channel_count
|bone_channel_count
|Count of animated bone channels (matches header‑>bone_channel_count)
|Count of animated bone channels (matches header.bone_channel_count)
|-
|-
|u32
|u32
Line 210: Line 210:
|-
|-
|[[#Bone Channel Descriptor|Bone Channel Descriptor]]
|[[#Bone Channel Descriptor|Bone Channel Descriptor]]
|header‑>bone_channel_count
|header.bone_channel_count
|bone_channel_descriptor_table
|bone_channel_descriptor_table
|Table describing animated bone channels
|Table describing animated bone channels
Anonymous user