Difference between revisions of "Struct (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RW Section|Struct|0x0001}}
+
{{RW Section
 +
| NAME = Struct
 +
| VENDORNAME = Criterion Games
 +
| MODULENAME = Core
 +
| MODULEID = 000000
 +
| IDENTIFIER = 01
 +
| PARENTS = [[Atomic (RW Section)#Structure|Atomic]], [[Clump (RW Section)#Structure|Clump]], [[Geometry (RW Section)#Structure|Geometry]], [[Geometry List (RW Section)#Structure|Geometry List]], [[Frame List (RW Section)#Structure|Frame List]], [[Material (RW Section)#Structure|Material]], [[Material List (RW Section)#Structure|Material List]], [[Texture (RW Section)#Structure|Texture]], [[Texture Dictionary (RW Section)#Structure|Texture Dictionary]], [[Raster (RW Section)#Structure|Raster]], [[UV Animation PLG (RW Section)#Structure|UV Animation PLG]]
 +
}}
  
'''Struct''' sections are multiple purpose sections, in most cases their content depends on the type of their parent section:
+
'''Struct''' sections are basic sections that store data for their direct parent. Typically all [[List_of_RW_section_IDs|core sections]] contain a struct as their first child, even if it might be empty in some cases. The content of the section varies and depends on its parent.
  
==[[Atomic (RW Section)|Atomic]]==
+
{{N|SA|VC|3}}
 
 
''- coming soon -''
 
 
 
==[[Clump (RW Section)|Clump]]==
 
 
 
Clump is usually the root section of [[model file|DFF files]]. The first DWORD in the struct holds the number of objects (frames) within the file. There are additional DWORDs for each of them, but they are usually 0 (zero).
 
 
 
==[[Frame List (RW Section)|Frame List]]==
 
 
 
''- coming soon -''
 
 
 
==[[Geometry (RW Section)|Geometry]]==
 
 
 
''- coming soon -''
 
 
 
==[[Geometry List (RW Section)|Geometry List]]==
 
 
 
''- coming soon -''
 
 
 
==[[Material (RW Section)|Material]]==
 
 
 
''- coming soon -''
 
 
 
==[[Material List (RW Section)|Material List]]==
 
 
 
''- coming soon -''
 
 
 
==[[Texture (RW Section)|Texture]]==
 
 
 
''- coming soon -''
 
 
 
==[[Texture Dictionary (RW Section)|Texture Dictionary]]==
 
 
 
''- coming soon -''
 
 
 
==[[Texture Native (RW Section)|Texture Native]]==
 
 
 
''See main article: [[Texture Native Struct]]''
 
 
 
 
 
{{File-stub}}
 

Latest revision as of 07:48, 14 September 2020

Struct
RenderWare Stream Section
Vendor Criterion Games
Module Core
Module ID 0x000000
Identifier 0x01
Chunk ID 0x00000001
Versions All
Hierarchy
Parents:
Atomic, Clump, Geometry, Geometry List, Frame List, Material, Material List, Texture, Texture Dictionary, Raster, UV Animation PLG
Children:
None
Extensions:
None
File Format

Struct sections are basic sections that store data for their direct parent. Typically all core sections contain a struct as their first child, even if it might be empty in some cases. The content of the section varies and depends on its parent.