]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIFlightPlan.hxx
Thomas Foerster: Prepare for the inclusion of aircraft specific performance
[flightgear.git] / src / AIModel / AIFlightPlan.hxx
index 0fee8c43c3319ec57236a60db29b3acda9a8ebbd..cff51aaa657ca26b0d4b8e77b5110d8710acc646 100644 (file)
@@ -49,7 +49,9 @@ public:
    bool flaps_down;
    bool on_ground;
     int routeIndex;  // For AI/ATC purposes;
-   double wait_time;
+   double time_sec;
+   string time;
+
   } waypoint;
 
    FGAIFlightPlan(const string& filename);
@@ -100,7 +102,7 @@ public:
   FGTaxiRoute *getTaxiRoute() { return taxiRoute; };
   void deleteTaxiRoute();
   string getRunway() { return activeRunway; };
-  
+    bool isActive(time_t time) {return time >= this->getStartTime();};
 
 private:
   FGRunway rwy;