Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2008, 5:50:25 PM (17 years ago)
Author:
rgrieder
Message:
  • changed header file inclusion order
Location:
code/trunk/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/GraphicsEngine.cc

    r1056 r1062  
    133133
    134134    // create a logManager
    135     /*LogManager *logger;
    136                 if(LogManager::getSingletonPtr() == 0)
    137                         logger = new LogManager();
    138     else
    139       logger = LogManager::getSingletonPtr();
     135    Ogre::LogManager *logger;
     136                if (Ogre::LogManager::getSingletonPtr() == 0)
     137                        logger = new Ogre::LogManager();
     138    else
     139      logger = Ogre::LogManager::getSingletonPtr();
    140140    COUT(4) << "*** GraphicsEngine: Ogre LogManager created/assigned" << std::endl;
    141141
    142142    // create our own log that we can listen to
    143     Log *myLog;
     143    Ogre::Log *myLog;
    144144    if (this->ogreLogfile_ == "")
    145145      myLog = logger->createLog("ogre.log", true, false, true);
     
    148148    COUT(4) << "*** GraphicsEngine: Ogre Log created" << std::endl;
    149149
    150     myLog->setLogDetail(LL_BOREME);
    151     myLog->addListener(this);*/
     150    myLog->setLogDetail(Ogre::LL_BOREME);
     151    myLog->addListener(this);
    152152
    153153    // Root will detect that we've already created a Log
  • code/trunk/src/orxonox/Orxonox.cc

    r1056 r1062  
    448448      // Iterate through all Tickables and call their tick(dt) function
    449449      for (Iterator<Tickable> it = ObjectList<Tickable>::start(); it; )
    450         (it++)->tick((float)evt.timeSinceLastFrame * this->timefactor_);
     450      {
     451        (it)->tick((float)evt.timeSinceLastFrame * this->timefactor_);
     452         it++;
     453     }
    451454
    452455      // don't forget to call _fireFrameStarted in ogre to make sure
  • code/trunk/src/orxonox/objects/weapon/WeaponStation.h

    r1056 r1062  
    3131#define _WeaponStation_H__
    3232
     33#include "OrxonoxPrereqs.h"
     34
    3335#include <OgrePrerequisites.h>
    34 
    35 #include "OrxonoxPrereqs.h"
    3636
    3737
  • code/trunk/src/orxonox/tools/Timer.cc

    r1056 r1062  
    2828
    2929#include "OrxonoxStableHeaders.h"
     30#include "Timer.h"
     31
    3032#include "core/Executor.h"
    3133#include "core/CoreIncludes.h"
    3234#include "core/ConsoleCommand.h"
    3335#include "core/CommandExecutor.h"
    34 #include "Timer.h"
    3536
    3637namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.