Changeset 6981 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 2, 2006, 2:45:07 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r6878 r6981 190 190 PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n"); 191 191 192 this->dataTank->unloadData(); 193 192 194 if (this->dataXML) 193 195 delete this->dataXML; 194 196 195 this->dataTank->unloadData();196 197 } 197 198 -
trunk/src/story_entities/game_world_data.cc
r6863 r6981 247 247 // erease everything that is left. 248 248 // delete PNode::getNullParent(); // not needed as this is also done in the next step (and also much cleaner) 249 249 const std::list<BaseObject*>* nodeList; 250 250 //secondary cleanup of PNodes; 251 const std::list<BaseObject*>*nodeList = ClassList::getList(CL_PARENT_NODE);251 nodeList = ClassList::getList(CL_PARENT_NODE); 252 252 if (nodeList != NULL) 253 253 while (!nodeList->empty()) 254 254 delete nodeList->front(); 255 256 255 /* remove the player object */ 257 256 if( this->localPlayer) 258 257 delete this->localPlayer; 258 259 // nodeList = ClassList::getList(CL_GRAPHICS_EFFECT); 260 // if (nodeList != NULL) 261 // while (!nodeList->empty()) 262 // delete nodeList->front(); 263 // 264 // nodeList = ClassList::getList(CL_ELEMENT_2D); 265 // if (nodeList != NULL) 266 // while (!nodeList->empty()) 267 // delete nodeList->front(); 268 269 270 259 271 260 272 // unload the resources !! -
trunk/src/story_entities/simple_game_menu.h
r6874 r6981 25 25 public: 26 26 MenuLayer() {} 27 ~MenuLayer() {}27 virtual ~MenuLayer() {} 28 28 29 29
Note: See TracChangeset
for help on using the changeset viewer.