Changeset 2908 for code/branches/questsystem5/src/orxonox/overlays/debug
- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/overlays/debug/DebugFPSText.cc
r2907 r2908 30 30 #include "DebugFPSText.h" 31 31 #include <OgreTextAreaOverlayElement.h> 32 #include "core/CoreIncludes.h" 33 #include "GraphicsEngine.h" 32 34 #include "util/Convert.h" 33 #include "core/CoreIncludes.h"34 #include "core/Game.h"35 35 36 36 namespace orxonox … … 51 51 SUPER(DebugFPSText, tick, dt); 52 52 53 float fps = G ame::getInstance().getAvgFPS();53 float fps = GraphicsEngine::getInstance().getAverageFramesPerSecond(); 54 54 this->setCaption(convertToString(fps)); 55 55 } -
code/branches/questsystem5/src/orxonox/overlays/debug/DebugRTRText.cc
r2907 r2908 32 32 #include "core/CoreIncludes.h" 33 33 #include "util/Convert.h" 34 #include " core/Game.h"34 #include "GraphicsEngine.h" 35 35 36 36 namespace orxonox … … 51 51 SUPER(DebugRTRText, tick, dt); 52 52 53 float rtr = G ame::getInstance().getAvgTickTime();53 float rtr = GraphicsEngine::getInstance().getAverageTickTime(); 54 54 this->setCaption(convertToString(rtr)); 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.