]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runways.hxx
Code to stop loading of invalid flightplans
[flightgear.git] / src / Airports / runways.hxx
index 03434ab8efff2a6c629f9b6c0d35e2872614e095..e795d9ee5c9cc3fcdaea53799ae87a7326a7c54d 100644 (file)
@@ -58,7 +58,7 @@ public:
    * score this runway according to the specified weights. Used by
    * FGAirport::findBestRunwayForHeading
    */
-  double score(double aLengthWt, double aWidthWt, double aSurfaceWt) const;
+  double score(double aLengthWt, double aWidthWt, double aSurfaceWt, double aIlsWt) const;
 
   /**
    * Get the runway beginning point - this is syntatic sugar, equivalent to
@@ -117,6 +117,10 @@ public:
     flightgear::ProcedureType type = flightgear::PROCEDURE_INVALID
   ) const;
   
+  void updateThreshold(const SGGeod& newThreshold,
+                       double newHeading,
+                       double newDisplacedThreshold,
+                       double newStopway);
 };
 
 class FGHelipad : public FGRunwayBase