]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navdb.hxx
Allow a "threshold" value to determine which localizers to snap to the
[flightgear.git] / src / Navaids / navdb.hxx
index 4afc27e1128e5436fbd866ea0354ccaf4664a7e7..5f0c39ff9496a5d4c70f773a75d0fc45912d0759 100644 (file)
@@ -45,4 +45,13 @@ bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist,
                   FGNavList *dmelist, FGNavList *mkrbeacons );
 
 
+// This routines traverses the localizer list and attempts to match
+// each entry with it's corresponding runway.  When it is successful,
+// it then "moves" the localizer and updates it's heading so it
+// *perfectly* aligns with the runway, but is still the same distance
+// from the runway threshold.
+void fgNavDBAlignLOCwithRunway( FGRunwayList *runways, FGNavList *loclist,
+                                double threshold );
+
+
 #endif // _FG_NAVDB_HXX