Prop Instance Data: Difference between revisions
Added infobox and normalized some content.
m (Burninrubber0 moved page PropInstanceData to Prop Instance Data without leaving a redirect) |
(Added infobox and normalized some content.) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1:
{{ParadiseResourceTypeInfobox
| name = PropInstanceData
=== PropZoneData ===▼
| othernames = PropInstances
| resourcenames = PRP_INST_*<br /><sup><small>*Track unit ID</small></sup>
| id = 0x10011
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
}}
= Structures =
▲=== BrnPhysics::Props::PropZoneData ===
==== 32-bit ====
{| class="wikitable"
|-▼
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[#BrnPhysics::Props::PropCellData|PropCellData]]* || maCells || ||
|-
| 0x4 || 0x1 || uint8_t || muNumCells || ||
|-
| 0x5 || 0x3 || || ||
|-
| 0x8 || 0x4 || [[#BrnPhysics::Props::PropInstanceData|PropInstanceData]]* || maInstances || ||
|-
| 0xC || 0x4 || uint32_t || muSizeInBytes || ||
Line 22 ⟶ 30:
| 0x18 || 0x2 || uint16_t || muZoneId || ||
|-
| 0x1A || 0x2 || || ||
|}
==== 64-bit ====
{| class="wikitable"
|-▼
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#BrnPhysics::Props::PropCellData|PropCellData]]* || maCells || ||
|-
| 0x8 || 0x1 || uint8_t || muNumCells || ||
|-
| 0x9 || 0x7 || || ||
|-
| 0x10 || 0x8 || [[#BrnPhysics::Props::PropInstanceData|PropInstanceData]]* || maInstances || ||
|-
| 0x18 || 0x4 || uint32_t || muSizeInBytes || ||
Line 46 ⟶ 53:
| 0x24 || 0x2 || uint16_t || muZoneId || ||
|-
| 0x26 || 0x2 || || ||
|}
=== BrnPhysics::Props::PropCellData ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[#BrnPhysics::Props::PropCellId|PropCellId]] || mId || ||
|-
| 0x4 || 0x2 || uint16_t || muStartIndex || ||
Line 65 ⟶ 71:
|}
=== BrnPhysics::Props::PropCellId ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
Line 75 ⟶ 80:
|}
=== BrnPhysics::Props::PropInstanceData ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x40 || [[
|-
| 0x40 || 0x4 || uint32_t || muTypeIdAndFlags || || Type
|-
| 0x44 || 0x4 || uint32_t || muInstanceID || ||
Line 95 ⟶ 99:
|-
| 0x4D || 0x3 || uint8_t[3] || mau8Padding || ||
==== Prop instance flags ====
Flag 0x10 sets entity instance flags to 1? <!-- What is a "entity instance flag"? Or do we mean 0x40000000 elsewhere sets this to 1? -->
{| class="wikitable"
! Name !! Value !! Comments
▲|-
| KI_PROP_FLAG_DISABLEPHYSICS || 1 ||
|}
|