]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/approach.hxx
Vassilii Khachaturov:
[flightgear.git] / src / ATC / approach.hxx
index 405de1a05426fa0e8947bc69f1e65c27c657b80c..41e32f22ad9458093197a7d27a1d82f4cabe6b90 100644 (file)
@@ -61,7 +61,7 @@ SG_USING_STD(string);
 const int    max_planes = 20;  // max number of planes on the stack
 const int    max_wp = 10;      // max number of waypoints for approach phase
 const double max_ta = 130;     // max turning angle for plane during approach
-const double tbm    = 20000.0; // min time (in ms) between two messages
+const double tbm    = 2.0;     // min time (in sec) between two messages
 const double lfl    = 10.0;    // length of final leg
 
 struct PlaneApp {
@@ -117,8 +117,6 @@ class FGApproach : public FGATC {
   double active_rw_lat;
   double active_rw_len;
 
-  bool     display;            // Flag to indicate whether we should be outputting to the display.
-  bool     displaying;         // Flag to indicate whether we are outputting to the display.
   int      num_planes;          // number of planes on the stack
   PlaneApp planes[max_planes];  // Array of planes
   string   transmission;
@@ -160,16 +158,9 @@ public:
   // Remove plane from stack if out of range
   int RemovePlane();
   
-  //Indicate that this instance should be outputting to the ATC display
-  inline void SetDisplay(void) {display = true;}
-  
-  //Indicate that this instance should not be outputting to the ATC display
-  inline void SetNoDisplay(void) {display = false;}
-  
   inline double get_bucket() const { return bucket; }
   inline int get_pnum() const { return num_planes; }
   inline string get_trans_ident() { return trans_ident; }
-  inline atc_type GetType() { return APPROACH; }
   
 private: