X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fperformancedata.hxx;h=41b89ca7ced8599a2f8ae0ee717bb4ecfd18b9d4;hb=6b1391e404b11e0d9a5bfcd11c1307e2e9531616;hp=65d64486ab71f891355c8a4fb20a01f78100d486;hpb=48e948d4bcd65cc8ccdfb23097ed9ea592e4226c;p=flightgear.git diff --git a/src/AIModel/performancedata.hxx b/src/AIModel/performancedata.hxx index 65d64486a..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,14 @@ 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; }; + inline double vDescent () { return _vDescent; }; + inline double vApproach () { return _vApproach; }; + inline double vTouchdown () { return _vTouchdown; }; + inline double vCruise () { return _vCruise; }; private: double _acceleration;