Changeset 3196 for code/trunk/src/orxonox/overlays/debug
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 5 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/overlays/debug/DebugFPSText.cc
r3110 r3196 28 28 29 29 #include "DebugFPSText.h" 30 #include <OgreTextAreaOverlayElement.h> 30 31 31 #include "util/Convert.h" 32 32 #include "core/CoreIncludes.h" … … 51 51 52 52 float fps = Game::getInstance().getAvgFPS(); 53 this->setCaption( convertToString(fps));53 this->setCaption(multi_cast<std::string>(fps)); 54 54 } 55 55 } -
code/trunk/src/orxonox/overlays/debug/DebugFPSText.h
r2087 r3196 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "interfaces/Tickable.h" 34 35 #include "overlays/OverlayText.h" 35 #include "objects/Tickable.h"36 36 37 37 namespace orxonox … … 41 41 public: 42 42 DebugFPSText(BaseObject* creator); 43 ~DebugFPSText();43 virtual ~DebugFPSText(); 44 44 45 45 virtual void tick(float dt); -
code/trunk/src/orxonox/overlays/debug/DebugRTRText.cc
r3110 r3196 28 28 29 29 #include "DebugRTRText.h" 30 #include <OgreTextAreaOverlayElement.h> 30 31 #include "util/Convert.h" 31 32 #include "core/CoreIncludes.h" 32 #include "util/Convert.h"33 33 #include "core/Game.h" 34 34 … … 51 51 52 52 float rtr = Game::getInstance().getAvgTickTime(); 53 this->setCaption( convertToString(rtr));53 this->setCaption(multi_cast<std::string>(rtr)); 54 54 } 55 55 } -
code/trunk/src/orxonox/overlays/debug/DebugRTRText.h
r2087 r3196 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "interfaces/Tickable.h" 34 35 #include "overlays/OverlayText.h" 35 #include "objects/Tickable.h"36 36 37 37 namespace orxonox … … 41 41 public: 42 42 DebugRTRText(BaseObject* creator); 43 ~DebugRTRText();43 virtual ~DebugRTRText(); 44 44 45 45 virtual void tick(float dt);
Note: See TracChangeset
for help on using the changeset viewer.