- Timestamp:
- Jun 20, 2008, 12:05:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.h
r1604 r1613 50 50 void tick(float dt); 51 51 52 void cycleFocus();52 //void cycleFocus(); 53 53 float getDist2Focus() const; 54 54 55 inline RadarObject* getFocus() const55 /*inline RadarObject* getFocus() const 56 56 { return this->focus_; } 57 void releaseFocus(); 57 void releaseFocus();*/ 58 58 59 static void cycleNavigationFocus();59 /*static void cycleNavigationFocus(); 60 60 static void releaseNavigationFocus(); 61 static HUDNavigation& getInstance(); 61 static HUDNavigation& getInstance();*/ 62 62 63 63 protected: … … 87 87 float aimMarkerSize_; //!< One paramter size of the aim marker 88 88 Ogre::TextAreaOverlayElement* navText_; //!< Text overlay to display the target distance 89 std::list<RadarObject*>::iterator it_;90 RadarObject* focus_; // next pointer of linked list91 89 bool wasOutOfView_; //!< Performance booster variable: setMaterial is not cheap 92 90 93 static HUDNavigation* instance_s;91 //static HUDNavigation* instance_s; 94 92 }; 95 93 }
Note: See TracChangeset
for help on using the changeset viewer.