Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 14, 2008, 11:44:17 AM (16 years ago)
Author:
rgrieder
Message:

merged input branch into merge branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merge/src/orxonox/Orxonox.cc

    r1268 r1272  
    290290    // The render window width and height are used to set up the mouse movement.
    291291    if (!InputManager::initialise(ogre_->getWindowHandle(),
    292           ogre_->getWindowWidth(), ogre_->getWindowHeight()))
     292          ogre_->getWindowWidth(), ogre_->getWindowHeight(), true, true, true))
    293293      return false;
    294294
     
    495495      for (Iterator<Tickable> it = ObjectList<Tickable>::start(); it; ++it)
    496496        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);
    498501
    499502      // don't forget to call _fireFrameStarted in ogre to make sure
Note: See TracChangeset for help on using the changeset viewer.