From be0b6c4c369173a0710945e5d225d3d223eccd03 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 12 May 1999 15:06:44 +0000 Subject: [PATCH] Autopilot changes contributed by Norman Vine. --- Simulator/Autopilot/autopilot.cxx | 7 +++---- Simulator/Autopilot/autopilot.hxx | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) 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;