Changeset 1062 for code/trunk/src/orxonox
- Timestamp:
- Apr 14, 2008, 5:50:25 PM (17 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GraphicsEngine.cc
r1056 r1062 133 133 134 134 // 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(); 140 140 COUT(4) << "*** GraphicsEngine: Ogre LogManager created/assigned" << std::endl; 141 141 142 142 // create our own log that we can listen to 143 Log *myLog;143 Ogre::Log *myLog; 144 144 if (this->ogreLogfile_ == "") 145 145 myLog = logger->createLog("ogre.log", true, false, true); … … 148 148 COUT(4) << "*** GraphicsEngine: Ogre Log created" << std::endl; 149 149 150 myLog->setLogDetail( LL_BOREME);151 myLog->addListener(this); */150 myLog->setLogDetail(Ogre::LL_BOREME); 151 myLog->addListener(this); 152 152 153 153 // Root will detect that we've already created a Log -
code/trunk/src/orxonox/Orxonox.cc
r1056 r1062 448 448 // Iterate through all Tickables and call their tick(dt) function 449 449 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 } 451 454 452 455 // don't forget to call _fireFrameStarted in ogre to make sure -
code/trunk/src/orxonox/objects/weapon/WeaponStation.h
r1056 r1062 31 31 #define _WeaponStation_H__ 32 32 33 #include "OrxonoxPrereqs.h" 34 33 35 #include <OgrePrerequisites.h> 34 35 #include "OrxonoxPrereqs.h"36 36 37 37 -
code/trunk/src/orxonox/tools/Timer.cc
r1056 r1062 28 28 29 29 #include "OrxonoxStableHeaders.h" 30 #include "Timer.h" 31 30 32 #include "core/Executor.h" 31 33 #include "core/CoreIncludes.h" 32 34 #include "core/ConsoleCommand.h" 33 35 #include "core/CommandExecutor.h" 34 #include "Timer.h"35 36 36 37 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.