]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ground.hxx
Mathias Fröhlich:
[flightgear.git] / src / ATC / ground.hxx
index 797c95e6f03be17bb1571216270ad1f5effef293..ffc668c4ab400ac8282734009775ed3a22bc6320 100644 (file)
@@ -232,9 +232,6 @@ public:
     void Update(double dt);
        
        inline string get_trans_ident() { return trans_ident; }
-       inline atc_type GetType() { return GROUND; }
-    inline void SetDisplay() {display = true;}
-    inline void SetNoDisplay() {display = false;}
 
     // Contact ground control on arrival, assumed to request any gate
     //void NewArrival(plane_rec plane);
@@ -258,6 +255,9 @@ public:
        // Return a pointer to an unused gate
        Gate* GetGateNode();
        
+       // Return a pointer to a hold short node
+       node* GetHoldShortNode(string rwyID);
+       
        // Runway stuff - this might change in the future.
        // Get a list of exits from a given runway
        // It is up to the calling function to check for non-zero size of returned array before use
@@ -311,8 +311,6 @@ private:
        SGPropertyNode* wind_from_hdg;  //degrees
        SGPropertyNode* wind_speed_knots;               //knots
        
-       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.
        // for failure modeling
        string trans_ident;             // transmitted ident
        bool ground_failed;             // ground failed?
@@ -324,7 +322,7 @@ private:
 
        // Logical runway details - this might change in the future.
        //runway_array_type runways;    // STL way
-       Rwy runways[36];        // quick hack!
+       Rwy runways[37];        // quick hack!
        
        // Physical runway details
        double aptElev;         // Airport elevation