Objects Info Format: Difference between revisions
From Populous Wiki
Created page with "Object data is split into 54 bytes each block contains these parameters. UInt16 flags Int16 NumFaces Int16 NumPoints SByte BucketOffSet SByte SeqNum Int32 EditorScale Int32 ..." |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
All numbers are stored in big-endian format! | |||
Object data is split into 54 bytes each block contains these parameters. | Object data is split into 54 bytes each block contains these parameters. | ||
UInt16 | === Block Format === | ||
Int16 NumFaces | UInt16 Flags | ||
Int16 NumPoints | Int16 NumFaces | ||
SByte BucketOffSet | Int16 NumPoints | ||
SByte SeqNum | SByte BucketOffSet | ||
Int32 EditorScale | SByte SeqNum | ||
Int32 StartFace | Int32 EditorScale | ||
UInt32 EndFace | Int32 StartFace | ||
UInt32 StartPoint | UInt32 EndFace | ||
UInt32 EndPoint | UInt32 StartPoint | ||
Int16 ScaledMinsX | UInt32 EndPoint | ||
Int16 ScaledMinsY | Int16 ScaledMinsX | ||
Int16 ScaledMinsZ | Int16 ScaledMinsY | ||
Int16 ScaledMaxsX | Int16 ScaledMinsZ | ||
Int16 ScaledMaxsY | Int16 ScaledMaxsX | ||
Int16 ScaledMaxsZ | Int16 ScaledMaxsY | ||
SByte ShapeIdx1 | Int16 ScaledMaxsZ | ||
SByte ShapeIdx2 | SByte ShapeIdx1 | ||
SByte ShapeIdx3 | SByte ShapeIdx2 | ||
SByte ShapeIdx4 | SByte ShapeIdx3 | ||
Int16 ScaledOffSetsX | SByte ShapeIdx4 | ||
Int16 ScaledOffSetsY | Int16 ScaledOffSetsX | ||
Int16 ScaledOffSetsZ | Int16 ScaledOffSetsY | ||
Int16 ScaledOffSetsZ | |||
All parameters must be read in this exact order | |||
Latest revision as of 21:45, 7 October 2014
All numbers are stored in big-endian format!
Object data is split into 54 bytes each block contains these parameters.
Block Format
UInt16 Flags
Int16 NumFaces
Int16 NumPoints
SByte BucketOffSet
SByte SeqNum
Int32 EditorScale
Int32 StartFace
UInt32 EndFace
UInt32 StartPoint
UInt32 EndPoint
Int16 ScaledMinsX
Int16 ScaledMinsY
Int16 ScaledMinsZ
Int16 ScaledMaxsX
Int16 ScaledMaxsY
Int16 ScaledMaxsZ
SByte ShapeIdx1
SByte ShapeIdx2
SByte ShapeIdx3
SByte ShapeIdx4
Int16 ScaledOffSetsX
Int16 ScaledOffSetsY
Int16 ScaledOffSetsZ
All parameters must be read in this exact order