]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/tower.hxx
Ima Sudonim:
[flightgear.git] / src / ATC / tower.hxx
index 9d0a557342c5544b219908f7344bfffa7440aa45..aaaf5387b8ace7e2c6454a15d1cfbb4ed429b28a 100644 (file)
@@ -168,9 +168,6 @@ public:
        // Get the pattern direction of the active rwy.
        inline int GetPatternDirection() { return rwy.patternDirection; }
        
-       inline void SetDisplay() { display = true; }
-       inline void SetNoDisplay() { display = false; }
-       
        inline string get_trans_ident() { return trans_ident; }
        
        inline FGGround* GetGroundPtr() { return ground; }
@@ -191,6 +188,7 @@ private:
        void Respond();
        
        void ProcessRunwayVacatedReport(TowerPlaneRec* t);
+       void ProcessDownwindReport(TowerPlaneRec* t);
        
        // Remove all options from the user dialog choice
        void RemoveAllUserDialogOptions();
@@ -247,9 +245,6 @@ private:
        unsigned int update_count;      // Convienince counter for speading computational load over several updates
        unsigned int update_count_max;  // ditto.
        
-       bool display;           // Flag to indicate whether we should be outputting to the ATC display.
-       bool displaying;                // Flag to indicate whether we are outputting to the ATC display.
-       
        double timeSinceLastDeparture;  // Time in seconds since last departure from active rwy.
        bool departed;  // set true when the above needs incrementing with time, false when it doesn't.
        
@@ -323,6 +318,9 @@ private:
        bool AddToTrafficList(TowerPlaneRec* t, bool holding = false);
        
        bool AddToCircuitList(TowerPlaneRec* t);
+       
+       // Add to vacated list only if not already present
+       void AddToVacatedList(TowerPlaneRec* t);
 
        // Ground can be separate or handled by tower in real life.
        // In the program we will always use a separate FGGround class, but we need to know