Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2008, 4:08:29 PM (17 years ago)
Author:
rgrieder
Message:
  • singletonized GraphicsEngine —> Orxonox.h has to included only twice —> better compile performance —> Everything graphic related can now be accessed with GraphicsEngine::getSingleton()
  • asylumized Fighter (SpaceShip with weapon system integrated)
  • removed weapon system from build
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Ambient.cc

    r871 r1032  
    3737#include "util/String2Number.h"
    3838#include "util/Math.h"
    39 #include "../core/Debug.h"
    40 #include "../core/CoreIncludes.h"
    41 #include "../Orxonox.h"
     39#include "core/Debug.h"
     40#include "core/CoreIncludes.h"
     41#include "GraphicsEngine.h"
    4242#include "core/XMLPort.h"
    4343
     
    7676   void Ambient::setAmbientLight(const ColourValue& colour)
    7777   {
    78         Orxonox::getSingleton()->getSceneManager()->setAmbientLight(colour);
     78        GraphicsEngine::getSingleton().getSceneManager()->setAmbientLight(colour);
    7979   }
    8080
Note: See TracChangeset for help on using the changeset viewer.