User Tools

Site Tools


falcon4:file_formats:cam_trn_tac:pst_file

.PST file

The .PST file holds objects that are not static, but that come and go, and might last across sessions. This includes things such as runway craters and similar. Each object has an X and Y coordinate, a type of visible object, a bitmask of flags, and then (dependent on the flags) either:

A time stamp, or
An ID.

.PST File Format

FieldData TypeWidth (in bytes)DescriptionVersions
numPersistantObjectsSigned 32-bit integer4 >=69
persistantObjects[]PersistantObject[numPersistantObjects] (24 * numPersistantObjects) bytes >=69

Structures Used

PersistantObject structure

FieldData TypeWidth (in bytes)DescriptionVersions
xsingle-precision 32-bit floating point4 >=69
ysingle-precision 32-bit floating point4 >=69
unionDataPackedVUID 12 >=69
visTypeSigned 16-bit integer 2 >=69
flagsSigned 16-bit integer 2 >=69

PackedVUID structure

FieldData TypeWidth (in bytes)DescriptionVersions
creatorunsigned 32-bit integer4 >=69
numunsigned 32-bit integer4 >=69
indexbyte1 >=69
padding[]byte[3]3 necessary so that data aligns on an Int32 boundary >=69
falcon4/file_formats/cam_trn_tac/pst_file.txt · Last modified: 2009-02-15 07:35 (external edit)