Changeset 1346 for code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
- Timestamp:
- May 21, 2008, 8:20:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
r1343 r1346 30 30 31 31 #include <string.h> 32 #include <OgreOverlayManager.h> 33 #include <OgreStringConverter.h> 32 34 #include <OgreOverlayElement.h> 33 35 #include <OgrePanelOverlayElement.h> 36 #include <OgrePrerequisites.h> 37 34 38 #include <util/Math.h> 35 39 #include <string.h> 36 40 #include "core/Tickable.h" 37 #include <OgrePrerequisites.h>38 41 #include "objects/SpaceShip.h" 39 42 #include "../OrxonoxPrereqs.h" 43 #include "RadarObject.h" 44 #include "GraphicsEngine.h" 40 45 41 46 namespace orxonox 42 47 { 43 class _OrxonoxExport RadarObject44 {45 private:46 Ogre::OverlayManager* om; // our one and only overlay manager47 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 space56 Ogre::Real radius_, phi_; // position on radar57 Ogre::OverlayContainer* container_;58 Ogre::PanelOverlayElement* panel_; // the panel used to show the dot59 RadarObject* next; // next pointer of linked list60 61 static int count;62 };63 64 48 class _OrxonoxExport RadarOverlayElement : public Ogre::PanelOverlayElement 65 49 {
Note: See TracChangeset
for help on using the changeset viewer.