]> git.mxchange.org Git - flightgear.git/blob - src/Airports/gensimple.cxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / Airports / gensimple.cxx
1 // dump out a gdbm version of the simple airport file
2
3 #include <simgear/compiler.h>
4
5 #include STL_IOSTREAM
6
7 #include <simgear/debug/logstream.hxx>
8
9 #include "simple.hxx"
10
11 SG_USING_STD(cout);
12 SG_USING_STD(endl);
13
14 int main( int argc, char **argv ) {
15     FGAirportsUtil airports;
16     FGAirport a;
17
18     sglog().setLogLevels( SG_ALL, SG_INFO );
19
20     if ( argc == 3 ) {
21         airports.load( argv[1] );
22         airports.dump_mk4( argv[2] );    
23     } else {
24         cout << "usage: " << argv[0] << " <in> <out>" << endl;
25     }
26
27     // FGAirports airport_db( argv[2] );
28     // airport_db.search( "KANEZZZ", &a );
29
30 }