]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/tower.hxx
Remove some cruft, and add a short TODO list
[flightgear.git] / src / ATC / tower.hxx
index a8fb76af7c728d1fa9e99effb451a729c9dc4919..9c57c61fceb9519b9413a37dd8771aa006c4de61 100644 (file)
@@ -85,8 +85,6 @@ public:
        bool onRwy;             // is physically on the runway
        bool nextOnRwy;         // currently projected by tower to be the next on the runway
 
-       double clearanceCounter;                // Hack for communication timing - counter since clearance requested in seconds 
-       
        // Type of operation the plane is doing
        tower_traffic_type opType;
        
@@ -164,6 +162,10 @@ private:
 
        void CheckApproachList(double dt);
        
+       // Currently this assumes we *are* next on the runway and doesn't check for planes about to land - 
+       // this should be done prior to calling this function.
+       void ClearHoldingPlane(TowerPlaneRec* t);
+       
        // Find a pointer to plane of callsign ID within the internal data structures
        TowerPlaneRec* FindPlane(string ID);