Modding/Burnout Paradise/Memory map: Difference between revisions

List small resource types under enums. Correct 360 and PC base resource types.
mNo edit summary
(List small resource types under enums. Correct 360 and PC base resource types.)
Line 156:
| 0x34 || 0x4 || uint32_t || muMaxImports || Max number of imports that can be held ||
|-
| 0x38 || 0x18 || [[#CgsResource::Entry::ResourceDescriptor|ResourceDescriptor]] || mDescriptor || Pool descriptor || See [[#Small resource typesCgsResource::ESmallResourceMemType|small resource typesESmallResourceMemType]]
|-
| 0x50 || 0xC || uint32_t[3] || mauMaxResources || Max number of resources per small resource type || See [[#Small resource typesCgsResource::ESmallResourceMemType|small resource typesESmallResourceMemType]]
|-
| 0x5C || 0x4 || int32_t || miNumDependencies || Number of dependencies ||
Line 378:
|}
 
=== CgsResource::ESmallResourceMemType ===
= Base resource types =
==== PlayStation 3 ====
{| class="wikitable"
! Name !! IndexValue !! Comments
|-
| main memoryE_MEMTYPE_MAINMEMORY || 0 ||
|-
| E_MEMTYPE_GRAPHICS_SYSTEM || 1 ||
| disposable || 1
|-
| E_MEMTYPE_GRAPHICS_LOCAL || 2 ||
| uninitialized || 2
|-
| E_MEMTYPE_NUMTYPES || 3 ||
| disposable uninitialized || 3
|}
 
==== Xbox 360 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| graphicsE_MEMTYPE_MAINMEMORY system|| 0 || 4
|-
| graphics? local|| 1 || 5PHYSICAL
|-
| ? || 2 || DUMMY
|-
| E_MEMTYPE_NUMTYPES || 3 ||
|}
 
==== XboxPC, 360Remastered ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_MEMTYPE_MAINMEMORY || 0
|-
| ? || 1 || DISPOSABLE
|-
| ? || 2 || DUMMY
|}-
| E_MEMTYPE_NUMTYPES || 3 ||
|}
 
= Base resource types =
==== PlayStation 3 ====
{| class="wikitable"
! Name !! Index
Line 413 ⟶ 436:
|}
 
==== PC,Xbox Remastered360 ====
{| class="wikitable"
! Name !! Index
Line 428 ⟶ 451:
|}
 
==== PC, Remastered ====
= Small resource types =
==== PlayStation 3 ====
{| class="wikitable"
! Name !! Index
|-
| MAINmain memory || 0
|-
| GRAPHICS_SYSTEMdisposable || 1
|-
| GRAPHICS_LOCALuninitialized || 2
|}
 
==== Xbox 360 ====
{| class="wikitable"
! Name !! Index
|-
| disposable uninitialized || 13
| MAIN || 0
|-
| PHYSICAL || 1
|-
| DUMMY || 2
|}
 
==== PC, Remastered ====
{| class="wikitable"
! Name !! Index
|-
| MAIN || 0
|-
| DISPOSABLE || 1
|-
| DUMMY || 2
|}