]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runways.hxx
Added a property output feature to ControlMap that allows arbitrary binding
[flightgear.git] / src / Airports / runways.hxx
index 5512097d8d44e3c41e709d6db9ee437f79249c21..041e904765ca367a37afa3b13d9097088fcc603a 100644 (file)
@@ -125,6 +125,13 @@ public:
     // "runway" is not changed if "apt" is not found.
     bool search( const string& aptid, FGRunway* runway );
     bool search( const string& aptid, const string& rwyno, FGRunway* runway );
+
+    // DCL - search for runway closest to desired heading in degrees
+    bool search( const string& aptid, const int hdg, FGRunway* runway );
+
+    // Return the runway number of the runway closest to a given heading
+    string search( const string& aptid, const int tgt_hdg );
+
     FGRunway search( const string& aptid );
     bool next( FGRunway* runway );
     FGRunway next();