Changeset 1410 for code/branches/network/src/orxonox/hud/RadarObject.h
- Timestamp:
- May 24, 2008, 3:38:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/RadarObject.h
r1408 r1410 26 26 */ 27 27 28 #ifndef _RADAR2_H__ 29 #define _RADAR2_H__ 28 #ifndef _RadarObject_H__ 29 #define _RadarObject_H__ 30 31 #include "OrxonoxPrereqs.h" 32 30 33 #include <OgrePrerequisites.h> 31 34 #include <OgrePanelOverlayElement.h> 32 #include "../OrxonoxPrereqs.h"33 35 #include "util/Math.h" 34 36 … … 37 39 class _OrxonoxExport RadarObject 38 40 { 39 40 41 41 private: 42 Ogre::OverlayManager* om; // our one and only overlay manager 43 void init(); 42 44 43 44 45 46 45 public: 46 RadarObject(Ogre::OverlayContainer* container); 47 RadarObject(Ogre::OverlayContainer* container, Vector3 pos); 48 ~RadarObject(); 47 49 48 49 50 51 52 53 50 bool right_; 51 int index_; // index number of object 52 Vector3 pos_; // position in space 53 Ogre::OverlayContainer* container_; 54 Ogre::PanelOverlayElement* panel_; // the panel used to show the dot 55 RadarObject* next; // next pointer of linked list 54 56 55 56 57 static int count; 58 }; 57 59 } 58 60 59 #endif 61 #endif /* _RadarObject_H__ */
Note: See TracChangeset
for help on using the changeset viewer.