Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2008, 8:20:58 PM (17 years ago)
Author:
FelixSchulthess
Message:

splitted two classes in two files

File:
1 edited

Legend:

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

    r1343 r1346  
    3030
    3131#include <string.h>
     32#include <OgreOverlayManager.h>
     33#include <OgreStringConverter.h>
    3234#include <OgreOverlayElement.h>
    3335#include <OgrePanelOverlayElement.h>
     36#include <OgrePrerequisites.h>
     37
    3438#include <util/Math.h>
    3539#include <string.h>
    3640#include "core/Tickable.h"
    37 #include <OgrePrerequisites.h>
    3841#include "objects/SpaceShip.h"
    3942#include "../OrxonoxPrereqs.h"
     43#include "RadarObject.h"
     44#include "GraphicsEngine.h"
    4045
    4146namespace orxonox
    4247{
    43     class _OrxonoxExport RadarObject
    44     {
    45         private:
    46                 Ogre::OverlayManager* om;                               // our one and only overlay manager
    47                 void init();
    48 
    49         public:
    50                 RadarObject(Ogre::OverlayContainer* container);
    51                 RadarObject(Ogre::OverlayContainer* container, Vector3 pos);
    52                 ~RadarObject();
    53 
    54             bool right_;
    55                 Vector3 pos_;                                                   // position in space
    56                         Ogre::Real radius_, phi_;                               // position on radar
    57                         Ogre::OverlayContainer* container_;
    58                         Ogre::PanelOverlayElement* panel_;              // the panel used to show the dot
    59                         RadarObject* next;                      // next pointer of linked list
    60 
    61                 static int count;
    62         };
    63 
    6448    class _OrxonoxExport RadarOverlayElement : public Ogre::PanelOverlayElement
    6549    {
Note: See TracChangeset for help on using the changeset viewer.