]> git.mxchange.org Git - flightgear.git/blob - src/Airports/testair.cxx
Make a subtle change to tile loading/unloading policy in order to make the tile
[flightgear.git] / src / Airports / testair.cxx
1 #include <Debug/fg_debug.h>
2 #include <Include/general.h>
3 #include "airports.hxx"
4
5 fgGENERAL general;
6
7 main() {
8     fgAIRPORTS a;
9     fgAIRPORT air;
10
11     general.root_dir = getenv("FG_ROOT");
12
13     fgInitDebug();
14
15     a.load("Airports");
16
17     air = a.search("P13");
18
19     printf("%s %lf %lf %lf\n", air.id, 
20            air.longitude, air.latitude, air.elevation);
21 }