Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 30, 2008, 3:27:39 PM (15 years ago)
Author:
rgrieder
Message:

Moved tick time measurement to GSRoot. The values get combined with the one from GSGraphics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/gamestates/GSGraphics.h

    r2548 r2549  
    3737#include "GSRoot.h"
    3838
    39 #include <deque>
    40 
    4139namespace orxonox
    4240{
    43     struct statisticsTickInfo{
    44         uint64_t    tickTime;
    45         uint32_t    tickLength;
    46     };
    47    
    4841    class _OrxonoxExport GSGraphics : public GameState<GSRoot>, public OrxonoxClass,
    4942                                      public Ogre::WindowEventListener, public Ogre::LogListener
     
    10093
    10194        KeyBinder*            masterKeyBinder_;
    102 
    103         // variables for time statistics
    104         unsigned long         frameCount_;
    105         unsigned int          statisticsRefreshCycle_;
    106         unsigned int          statisticsAvgLength_;
    107         unsigned long long    statisticsStartTime_;
    108         unsigned long         statisticsStartCount_;
    109         std::deque<statisticsTickInfo>
    110             statisticsTickTimes_;
    111         unsigned int          tickTime_;
    11295        XMLFile*              debugOverlay_;
    11396
     
    120103        int                   ogreLogLevelNormal_;       //!< Corresponding Orxonx debug level for LL_NORMAL
    121104        int                   ogreLogLevelCritical_;     //!< Corresponding Orxonx debug level for LL_CRITICAL
    122         unsigned int          detailLevelParticle_;      //!< Detail level of particle effects (0: off, 1: low, 2: normal, 3: high)
    123105        std::string           defaultMasterKeybindings_; //!< Filename of default master keybindings.
    124106
Note: See TracChangeset for help on using the changeset viewer.