]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runways.cxx
Initial framing for reading in-scenery airport data.
[flightgear.git] / src / Airports / runways.cxx
index fc70d8384237883cf6920471a80d7f7eb75d0576..346dc35bd7872371e8442e11ee5d4be19b1f3e52 100644 (file)
@@ -71,7 +71,8 @@ FGRunway::FGRunway(FGAirport* aAirport, const string& aIdent,
   _airport(aAirport),
   _reciprocal(reciprocal),
   _displ_thresh(displ_thresh),
-  _stopway(stopway)
+  _stopway(stopway),
+  _ils(NULL)
 {
 }
 
@@ -135,3 +136,7 @@ SGGeod FGRunway::threshold() const
   return pointOnCenterline(_displ_thresh * SG_FEET_TO_METER);
 }
 
+void FGRunway::processThreshold(SGPropertyNode* aThreshold)
+{
+  assert(ident() == aThreshold->getStringValue("rwy"));
+}