X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIFlightPlan.hxx;h=cff51aaa657ca26b0d4b8e77b5110d8710acc646;hb=1613d7e63e02ccad8ebdfaaf8359ab34e0b88e7a;hp=0fee8c43c3319ec57236a60db29b3acda9a8ebbd;hpb=002b880e7efc342c43b822b182e7f0a8f654f390;p=flightgear.git diff --git a/src/AIModel/AIFlightPlan.hxx b/src/AIModel/AIFlightPlan.hxx index 0fee8c43c..cff51aaa6 100644 --- a/src/AIModel/AIFlightPlan.hxx +++ b/src/AIModel/AIFlightPlan.hxx @@ -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;