Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2011, 12:35:33 AM (12 years ago)
Author:
jo
Message:

Repairing the radar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2011/src/modules/overlays/hud/HUDNavigation.h

    r8988 r8993  
    8585    // XMLPort accessors
    8686    void setNavMarkerSize ( float size )
    87     { navMarkerSize_ = size; this->sizeChanged(); }
     87        { navMarkerSize_ = size; this->sizeChanged(); }
    8888    float getNavMarkerSize() const
    89     { return navMarkerSize_; }
    90 
     89        { return navMarkerSize_; }
     90    void setDetectionLimit( float limit )
     91        { this->detectionLimit_ = limit; }
     92    float getDetectionLimit() const
     93        { return this->detectionLimit_; }
    9194
    9295    void setTextSize ( float size );
     
    110113    bool showDistance;
    111114
    112     unsigned int markerLimit_;;
    113 
     115    unsigned int markerLimit_;
     116    float detectionLimit_; //!< Objects that are more far away than detectionLimit_ are not displayed on the HUD. 10000.0f is the default value.
    114117
    115118};
Note: See TracChangeset for help on using the changeset viewer.