Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2008, 12:27:16 PM (16 years ago)
Author:
rgrieder
Message:
  • implemented a new main loop, calling the ticks and the timers. —> removed the (Timer/Tick)FrameListener and displaced the code to Orxonox.cc (don't like it yet)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/Orxonox.h

    r871 r900  
    99
    1010#include <string>
     11#include <deque>
    1112
    1213#include <OgrePrerequisites.h>
     
    6566      void createFrameListener();
    6667      void startRenderLoop();
     68      void mainLoop();
     69      void updateTimers(float);
     70      float calculateEventTime(unsigned long, std::deque<unsigned long>&);
    6771
    6872    private:
     
    7882      OrxListener*          frameListener_;
    7983      Ogre::Root*           root_;
     84      // TODO: make this a config-value by creating a config class for orxonox
     85      float                 frameSmoothingTime_;
     86      // little hack to actually show something dynamic in the HUD
     87      HUD*                  orxonoxHUD_;
    8088
    8189      // this is used to identify the mode (server/client/...) we're in
Note: See TracChangeset for help on using the changeset viewer.