]> git.mxchange.org Git - flightgear.git/commitdiff
Autopilot changes contributed by Norman Vine.
authorcurt <curt>
Wed, 12 May 1999 15:06:44 +0000 (15:06 +0000)
committercurt <curt>
Wed, 12 May 1999 15:06:44 +0000 (15:06 +0000)
Simulator/Autopilot/autopilot.cxx
Simulator/Autopilot/autopilot.hxx

index 354a81bcdc699f1e60f26b7497cc9449d1c34c6e..1f270ed48d315d4b1717f997556a41af62cb4e0a 100644 (file)
 
 #include "autopilot.hxx"
 
+#include <GUI/gui.h>
 #include <Include/fg_constants.h>
+#include <Cockpit/panel.hxx>
 #include <Debug/logstream.hxx>
 #include <Main/options.hxx>
-#include <Cockpit/panel.hxx>
 #include <Main/views.hxx>
 
-#include <plib/pu.h>
 
 // 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() );
 }
 
index 438feaf9bb47fd37053bc6e304ddeaa15cf78d26..8d2871fb3679065915cec2c54de5320b85eb6c59 100644 (file)
@@ -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;