Changeset 2817 for code/branches/gui/src/orxonox/overlays/debug
- Timestamp:
- Mar 21, 2009, 10:17:59 PM (16 years ago)
- Location:
- code/branches/gui/src/orxonox/overlays/debug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/overlays/debug/DebugFPSText.cc
r2801 r2817 30 30 #include "DebugFPSText.h" 31 31 #include <OgreTextAreaOverlayElement.h> 32 #include "util/Convert.h" 32 33 #include "core/CoreIncludes.h" 33 #include "GraphicsManager.h" 34 #include "util/Convert.h" 34 #include "Game.h" 35 35 36 36 namespace orxonox … … 51 51 SUPER(DebugFPSText, tick, dt); 52 52 53 float fps = G raphicsManager::getInstance().getAverageFramesPerSecond();53 float fps = Game::getInstance().getAvgFPS(); 54 54 this->setCaption(convertToString(fps)); 55 55 } -
code/branches/gui/src/orxonox/overlays/debug/DebugRTRText.cc
r2801 r2817 32 32 #include "core/CoreIncludes.h" 33 33 #include "util/Convert.h" 34 #include "G raphicsManager.h"34 #include "Game.h" 35 35 36 36 namespace orxonox … … 51 51 SUPER(DebugRTRText, tick, dt); 52 52 53 float rtr = G raphicsManager::getInstance().getAverageTickTime();53 float rtr = Game::getInstance().getAvgTickTime(); 54 54 this->setCaption(convertToString(rtr)); 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.