Changeset 1350 for code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
- Timestamp:
- May 21, 2008, 11:00:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
r1346 r1350 50 50 private: 51 51 Ogre::OverlayManager* om; // our one and only overlay manager 52 Ogre::OverlayContainer* container_; 52 Ogre::OverlayContainer* container_; // pointer to the container we're in 53 53 Vector3 initialDir_; // direction of nose 54 54 Vector3 currentDir_; … … 57 57 Vector3 shipPos_; // position of ship 58 58 Ogre::Plane plane; // plane perpendicular to dir 59 60 RadarObject* firstRadarObject_; // start of linked list61 RadarObject* lastRadarObject_; // end of linked list62 59 63 60 Ogre::Real leftRel_, topRel_, dimRel_; // relative position/dimension … … 71 68 void resize(); 72 69 void update(); 70 void updateNavMarker(); 73 71 void addObject(Vector3 pos); 74 72 void listObjects(); … … 76 74 float calcPhi(RadarObject* obj); 77 75 bool calcRight(RadarObject* obj); 76 77 Ogre::PanelOverlayElement* navMarker_; // marker to help navigating 78 RadarObject* firstRadarObject_; // start of linked list 79 RadarObject* lastRadarObject_; // end of linked list 80 RadarObject* focus_; // object that is focussed 81 82 static RadarOverlayElement* instance_s; 83 static void cycleFocus(); 78 84 }; 79 85 }
Note: See TracChangeset
for help on using the changeset viewer.