diff --git a/Simulator/Autopilot/autopilot.cxx b/Simulator/Autopilot/autopilot.cxx index 354a81bcd..1f270ed48 100644 --- a/Simulator/Autopilot/autopilot.cxx +++ b/Simulator/Autopilot/autopilot.cxx @@ -32,13 +32,13 @@ #include "autopilot.hxx" +#include #include +#include #include #include
-#include #include
-#include // The below routines were copied right from hud.c ( I hate reinventing // the wheel more than necessary) @@ -49,8 +49,7 @@ // -static double get_speed( void ) -{ +static double get_speed( void ) { return( current_aircraft.fdm_state->get_V_equiv_kts() ); } diff --git a/Simulator/Autopilot/autopilot.hxx b/Simulator/Autopilot/autopilot.hxx index 438feaf9b..8d2871fb3 100644 --- a/Simulator/Autopilot/autopilot.hxx +++ b/Simulator/Autopilot/autopilot.hxx @@ -80,6 +80,8 @@ void fgAPAltitudeAdjust( double inc ); void fgAPHeadingAdjust( double inc ); void fgAPAutoThrottleAdjust( double inc ); +void fgAPHeadingSet( double value ); + void fgAPReset(void); class puObject;