Changeset 3196 for code/trunk/src/orxonox/GraphicsManager.h
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/GraphicsManager.h
r2896 r3196 39 39 #include "OrxonoxPrereqs.h" 40 40 41 #include <cassert> 41 42 #include <string> 42 #include <cassert>43 43 #include <OgreLog.h> 44 45 44 #include "core/OrxonoxClass.h" 46 45 … … 66 65 { return this->detailLevelParticle_; } 67 66 68 inline Ogre::Viewport* getViewport() const67 inline Ogre::Viewport* getViewport() 69 68 { return this->viewport_; } 70 69 inline Ogre::RenderWindow* getRenderWindow() … … 73 72 void setCamera(Ogre::Camera* camera); 74 73 75 static GraphicsManager& getInstance() { assert(singletonRef_s); return *singletonRef_s; } 74 inline static GraphicsManager& getInstance() 75 { assert(singletonRef_s); return *singletonRef_s; } 76 76 77 77 private: … … 101 101 OgreWindowEventListener* ogreWindowEventListener_; 102 102 103 // stats (Hack)104 float avgTickTime_; //!< time in ms to tick() one frame105 float avgFramesPerSecond_; //!< number of frames processed in one second106 107 103 // config values 108 104 unsigned int detailLevelParticle_; //!< Detail level of particle effects (0: off, 1: low, 2: normal, 3: high)
Note: See TracChangeset
for help on using the changeset viewer.