Changeset 4834 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jul 11, 2005, 5:47:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4833 r4834 69 69 #include "class_list.h" 70 70 71 #include "crosshair.h"72 Crosshair* crosshair=NULL;73 74 71 75 72 using namespace std; … … 207 204 208 205 ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL); 209 210 211 212 crosshair=NULL;213 206 } 214 207 … … 242 235 LoadParam<World>(root, "identifier", this, &World::setStoryID) 243 236 .describe("Sets the StoryID of this world"); 237 244 238 LoadParam<World>(root, "nextid", this, &World::setNextStoryID) 245 239 .describe("Sets the ID of the next world"); 240 246 241 LoadParam<World>(root, "path", this, &World::setPath) 247 242 .describe("The Filename of this World (relative from the data-dir)"); … … 278 273 279 274 GraphicsEngine::getInstance()->displayFPS(true); 280 281 if (!crosshair)282 crosshair = new Crosshair();283 275 } 284 276 … … 859 851 ParticleEngine::getInstance()->draw(); 860 852 861 crosshair->draw();862 853 863 854 TextEngine::getInstance()->draw(); … … 1055 1046 1056 1047 1057 crosshair->tick(this->dtS);1058 1059 1048 /** actualy the Graphics Engine should tick the world not the other way around... 1060 1049 but since we like the things not too complicated we got it this way around
Note: See TracChangeset
for help on using the changeset viewer.