Profile/Burnout Paradise/Progression Profile: Difference between revisions

Split NetworkTexture into per-platform sections. Move Xbox 360 parameters to here.
(Remove Xbox 360 section, update section names and levels.)
(Split NetworkTexture into per-platform sections. Move Xbox 360 parameters to here.)
Line 1,391:
 
=== CgsNetwork::NetworkTexture ===
==== PlayStation 3, Xbox 360, PC, PC (Remastered) ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 1,414:
|}
 
==== PlayStationXbox 4, Switch360 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 1,426:
| 0xC || 0x4 || int32_t || miHeight || ||
|-
| 0x10 || 0x4 || [[#renderengine::PixelFormatParameters|PixelFormatParameters]] || mFormat ||
|-
| 0x14 || 0x4 || char* || mpcTexture || ||
Line 1,434:
| 0x19 || 0x1 || bool || mbIsUncompressedYUV || ||
|-
| 0x1A || 0x60x2 || || || Padding ||
|}
 
==== Parameters ====
Parameters for the MAKED3DFMT2 macro. Xbox 360 only.
 
{| class="wikitable"
! Offset (bits) !! Length (bits) !! Name !! Description !! Comments
|-
| 0 || 3 || SwizzleW || || See [[Texture/Xbox 360#GPUSWIZZLE|GPUSWIZZLE]] on the Xbox 360 texture page.
|-
| 0 || 3 || SwizzleZ || || See [[Texture/Xbox 360#GPUSWIZZLE|GPUSWIZZLE]] on the Xbox 360 texture page.
|-
| 0 || 3 || SwizzleY || || See [[Texture/Xbox 360#GPUSWIZZLE|GPUSWIZZLE]] on the Xbox 360 texture page.
|-
| 0 || 3 || SwizzleX || || See [[Texture/Xbox 360#GPUSWIZZLE|GPUSWIZZLE]] on the Xbox 360 texture page.
|-
| 0 || 1 || NumFormat || || See [[Texture/Xbox 360#GPUNUMFORMAT|GPUNUMFORMAT]] on the Xbox 360 texture page.
|-
| 0 || 2 || TextureSignW || || See [[Texture/Xbox 360#GPUSIGN|GPUSIGN]] on the Xbox 360 texture page.
|-
| 0 || 2 || TextureSignZ || || See [[Texture/Xbox 360#GPUSIGN|GPUSIGN]] on the Xbox 360 texture page.
|-
| 0 || 2 || TextureSignY || || See [[Texture/Xbox 360#GPUSIGN|GPUSIGN]] on the Xbox 360 texture page.
|-
| 0 || 2 || TextureSignX || || See [[Texture/Xbox 360#GPUSIGN|GPUSIGN]] on the Xbox 360 texture page.
|-
| 23 || 1 || Tiled || ||
|-
| 24 || 2 || Endian || || See [[Texture/Xbox 360#GPUENDIAN|GPUENDIAN]] on the Xbox 360 texture page.
|-
| 26 || 6 || TextureFormat || || See [[Texture/Xbox 360#GPUTEXTUREFORMAT|GPUTEXTUREFORMAT]] on the Xbox 360 texture page.
|}
 
==== PC ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || HeapMalloc* || mpHeapMalloc || ||
|-
| 0x4 || 0x4 || int32_t || miBitsPerPixel || ||
|-
| 0x8 || 0x4 || int32_t || miWidth || ||
|-
| 0xC || 0x4 || int32_t || miHeight || ||
|-
| 0x10 || 0x4 || [[#D3DFORMAT|D3DFORMAT]] || mFormat ||
|-
| 0x14 || 0x4 || char* || mpcTexture || ||
|-
| 0x18 || 0x1 || bool || mbTextureAllocatedFromHeap || ||
|-
| 0x19 || 0x1 || bool || mbIsUncompressedYUV || ||
|-
| 0x1A || 0x2 || || || Padding ||
|}
 
==== PC (Remastered) ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || HeapMalloc* || mpHeapMalloc || ||
|-
| 0x4 || 0x4 || int32_t || miBitsPerPixel || ||
|-
| 0x8 || 0x4 || int32_t || miWidth || ||
|-
| 0xC || 0x4 || int32_t || miHeight || ||
|-
| 0x10 || 0x4 || [[#DXGI_FORMAT|DXGI_FORMAT]] || mFormat ||
|-
| 0x14 || 0x4 || char* || mpcTexture || ||
|-
| 0x18 || 0x1 || bool || mbTextureAllocatedFromHeap || ||
|-
| 0x19 || 0x1 || bool || mbIsUncompressedYUV || ||
|-
| 0x1A || 0x2 || || || Padding ||
|}
 
==== PlayStation 4, Switch ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || HeapMalloc* || mpHeapMalloc || ||
|-
| 0x8 || 0x4 || int32_t || miBitsPerPixel || ||
|-
| 0xC || 0x4 || int32_t || miWidth || ||
|-
| 0x10 || 0x4 || int32_t || miHeight || ||
|-
| 0x14 || 0x4 || [[#DXGI_FORMAT|DXGI_FORMAT]] || mFormat ||
|-
| 0x18 || 0x8 || char* || mpcTexture || ||
|-
| 0x20 || 0x1 || bool || mbTextureAllocatedFromHeap || ||
|-
| 0x21 || 0x1 || bool || mbIsUncompressedYUV || ||
|-
| 0x22 || 0x6 || || || Padding ||
|}