Changeset 6121 in orxonox.OLD for branches/objectmanager/src/story_entities
- Timestamp:
- Dec 15, 2005, 1:34:32 AM (19 years ago)
- Location:
- branches/objectmanager/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/story_entities/world.cc
r6120 r6121 141 141 SoundEngine::getInstance()->flushAllSources(); 142 142 143 delete ObjectManager::getInstance(); 143 if (State::getObjectManager() == &this->objectManager) 144 State::setObjectManager(NULL); 144 145 // erease everything that is left. 145 146 delete PNode::getNullParent(); … … 214 215 ErrorMessage World::preLoad() 215 216 { 217 State::setObjectManager(&this->objectManager); 216 218 State::setWorldEntityList(this->entities = new tList<WorldEntity>()); 217 219 this->cycle = 0; -
branches/objectmanager/src/story_entities/world.h
r6048 r6121 11 11 #include "story_entity.h" 12 12 #include "p_node.h" 13 #include "object_manager.h" 13 14 14 class World; 15 15 16 class WorldEntity; 16 17 class Camera; … … 18 19 class GLMenuImageScreen; 19 20 class Terrain; 20 class GarbageCollector;21 class Text;22 21 class TiXmlElement; 23 22 24 23 class Shell; 25 24 class OggPlayer; 25 26 26 template<class T> class tList; 27 27 … … 104 104 bool bPause; //!< pause mode 105 105 106 ObjectManager objectManager; //!< The ObjectManager of this World. 107 106 108 GLMenuImageScreen* glmis; //!< The Level-Loader Display 107 109
Note: See TracChangeset
for help on using the changeset viewer.