Texture Name Map: Difference between revisions

Added infobox and normalized some content.
(Created page.)
 
(Added infobox and normalized some content.)
 
(One intermediate revision by one other user not shown)
Line 1:
{{ParadiseResourceTypeInfobox
| name = TextureNameMap
| resourcenames = texture_name_map
| id = 0x1000B
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
}}
 
The texture name map resource type is used in the particles bundle to store relevant texture name strings.
 
Line 5 ⟶ 13:
==== 32-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[#BrnParticle::TextureNameMap::Entry|Entry]]* || mpEntries || ||
|-
| 0x4 || 0x4 || uint32_t || muEntryCount || ||
Line 15 ⟶ 22:
==== 64-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#BrnParticle::TextureNameMap::Entry|Entry]]* || mpEntries || ||
|-
| 0x8 || 0x4 || uint32_t || muEntryCount || ||
|-
| 0xC || 0x4 || || || Padding ||
|}
 
Line 26 ⟶ 34:
==== 32-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || muHashedLionTextureName || || UnknownLowercased 32-bit FNV-1a hash.<br>Matches up with mpTextureName algorithmin or[[Particle sourceDescription#cParticleMaterial|cParticleMaterial]].
|-
| 0x4 || 0x4 || char* || mpGDBTextureName || ||
Line 36 ⟶ 43:
==== 64-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || muHashedLionTextureName || || UnknownLowercased 32-bit FNV-1a hash.<br>Matches up with mpTextureName algorithmin or[[Particle sourceDescription#cParticleMaterial|cParticleMaterial]].
|-
| 0x4 || 0x4 || || || paddingPadding ||
|-
| 0x8 || 0x8 || char* || mpGDBTextureName || ||