CINF (File Format): Difference between revisions

>Aruki
No edit summary
imported>Jackoalan
Line 19: Line 19:
| [[#Bone|Bone]]
| [[#Bone|Bone]]
| ''Bone Count''
| ''Bone Count''
| '''Bone Array'''
| '''Bone Table'''
|  
|  
|-
|-
| u32
| u32
| 1
| 1
| '''Bone ID Count'''
| '''Build Order ID Count'''
|  
|  
|-
|-
| u32
| u32
| ''Bone ID Count''
| ''Build Order ID Count''
| '''Bone ID Array'''
| '''Build Order ID Table'''
| The first element of the ID array is the root bone, followed by the rest of the bone IDs in reverse numerical order.
| The first element of the ID table is the root bone, followed by the rest of the bone IDs in reverse numerical order. This table is enumerated in-order to construct a singly-linked hierarchy of bones using [[wikipedia:Left-child right-sibling binary tree|child/sibling convention]].
|-
|-
| u32
| u32
Line 39: Line 39:
| [[#Bone Name|Bone Name]]
| [[#Bone Name|Bone Name]]
| ''Bone Name Count''
| ''Bone Name Count''
| '''Bone Name Array'''
| '''Bone Name Table'''
|  
|  
|-
|-
Anonymous user