#endif
#include <cstdlib>
+#include <cstdio>
#include "AIFlightPlan.hxx"
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
-#include <Airports/simple.hxx>
+#include <Airports/airport.hxx>
#include <Airports/runways.hxx>
#include <Airports/dynamics.hxx>
#include "AIAircraft.hxx"
#include <FDM/LaRCsim/basic_aero.h>
#include <Navaids/navrecord.hxx>
+using std::string;
/* FGAIFlightPlan::create()
* dynamically create a flight plan for AI traffic, based on data provided by the
//cerr << "Building taxi route" << endl;
while (taxiRoute.next(&node)) {
char buffer[10];
- snprintf(buffer, 10, "%lld", node);
+ snprintf(buffer, 10, "%lld", (long long int) node);
FGTaxiNode *tn =
apt->getDynamics()->getGroundNetwork()->findNode(node);
FGAIWaypoint *wpt =
for (int i = 0; i < size - 2; i++) {
taxiRoute.next(&node);
char buffer[10];
- snprintf(buffer, 10, "%lld", node);
+ snprintf(buffer, 10, "%lld", (long long int) node);
FGTaxiNode *tn = gn->findNode(node);
FGAIWaypoint *wpt =
createOnGround(ac, buffer, tn->geod(), apt->getElevation(),