#include <simgear/compiler.h>
#include <vector>
#include <string>
+
+#include <Airports/simple.hxx>
+
+#include "AIBase.hxx"
+
SG_USING_STD(vector);
SG_USING_STD(string);
} waypoint;
FGAIFlightPlan(string filename);
- FGAIFlightPlan(string filename,
- double lat,
- double lon,
- double alt,
- double speed,
- double course);
+ 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;