]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/approach.hxx
Melchior FRANZ:
[flightgear.git] / src / ATC / approach.hxx
index debcd77d33eca318064f9e80f897edbb545c780d..29d349060ab8c5da40a9ec63a71e56b19be8f690 100644 (file)
@@ -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;
@@ -150,7 +148,7 @@ public:
 
   void Init();
 
-  void Update();
+  void Update(double dt);
 
   // Add new plane to stack if not already registered 
   // Input:  pid - id of plane (name) 
@@ -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: