#include <simgear/compiler.h>
#include <vector>
#include <string>
+
+#include <Airports/simple.hxx>
+
+#include "AIBase.hxx"
+
SG_USING_STD(vector);
SG_USING_STD(string);
bool finished;
bool gear_down;
bool flaps_down;
+ bool on_ground;
} waypoint;
FGAIFlightPlan(string filename);
+ FGAIFlightPlan(FGAIModelEntity *entity,
+ double course,
+ FGAirport *dep,
+ FGAirport *arr);
~FGAIFlightPlan();
waypoint* getPreviousWaypoint( void );
double getBearing(waypoint* previous, waypoint* next);
double getBearing(double lat, double lon, waypoint* next);
+ void create(FGAirport *dep, FGAirport *arr, double alt, double speed);
+
private:
typedef vector <waypoint*> wpt_vector_type;