Changeset 3144 for code/branches/pch/src/orxonox/overlays/debug
- Timestamp:
- Jun 10, 2009, 10:58:53 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/overlays/debug
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/overlays/debug/DebugFPSText.cc
r3110 r3144 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/branches/pch/src/orxonox/overlays/debug/DebugFPSText.h
r2087 r3144 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "objects/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/branches/pch/src/orxonox/overlays/debug/DebugRTRText.cc
r3110 r3144 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/branches/pch/src/orxonox/overlays/debug/DebugRTRText.h
r2087 r3144 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "objects/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.