#include <libcsm.h>
Inheritance diagram for Chunk:
Definition at line 393 of file libcsm.h.
Public Types | |
enum | TAG_TYPE { TT_BRUSH = 0, TT_MESH, TT_GROUP, TT_LMAP, TT_ENTITY, TT_DATA, TT_UNKNOWN } |
Public Member Functions | |
TAG_TYPE | getType () |
ulong | getSize () |
virtual void | loadChunkData (ChunkReader *pChunkReader) |
virtual void | resetChunkData () |
Static Public Member Functions | |
TAG_TYPE | getTagType (char tag[4]) |
string | getFullTagName (TAG_TYPE t) |
const char * | getTagStr (TAG_TYPE t) |
Chunk * | newChunk (chunk_header_t &hdr) |
void | deleteChunk (Chunk *pChunk) |
Static Public Attributes | |
const char | TAG_BRUSH [4] = {'B','R','U','S'} |
const char | TAG_MESH [4] = {'M','E','S','H'} |
const char | TAG_GROUP [4] = {'G','R','U','P'} |
const char | TAG_LMAP [4] = {'L','M','A','P'} |
const char | TAG_ENTITY [4] = {'E','N','T','Y'} |
const char | TAG_DATA [4] = {'D','A','T','A'} |
const char | TAG_UNKNOWN [4] = {'U','N','K','N'} |
Protected Member Functions | |
Chunk (TAG_TYPE t) | |
Chunk (const Chunk &chunk) | |
virtual | ~Chunk () |
void | setHeader (chunk_header_t &hdr) |
Protected Attributes | |
chunk_header_t | m_Header |
TAG_TYPE | m_Type |
|
|
|
Definition at line 182 of file libcsm.cpp. |
|
Definition at line 190 of file libcsm.cpp. |
|
Definition at line 186 of file libcsm.cpp. |
|
Definition at line 196 of file libcsm.cpp. |
|
Definition at line 212 of file libcsm.cpp. |
|
Definition at line 220 of file libcsm.cpp. |
|
Definition at line 262 of file libcsm.cpp. |
|
Definition at line 266 of file libcsm.cpp. |
|
Reimplemented in ChunkBrush, ChunkMesh, ChunkGroup, ChunkData, ChunkEntity, and ChunkLMap. Definition at line 241 of file libcsm.cpp. |
|
Reimplemented in ChunkBrush, ChunkMesh, ChunkGroup, ChunkData, ChunkEntity, and ChunkLMap. Definition at line 248 of file libcsm.cpp. |
|
Definition at line 271 of file libcsm.cpp. |
|
Definition at line 305 of file libcsm.cpp. |
|
Definition at line 253 of file libcsm.cpp. |
|
Definition at line 174 of file libcsm.cpp. |
|
Definition at line 175 of file libcsm.cpp. |
|
Definition at line 176 of file libcsm.cpp. |
|
Definition at line 177 of file libcsm.cpp. |
|
Definition at line 178 of file libcsm.cpp. |
|
Definition at line 179 of file libcsm.cpp. |
|
Definition at line 180 of file libcsm.cpp. |
|
|
|
|