X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIAircraft.hxx;h=ea2d08e7cba1882f194590f49a74818c810a6680;hb=588eba658a6f348e517a23d22ffa2d9b44f11cc7;hp=7504aaecf504479329cbd9d49dfff78e5758b134;hpb=5f3804e816be28db280c27ea2756ba0baefca5bd;p=flightgear.git diff --git a/src/AIModel/AIAircraft.hxx b/src/AIModel/AIAircraft.hxx index 7504aaecf..ea2d08e7c 100644 --- a/src/AIModel/AIAircraft.hxx +++ b/src/AIModel/AIAircraft.hxx @@ -42,7 +42,6 @@ public: // virtual bool init(bool search_in_AI_path=false); virtual void bind(); - virtual void unbind(); virtual void update(double dt); void setPerformance(const std::string& perfString); @@ -103,6 +102,7 @@ public: int getTakeOffStatus() { return takeOffStatus; }; void checkTcas(); + double calcVerticalSpeed(double vert_ft, double dist_m, double speed, double error); FGATCController * getATCController() { return controller; }; @@ -181,6 +181,8 @@ private: time_t timeElapsed; PerformanceData* _performance; // the performance data for this aircraft + + void assertSpeed(double speed); };