]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/fixlist.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / Navaids / fixlist.hxx
index 75d48e2440751424173025656ef041147152b0da..20e7b8800e459a66f59b5942311bf89d922bc152 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started April 2000.
 //
-// Copyright (C) 2000  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2000  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -56,14 +56,15 @@ public:
     // load the navaids and build the map
     bool init( SGPath path );
 
-    // query the database for the specified frequency, lon and lat are
+    // query the database for the specified fix
+    bool query( const string& ident, FGFix *f );
+
+    // query the database for the specified fix, lon and lat are
     // in degrees, elev is in meters
-    bool query( const string& ident, double lon, double lat, double elev,
-               FGFix *f, double *heading, double *dist);
+    bool query_and_offset( const string& ident, double lon, double lat,
+                           double elev, FGFix *f, double *heading,
+                           double *dist );
 };
 
 
-extern FGFixList *current_fixlist;
-
-
 #endif // _FG_FIXLIST_HXX