1
0
Fork 0
flightgear/src/Airports/testair.cxx
Tim Moore c90db01dc8 source tree reorganization prior to flightgear 0.7
SimGear and TerraGear appear to have been split off at this time.
2009-09-14 14:26:20 +02:00

21 lines
356 B
C++

#include <Debug/fg_debug.h>
#include <Include/general.h>
#include "airports.hxx"
fgGENERAL general;
main() {
fgAIRPORTS a;
fgAIRPORT air;
general.root_dir = getenv("FG_ROOT");
fgInitDebug();
a.load("Airports");
air = a.search("P13");
printf("%s %lf %lf %lf\n", air.id,
air.longitude, air.latitude, air.elevation);
}