====== .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 ===== ^Field^Data Type^Width (in bytes)^Description^Versions^ |numPersistantObjects|Signed 32-bit integer|4 | |>=69| |persistantObjects[]|PersistantObject[numPersistantObjects]| (24 * numPersistantObjects) bytes | |>=69| ===== Structures Used ===== ==== PersistantObject structure ==== ^Field^Data Type^Width (in bytes)^Description^Versions^ |x|single-precision 32-bit floating point|4 | |>=69| |y|single-precision 32-bit floating point|4 | |>=69| |unionData|PackedVUID| 12 | |>=69| |visType|Signed 16-bit integer| 2 | |>=69| |flags|Signed 16-bit integer| 2 | |>=69| ==== PackedVUID structure ==== ^Field^Data Type^Width (in bytes)^Description^Versions^ |creator|unsigned 32-bit integer|4 | |>=69| |num|unsigned 32-bit integer|4 | |>=69| |index|byte|1 | |>=69| |padding[]|byte[3]|3 | necessary so that data aligns on an Int32 boundary |>=69|