#include <CSWorld.h>
Public Member Functions | |
CSWorldData () | |
~CSWorldData () | |
Data Fields | |
char * | id |
char * | musicName |
MapDatas * | maps |
int | layers |
|
Definition at line 58 of file CSWorld.h. References layers, MapDatas, maps, and musicName.
|
|
Definition at line 66 of file CSWorld.h. References maps, musicName, and MapData::name.
00067 { 00068 if (id != 0) 00069 { 00070 free (id); 00071 id = 0; 00072 } 00073 if (musicName != 0) 00074 { 00075 free (musicName); 00076 musicName = 0; 00077 } 00078 if (maps != 0) 00079 { 00080 for (MapDatas::iterator iter = maps->begin(); iter != maps->end(); iter++) 00081 { 00082 MapData *help = (MapData *) *iter; 00083 free(help->name); 00084 help->name = 0; 00085 delete help; 00086 } 00087 delete maps; 00088 } 00089 } |
|
|
|
Definition at line 54 of file CSWorld.h. Referenced by CSWorldData(), and ~CSWorldData(). |
|
Definition at line 55 of file CSWorld.h. Referenced by CSWorldData(), and ~CSWorldData(). |
|
Definition at line 56 of file CSWorld.h. Referenced by CSWorldData(). |