Burnout 2 Race Car: Difference between revisions

→‎Header: Fill out some more offsets
mNo edit summary
(→‎Header: Fill out some more offsets)
Line 16:
 
= Header =
=== Version 0x0B (WIP) ===
{|class="wikitable"
!Offset
Line 23 ⟶ 24:
!Notes
|-
| 0x00 || Version code || UInt32uint32_t || <tt>0xB2CA000B</tt> || This value is <tt>0xB2CA2001</tt> for Xbox race car files, and <tt> 0xB2CA2003</tt> for GameCube ones.
|-
| 0x080x04 || FileLoaded size in bytesstate || UInt32uint32_t || 0x00 ||
|-
| 0x08 || File size in bytes || uint8_t || ||
|-
| 0x0C || Object radius || float || ||
|-
| 0x10 || Wheel radii || float[4] || ||
|-
| 0x28 || Main object count || int32_t || ||
|-
| 0x2C || Shadow object count || int32_t || ||
|-
| 0x30 || Wheel object count || int32_t || ||
|-
| 0x34 || Shadow wheel object count || int32_t || ||
|-
| 0x38 || Main objects offset || Vehicle Object* || ||
|-
| 0x88 || Pointer to chassis texture || Texture* || ||
|-
| 0x8C || Glass opacity || float || ||
|-
| 0xCD8 || Pointer to speedometer texture || Texture* || ||