From 314c324556db6a0c7aff236ed16adfd02159beae Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 29 Aug 2003 04:12:34 +0000 Subject: [PATCH] Depricated ... --- src/Airports/genrunways.cxx | 46 ------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 src/Airports/genrunways.cxx diff --git a/src/Airports/genrunways.cxx b/src/Airports/genrunways.cxx deleted file mode 100644 index f3b4c4709..000000000 --- a/src/Airports/genrunways.cxx +++ /dev/null @@ -1,46 +0,0 @@ -// dump out a gdbm version of the simple airport file - -#include - -#include STL_IOSTREAM - -#include - -#include "runways.hxx" - -SG_USING_STD(cout); -SG_USING_STD(endl); - -int main( int argc, char **argv ) { - FGRunwaysUtil runways; - FGRunway r; - - sglog().setLogLevels( SG_ALL, SG_INFO ); - - if ( argc == 3 ) { - runways.load( argv[1] ); - runways.dump_mk4( argv[2] ); - } else { - cout << "usage: " << argv[0] << " " << endl; - exit(-1); - } - - cout << endl; - - FGRunways runway_db( argv[2] ); - -#if 0 - while ( runway_db.next( &r ) ) { - cout << r.id << " " << r.rwy_no << endl; - } -#endif - - runway_db.search( "KMSP", &r ); - - while ( r.id == "KMSP" ) { - cout << r.id << " " << r.rwy_no << endl; - runway_db.next( &r ); - } - - -}