Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2008, 5:55:05 PM (17 years ago)
Author:
rgrieder
Message:
  • changed a default value concerning the derived mouse input (maybe change that in orxonox.ini too
  • added initialise()/destroy() to HUD in order to avoid a segfault
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/HUD.h

    r1564 r1567  
    3737#include "objects/Tickable.h"
    3838#include "util/Math.h"
     39#include "OverlayElementFactories.h"
    3940
    4041namespace orxonox
     
    4344    {
    4445      public:
    45         static HUD& getSingleton();
     46        void initialise();
     47        void destroy();
     48
    4649        virtual void tick(float);
    4750
     
    5457        inline std::list<RadarObject*>& getRadarObjects()
    5558            { return this->roSet_; }
     59
     60        static HUD& getSingleton();
    5661
    5762        static void setEnergy(float value);
     
    6671        ~HUD();
    6772
    68         static HUD* instance_s;
     73        std::list<RadarObject*> roSet_;
     74        BarOverlayElementFactory barOverlayElementFactory_;
     75        RadarOverlayElementFactory radarOverlayElementFactory_;
    6976
    70         std::list<RadarObject*> roSet_;
    7177        Ogre::Overlay* orxonoxHUD_;
    7278        Ogre::OverlayContainer* container_;
    73         BarOverlayElementFactory* barOverlayElementFactory_;
    74         RadarOverlayElementFactory* radarOverlayElementFactory_;
    7579        Ogre::TextAreaOverlayElement* fpsText_;
    7680        Ogre::TextAreaOverlayElement* rTRText_;
Note: See TracChangeset for help on using the changeset viewer.