Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2009, 10:58:53 PM (15 years ago)
Author:
rgrieder
Message:

Header file section clean up in orxonox/overlays (without stats). Also reduced dependencies as much as possible.

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  
    2828
    2929#include "DebugFPSText.h"
    30 #include <OgreTextAreaOverlayElement.h>
     30
    3131#include "util/Convert.h"
    3232#include "core/CoreIncludes.h"
     
    5151
    5252        float fps = Game::getInstance().getAvgFPS();
    53         this->setCaption(convertToString(fps));
     53        this->setCaption(multi_cast<std::string>(fps));
    5454    }
    5555}
  • code/branches/pch/src/orxonox/overlays/debug/DebugFPSText.h

    r2087 r3144  
    3232#include "OrxonoxPrereqs.h"
    3333
     34#include "objects/Tickable.h"
    3435#include "overlays/OverlayText.h"
    35 #include "objects/Tickable.h"
    3636
    3737namespace orxonox
     
    4141    public:
    4242        DebugFPSText(BaseObject* creator);
    43         ~DebugFPSText();
     43        virtual ~DebugFPSText();
    4444
    4545        virtual void tick(float dt);
  • code/branches/pch/src/orxonox/overlays/debug/DebugRTRText.cc

    r3110 r3144  
    2828
    2929#include "DebugRTRText.h"
    30 #include <OgreTextAreaOverlayElement.h>
     30
     31#include "util/Convert.h"
    3132#include "core/CoreIncludes.h"
    32 #include "util/Convert.h"
    3333#include "core/Game.h"
    3434
     
    5151
    5252        float rtr = Game::getInstance().getAvgTickTime();
    53         this->setCaption(convertToString(rtr));
     53        this->setCaption(multi_cast<std::string>(rtr));
    5454    }
    5555}
  • code/branches/pch/src/orxonox/overlays/debug/DebugRTRText.h

    r2087 r3144  
    3232#include "OrxonoxPrereqs.h"
    3333
     34#include "objects/Tickable.h"
    3435#include "overlays/OverlayText.h"
    35 #include "objects/Tickable.h"
    3636
    3737namespace orxonox
     
    4141    public:
    4242        DebugRTRText(BaseObject* creator);
    43         ~DebugRTRText();
     43        virtual ~DebugRTRText();
    4444
    4545        virtual void tick(float dt);
Note: See TracChangeset for help on using the changeset viewer.