Changeset 7369 in orxonox.OLD for trunk/src/story_entities/game_world.cc
- Timestamp:
- Apr 25, 2006, 11:46:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r7368 r7369 52 52 #include "shell.h" 53 53 54 #include "animation_player.h"55 #include "animation3d.h"56 57 54 #include "ogg_player.h" 58 55 #include "shader.h" 56 57 #include "animation_player.h" 59 58 60 59 #include "game_rules.h" … … 125 124 State::setCurrentStoryEntity(dynamic_cast<StoryEntity*>(this)); 126 125 this->dataTank->init(); 126 127 /* initialize some engines and graphical elements */ 128 AnimationPlayer::getInstance(); 129 PhysicsEngine::getInstance(); 130 127 131 } 128 132 … … 179 183 ErrorMessage GameWorld::unloadData() 180 184 { 185 PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n"); 186 187 this->dataTank->unloadData(); 188 181 189 delete this->shell; 182 PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n");183 184 this->dataTank->unloadData();190 this->shell = NULL; 191 delete AnimationPlayer::getInstance(); 192 delete PhysicsEngine::getInstance(); 185 193 186 194 State::setCurrentStoryEntity(NULL);
Note: See TracChangeset
for help on using the changeset viewer.