X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fperformancedata.hxx;h=41b89ca7ced8599a2f8ae0ee717bb4ecfd18b9d4;hb=1c5eb0fb3e66c5c3bcc021310c97ea6d208c4b84;hp=d18e24b863ea94ebf8700225c6fc5f845b210b81;hpb=a4debec12277fcb2d0ac109f1af33f0491af52a7;p=flightgear.git diff --git a/src/AIModel/performancedata.hxx b/src/AIModel/performancedata.hxx index d18e24b86..41b89ca7c 100644 --- a/src/AIModel/performancedata.hxx +++ b/src/AIModel/performancedata.hxx @@ -29,7 +29,7 @@ public: PerformanceData(const std::string& filename); ~PerformanceData(); - double actualSpeed(FGAIAircraft* ac, double tgt_speed, double dt); + double actualSpeed(FGAIAircraft* ac, double tgt_speed, double dt, bool needMaxBrake); double actualBankAngle(FGAIAircraft* ac, double tgt_roll, double dt); double actualPitch(FGAIAircraft* ac, double tgt_pitch, double dt); double actualHeading(FGAIAircraft* ac, double tgt_heading, double dt); @@ -43,6 +43,7 @@ public: inline double vRotate () { return _vRotate; }; inline double maximumBankAngle () { return _maxbank; }; inline double acceleration () { return _acceleration; }; + inline double deceleration () { return _deceleration; }; inline double vTaxi () { return _vTaxi; }; inline double vTakeoff () { return _vTakeOff; }; inline double vClimb () { return _vClimb; };