Vehicle Data/Burnout 3: Difference between revisions

Add texture structures (identical to Revenge).
(Updated based on Revenge symbols and normalized information.)
(Add texture structures (identical to Revenge).)
Line 193:
 
=== CGtTexture ===
{{todo|Move this and other texture-related structures to their own page if it doesn't already exist.}}
{{todo|List texture structure.}}
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x34 || [[#RwRaster|RwRaster]] || mRwRaster || ||
|-
| 0x34 || 0x5C || [[#GtSkyRasterExt|GtSkyRasterExt]] || mSkyRasterExt || ||
|-
| 0x90 || 0x38 || [[#GtTextureExt|GtTextureExt]] || mTextureExt || ||
|}
 
=== RwRaster ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || RwRaster* || parent || ||
|-
| 0x4 || 0x4 || RwUInt8* || cpPixels || ||
|-
| 0x8 || 0x4 || RwUInt8* || palette || ||
|-
| 0xC || 0x4 || RwInt32 || width || ||
|-
| 0x10 || 0x4 || RwInt32 || height || ||
|-
| 0x14 || 0x4 || RwInt32 || depth || ||
|-
| 0x18 || 0x4 || RwInt32 || stride || ||
|-
| 0x1C || 0x2 || RwInt16 || nOffsetX || ||
|-
| 0x1E || 0x2 || RwInt16 || nOffsetY || ||
|-
| 0x20 || 0x1 || RwUInt8 || cType || ||
|-
| 0x21 || 0x1 || RwUInt8 || cFlags || ||
|-
| 0x22 || 0x1 || RwUInt8 || privateFlags || ||
|-
| 0x23 || 0x1 || RwUInt8 || cFormat || ||
|-
| 0x24 || 0x4 || RwUInt8* || originalPixels || ||
|-
| 0x28 || 0x4 || RwInt32 || originalWidth || ||
|-
| 0x2C || 0x4 || RwInt32 || originalHeight || ||
|-
| 0x30 || 0x4 || RwInt32 || originalStride || ||
|}
 
=== GtSkyRasterExtTag ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || RwInt32 || dmaRefCount || ||
|-
| 0x4 || 0x4 || RwInt32 || dmaClrCount || ||
|-
| 0x8 || 0x4 || RwUInt32 || lsb || ||
|-
| 0xC || 0x4 || RwUInt32 || msb || ||
|-
| 0x10 || 0x4 || RwUInt32 || palOffset || ||
|-
| 0x14 || 0x2 || RwUInt16 || mipmapKL || ||
|-
| 0x16 || 0x1 || RwUInt8 || maxMipLevel || ||
|-
| 0x17 || 0x1 || RwUInt8 || bLocked || ||
|-
| 0x18 || 0x4 || RwUInt32 || miptbp1Lsb || ||
|-
| 0x1C || 0x4 || RwUInt32 || miptbp1Msb || ||
|-
| 0x20 || 0x4 || RwUInt32 || miptbp2Lsb || ||
|-
| 0x24 || 0x4 || RwUInt32 || miptbp2Msb || ||
|-
| 0x28 || 0x4 || RwUInt32 || sysMemSize || ||
|-
| 0x2C || 0x4 || RwUInt32 || sysMemPalSize || ||
|-
| 0x30 || 0x4 || RwUInt32 || nTexCacheSize || ||
|-
| 0x34 || 0x1 || RwUInt8 || cachePkts || ||
|-
| 0x35 || 0x1 || RwUInt8 || lockedMipLevel || ||
|-
| 0x36 || 0x1 || RwUInt8 || flags || ||
|-
| 0x37 || 0x1 || RwUInt8[1] || pad || ||
|-
| 0x38 || 0x4 || void* || palUploadPkt || ||
|-
| 0x3C || 0x1C || void*[7] || mipUploadPkts || ||
|-
| 0x58 || 0x4 || _SkyMemBlock* || mpCacheEntry || ||
|}
 
=== GtTextureExtTag ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x10 || RwUInt16[8] || mau16PaletteGSOffsets || ||
|-
| 0x10 || 0x1 || RwUInt8 || mu8NumPalettes || ||
|-
| 0x11 || 0x1 || RwUInt8 || mu8PaletteWidth || ||
|-
| 0x12 || 0x1 || RwUInt8 || mu8PaletteHeight || ||
|-
| 0x13 || 0x1 || RwUInt8 || mu8CurrentPalette || ||
|-
| 0x14 || 0x4 || RwUInt32 || muSizeInMemory || ||
|-
| 0x18 || 0x20 || char[32] || macName || ||
|}
 
=== CB3ConvexVehicleHull ===