Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6981 in orxonox.OLD for trunk/src/story_entities/game_world_data.cc


Ignore:
Timestamp:
Feb 2, 2006, 2:45:07 PM (18 years ago)
Author:
bensch
Message:

trunk: some virtuals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world_data.cc

    r6863 r6981  
    247247  // erease everything that is left.
    248248  // 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;
    250250  //secondary cleanup of PNodes;
    251   const std::list<BaseObject*>* nodeList = ClassList::getList(CL_PARENT_NODE);
     251  nodeList = ClassList::getList(CL_PARENT_NODE);
    252252  if (nodeList != NULL)
    253253    while (!nodeList->empty())
    254254      delete nodeList->front();
    255 
    256255  /* remove the player object */
    257256  if( this->localPlayer)
    258257    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
    259271
    260272  // unload the resources !!
Note: See TracChangeset for help on using the changeset viewer.