Sleeping Wombat GUI  0.100
swGUI
ChunkHeader.h
Go to the documentation of this file.
1 #pragma once
2 
9 
10 
11 namespace sw
12 {
13 
14 
17 {
18  char ChunkHead[ 3 ];
19  bool HasChildren;
23 
24 // ================================ //
25 //
27  : DataOffset( 0 )
28  , NextChunk( 0 )
29  , DataSize( 0 )
30  , HasChildren( false )
31  {
32  ChunkHead[ 0 ] = 'C';
33  ChunkHead[ 1 ] = 'H';
34  ChunkHead[ 2 ] = 'N';
35  }
36 
37 };
38 
39 } // sw
ChunkHeader()
Definition: ChunkHeader.h:26
uint32 DataOffset
Data or nested chunks.
Definition: ChunkHeader.h:20
Definition: ChunkHeader.h:16
Definition: DirectInputModule.cpp:11
Size NextChunk
Offset to Next chunk on the same level.
Definition: ChunkHeader.h:21
Size DataSize
Size of data. If value is equal to 0.
Definition: ChunkHeader.h:22
Plik zawiera definicje podstawowych typów zmiennych.
uint32_t uint32
Definition: TypesDefinitions.h:31
char ChunkHead[3]
Letters CHN.
Definition: ChunkHeader.h:18
size_t Size
Definition: TypesDefinitions.h:35
bool HasChildren
Indicated wheter DataOffset points to nested chunk or data.
Definition: ChunkHeader.h:19