- Timestamp:
- Dec 14, 2011, 4:45:22 PM (14 years ago)
- Location:
- code/branches/presentation2011
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011
- Property svn:mergeinfo changed
/code/branches/hud (added) merged: 8883,8896-8897,8906,8920,8929,8955,8966,8969,8986
- Property svn:mergeinfo changed
-
code/branches/presentation2011/src/modules/overlays/hud/HUDNavigation.h
r8891 r8988 24 24 * Co-authors: 25 25 * Reto Grieder 26 * Matthias Spalinger 26 27 * 27 28 */ … … 54 55 virtual void tick ( float dt ); 55 56 57 // RadarListener interface 56 58 virtual void addObject ( RadarViewable* object ); 57 59 virtual void removeObject ( RadarViewable* viewable ); … … 66 68 inline float getRadarSensitivity() const 67 69 { return 1.0f; } 70 71 unsigned int getMarkerLimit() { return this->markerLimit_; } 68 72 69 73 private: … … 85 89 { return navMarkerSize_; } 86 90 87 void setDetectionLimit( float limit )88 { this->detectionLimit_ = limit; }89 float getDetectionLimit() const90 { return this->detectionLimit_; }91 91 92 92 void setTextSize ( float size ); … … 102 102 sortedList sortedObjectList_; 103 103 104 float getArrowSizeX(int dist); 105 float getArrowSizeY(int dist); 104 106 105 107 float navMarkerSize_; 106 108 std::string fontName_; 107 109 float textSize_; 110 bool showDistance; 108 111 109 unsigned int markerLimit_; //TODO: is it possible to set this over the console and/or the IG-Setting110 float detectionLimit_; //!< Objects that are more far away than detectionLimit_ are not displayed on the HUD. 10000.0f is the default value. 111 //!< In order to bypass this behaviour, set a negative detectionLimit_. Then the detection range is "infinite". 112 unsigned int markerLimit_;; 113 114 112 115 }; 113 116 }
Note: See TracChangeset
for help on using the changeset viewer.