Changeset 1272 for code/branches/merge/src/orxonox/Orxonox.cc
- Timestamp:
- May 14, 2008, 11:44:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/orxonox/Orxonox.cc
r1268 r1272 290 290 // The render window width and height are used to set up the mouse movement. 291 291 if (!InputManager::initialise(ogre_->getWindowHandle(), 292 ogre_->getWindowWidth(), ogre_->getWindowHeight() ))292 ogre_->getWindowWidth(), ogre_->getWindowHeight(), true, true, true)) 293 293 return false; 294 294 … … 495 495 for (Iterator<Tickable> it = ObjectList<Tickable>::start(); it; ++it) 496 496 it->tick((float)evt.timeSinceLastFrame * this->timefactor_); 497 orxonoxConsole_->tick((float)evt.timeSinceLastFrame * this->timefactor_); 497 // Iterate through all TickableReals and call their tick(dt) function 498 for (Iterator<TickableReal> it = ObjectList<TickableReal>::start(); it; ++it) 499 it->tick((float)evt.timeSinceLastFrame); 500 orxonoxConsole_->tick((float)evt.timeSinceLastFrame); 498 501 499 502 // don't forget to call _fireFrameStarted in ogre to make sure
Note: See TracChangeset
for help on using the changeset viewer.