Graphics Stub: Difference between revisions

From Burnout Wiki
Content added Content deleted
m (Table normalization)
m (Conform to format documentation guidelines.)
Line 3: Line 3:
Vehicles cannot be used as traffic without a GraphicsStub present. Similarly, the GraphicsStub cannot be used without a Wheel Graphics resource.
Vehicles cannot be used as traffic without a GraphicsStub present. Similarly, the GraphicsStub cannot be used without a Wheel Graphics resource.


= Layout =
= Structures =
=== BrnTraffic::GraphicsStub ===
== 32-bit ==
==== 32-bit ====
{| class="wikitable"
{| class="wikitable"
|-
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x4 || BrnVehicle::GraphicsSpec* || mpVehicleGraphics || Imports index ||
| 0x0 || 0x4 || [[Vehicle Graphics (Burnout Paradise) | BrnVehicle::GraphicsSpec]]* || mpVehicleGraphics || Imports index ||
|-
|-
| 0x4 || 0x4 || BrnWheel::GraphicsSpec* || mpWheelGraphics || Imports index ||
| 0x4 || 0x4 || [[Wheel Graphics (Burnout Paradise) | BrnWheel::GraphicsSpec]]* || mpWheelGraphics || Imports index ||
|}
|}


== 64-bit ==
==== 64-bit ====
{| class="wikitable"
{| class="wikitable"
|-
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x8 || BrnVehicle::GraphicsSpec* || mpVehicleGraphics || Imports index ||
| 0x0 || 0x8 || [[Vehicle Graphics (Burnout Paradise) | BrnVehicle::GraphicsSpec]]* || mpVehicleGraphics || Imports index ||
|-
|-
| 0x8 || 0x8 || BrnWheel::GraphicsSpec* || mpWheelGraphics || Imports index ||
| 0x8 || 0x8 || [[Wheel Graphics (Burnout Paradise) | BrnWheel::GraphicsSpec]]* || mpWheelGraphics || Imports index ||
|}
|}

Revision as of 06:06, 14 August 2022

The GraphicsStub resource type is used exclusively in traffic vehicles in Burnout Paradise. Its purpose is to import a Vehicle Graphics and a Wheel Graphics resource.

Vehicles cannot be used as traffic without a GraphicsStub present. Similarly, the GraphicsStub cannot be used without a Wheel Graphics resource.

Structures

BrnTraffic::GraphicsStub

32-bit

Offset Length Type Name Description Comments
0x0 0x4 BrnVehicle::GraphicsSpec* mpVehicleGraphics Imports index
0x4 0x4 BrnWheel::GraphicsSpec* mpWheelGraphics Imports index

64-bit

Offset Length Type Name Description Comments
0x0 0x8 BrnVehicle::GraphicsSpec* mpVehicleGraphics Imports index
0x8 0x8 BrnWheel::GraphicsSpec* mpWheelGraphics Imports index