Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7810 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
May 24, 2006, 3:57:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the Weather effects back here

Location:
trunk/src/story_entities
Files:
2 edited

Legend:

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

    r7785 r7810  
    4343
    4444#include "graphics_engine.h"
     45#include "effects/atmospheric_engine.h"
    4546#include "event_handler.h"
    4647#include "sound_engine.h"
     
    384385
    385386    GraphicsEngine::getInstance()->tick(this->dtS);
     387    AtmosphericEngine::getInstance()->tick(this->dtS);
    386388
    387389    if( likely(this->dataTank->gameRule != NULL))
     
    524526  GraphicsEngine* engine = GraphicsEngine::getInstance();
    525527
     528  AtmosphericEngine::getInstance()->draw();
     529
    526530  // set camera
    527531  this->dataTank->localCamera->apply ();
  • trunk/src/story_entities/game_world_data.cc

    r7488 r7810  
    4545
    4646#include "graphics_engine.h"
     47#include "effects/atmospheric_engine.h"
    4748#include "event_handler.h"
    4849#include "sound_engine.h"
     
    322323  LoadParamXML(root, "LightManager", LightManager::getInstance(), LightManager, loadParams);
    323324  LoadParamXML(root, "GraphicsEngine", GraphicsEngine::getInstance(), GraphicsEngine, loadParams);
     325  LoadParamXML(root, "AtmosphericEngine", AtmosphericEngine::getInstance(), AtmosphericEngine, loadParams);
    324326
    325327  LoadParam(root, "Music", this, GameWorldData, setSoundTrack);
     
    346348  /* delete some garphics and scene eingines */
    347349  delete LightManager::getInstance();
     350  delete AtmosphericEngine::getInstance();
    348351
    349352  if (this->music != NULL)
Note: See TracChangeset for help on using the changeset viewer.