Instance List

From Burnout Wiki

Instance lists are lists of models with their location in the world. It is the one of the top-level resource types used for track unit loading.

Structures[edit | edit source]

CgsGraphics::InstanceList[edit | edit source]

32-bit[edit | edit source]

Offset Size Type Name Description Comments
0x0 0x4 Instance* mpaInstances
0x4 0x4 uint32_t muArraySize Num total Instance entries
0x8 0x4 uint32_t muNumInstances Num complete Instance entries From 0, the Instances with valid Transform fields.
0xC 0x4 uint32_t muVersionNumber Always 1

64-bit[edit | edit source]

Offset Size Type Name Description Comments
0x0 0x8 Instance* mpaInstances
0x8 0x4 uint32_t muArraySize Num total Instance entries
0xC 0x4 uint32_t muNumInstances Num complete Instance entries From 0, the Instances with valid Transform fields.
0x10 0x4 uint32_t muVersionNumber Always 1

CgsGraphics::Instance[edit | edit source]

32-bit[edit | edit source]

Offset Size Type Name Description Comments
0x0 0x4 Model* mpModel
0x4 0x2 int16_t mi16BackdropZoneID
0x6 0x2 uint16_t mu16Pad padding
0x8 0x4 uint32_t mu32Pad padding
0xC 0x4 float32_t mfMaxVisibleDistanceSquared Unused?
0x10 0x40 Matrix44Affine mTransform

64-bit[edit | edit source]

Offset Size Type Name Description Comments
0x0 0x8 Model* mpModel
0x8 0x2 int16_t mi16BackdropZoneID
0xA 0x2 uint16_t mu16Pad padding
0xC 0x4 uint32_t mu32Pad padding
0x10 0x4 float32_t mfMaxVisibleDistanceSquared Unused?
0x14 0xC padding
0x20 0x40 Matrix44Affine mTransform