Actions

Object Faces Format: Difference between revisions

From Populous Wiki

(Created page with " Int16 CurrNormalIdx Int16 TextureIdx UInt16 Flags Byte NumPoints SByte PolyDrawMode Single X1 Single X2 Single X3 Single X4 S...")
 
No edit summary
Line 1: Line 1:
Object data is split into 60 bytes each block contains these parameters.
=== Block Format ===
     Int16 CurrNormalIdx
     Int16 CurrNormalIdx
     Int16 TextureIdx
     Int16 TextureIdx
Line 24: Line 27:
     SByte BucketAdj
     SByte BucketAdj
     Byte BldgConstructFlags
     Byte BldgConstructFlags
All parameters must be read in this exact order

Revision as of 13:44, 8 October 2014

Object data is split into 60 bytes each block contains these parameters.

Block Format

    Int16	CurrNormalIdx
    Int16	TextureIdx
    UInt16	Flags
    Byte	NumPoints
    SByte	PolyDrawMode
    Single	X1
    Single	X2
    Single	X3
    Single	X4
    Single	Y1
    Single	Y2
    Single	Y3
    Single	Y4
    SByte	PointOffsets1
    SByte	PointOffsets2
    SByte	PointOffsets3
    SByte	PointOffsets4
    Byte	BaseNormalIdxs1
    Byte	BaseNormalIdxs2
    Byte	BaseNormalIdxs3
    Byte	BaseNormalIdxs4
    Byte	UVCursorInfo
    Byte	General	
    SByte	BucketAdj
    Byte	BldgConstructFlags

All parameters must be read in this exact order