Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2008, 12:21:42 AM (16 years ago)
Author:
rgrieder
Message:
  • added XML loadable HUD
  • Radar and navi are not yet done
  • explanations follow with when things are finished
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/hud/OverlayElementFactories.h

    r1564 r1588  
    3636#include <OgreOverlayElementFactory.h>
    3737
    38 #include "BarOverlayElement.h"
    3938#include "RadarOverlayElement.h"
    4039
    4140namespace orxonox
    4241{
    43     class _OrxonoxExport BarOverlayElementFactory : public Ogre::OverlayElementFactory{
    44       public:
    45         Ogre::OverlayElement* createOverlayElement(const Ogre::String& instanceName){
    46             return new BarOverlayElement(instanceName);
    47         }
    48         const Ogre::String& getTypeName(void) const{
    49             static Ogre::String name = "Bar";
    50             return name;
    51         }
    52     };
    53 
    5442    class _OrxonoxExport RadarOverlayElementFactory : public Ogre::OverlayElementFactory{
    5543      public:
Note: See TracChangeset for help on using the changeset viewer.