1
0
Fork 0

Autopilot changes contributed by Norman Vine.

This commit is contained in:
curt 1999-05-12 15:06:44 +00:00
parent a9b54bca0f
commit be0b6c4c36
2 changed files with 5 additions and 4 deletions

View file

@ -32,13 +32,13 @@
#include "autopilot.hxx" #include "autopilot.hxx"
#include <GUI/gui.h>
#include <Include/fg_constants.h> #include <Include/fg_constants.h>
#include <Cockpit/panel.hxx>
#include <Debug/logstream.hxx> #include <Debug/logstream.hxx>
#include <Main/options.hxx> #include <Main/options.hxx>
#include <Cockpit/panel.hxx>
#include <Main/views.hxx> #include <Main/views.hxx>
#include <plib/pu.h>
// The below routines were copied right from hud.c ( I hate reinventing // The below routines were copied right from hud.c ( I hate reinventing
// the wheel more than necessary) // 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() ); return( current_aircraft.fdm_state->get_V_equiv_kts() );
} }

View file

@ -80,6 +80,8 @@ void fgAPAltitudeAdjust( double inc );
void fgAPHeadingAdjust( double inc ); void fgAPHeadingAdjust( double inc );
void fgAPAutoThrottleAdjust( double inc ); void fgAPAutoThrottleAdjust( double inc );
void fgAPHeadingSet( double value );
void fgAPReset(void); void fgAPReset(void);
class puObject; class puObject;