Wheel Graphics: Difference between revisions

Content added Content deleted
m (Table normalization)
(Conform to format documentation guidelines.)
Line 1: Line 1:
The Wheel Graphics resource is a simple asset meant to import Model resources for a wheel.
The Wheel Graphics resource is a simple asset meant to import Model resources for a wheel.


= Layout =
= Structures =
== GraphicsSpec (32-bit) ==
=== BrnWheel::GraphicsSpec ===
==== 32-bit ====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 9: Line 10:
| 0x0 || 0x4 || uint32_t || muVersion || || 1
| 0x0 || 0x4 || uint32_t || muVersion || || 1
|-
|-
| 0x4 || 0x4 || Model* || mpWheelModel || Imports index ||
| 0x4 || 0x4 || [[Model (Burnout Paradise) | Model]]* || mpWheelModel || Imports index ||
|-
|-
| 0x8 || 0x4 || Model* || mpCaliperModel || Imports index || Optional. -1 if not present
| 0x8 || 0x4 || [[Model (Burnout Paradise) | Model]]* || mpCaliperModel || Imports index || Optional. -1 if not present
|}
|}


== GraphicsSpec (64-bit) ==
==== 64-bit ====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 23: Line 24:
| 0x4 || 0x4 || || || padding ||
| 0x4 || 0x4 || || || padding ||
|-
|-
| 0x8 || 0x8 || Model* || mpWheelModel || Imports index ||
| 0x8 || 0x8 || [[Model (Burnout Paradise) | Model]]* || mpWheelModel || Imports index ||
|-
|-
| 0x10 || 0x8 || Model* || mpCaliperModel || Imports index || Optional. -1 if not present
| 0x10 || 0x8 || [[Model (Burnout Paradise) | Model]]* || mpCaliperModel || Imports index || Optional. -1 if not present
|}
|}