Changeset 7810 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- May 24, 2006, 3:57:04 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r7785 r7810 43 43 44 44 #include "graphics_engine.h" 45 #include "effects/atmospheric_engine.h" 45 46 #include "event_handler.h" 46 47 #include "sound_engine.h" … … 384 385 385 386 GraphicsEngine::getInstance()->tick(this->dtS); 387 AtmosphericEngine::getInstance()->tick(this->dtS); 386 388 387 389 if( likely(this->dataTank->gameRule != NULL)) … … 524 526 GraphicsEngine* engine = GraphicsEngine::getInstance(); 525 527 528 AtmosphericEngine::getInstance()->draw(); 529 526 530 // set camera 527 531 this->dataTank->localCamera->apply (); -
trunk/src/story_entities/game_world_data.cc
r7488 r7810 45 45 46 46 #include "graphics_engine.h" 47 #include "effects/atmospheric_engine.h" 47 48 #include "event_handler.h" 48 49 #include "sound_engine.h" … … 322 323 LoadParamXML(root, "LightManager", LightManager::getInstance(), LightManager, loadParams); 323 324 LoadParamXML(root, "GraphicsEngine", GraphicsEngine::getInstance(), GraphicsEngine, loadParams); 325 LoadParamXML(root, "AtmosphericEngine", AtmosphericEngine::getInstance(), AtmosphericEngine, loadParams); 324 326 325 327 LoadParam(root, "Music", this, GameWorldData, setSoundTrack); … … 346 348 /* delete some garphics and scene eingines */ 347 349 delete LightManager::getInstance(); 350 delete AtmosphericEngine::getInstance(); 348 351 349 352 if (this->music != NULL)
Note: See TracChangeset
for help on using the changeset viewer.