Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2008, 4:08:29 PM (16 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/tools/BillboardSet.cc

    r790 r1032  
    3232#include <OgreSceneManager.h>
    3333
    34 #include "../Orxonox.h"
     34#include "GraphicsEngine.h"
    3535#include "util/Math.h"
    3636
     
    5050        std::ostringstream name;
    5151        name << (BillboardSet::billboardSetCounter_s++);
    52         this->billboardSet_ = Orxonox::getSingleton()->getSceneManager()->createBillboardSet("Billboard" + name.str(), count);
     52        this->billboardSet_ = GraphicsEngine::getSingleton().getSceneManager()->createBillboardSet("Billboard" + name.str(), count);
    5353        this->billboardSet_->createBillboard(position, colour);
    5454        this->billboardSet_->setMaterialName(file);
     
    5858    {
    5959        if (this->billboardSet_)
    60             Orxonox::getSingleton()->getSceneManager()->destroyBillboardSet(this->billboardSet_);
     60            GraphicsEngine::getSingleton().getSceneManager()->destroyBillboardSet(this->billboardSet_);
    6161    }
    6262}
Note: See TracChangeset for help on using the changeset viewer.