X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Frunways.hxx;h=e6f97ea95d7790c30898fbcd6e4ec9c7a5bc865d;hb=386aefe69358ce41a11c9afeb8f56e26758fe56b;hp=15d39c2af9fcd0eec6e6a4f9eafeffc6f1ab4787;hpb=a6db6d89ff41a619569e6433409e8bf62ff98499;p=flightgear.git diff --git a/src/Airports/runways.hxx b/src/Airports/runways.hxx index 15d39c2af..e6f97ea95 100644 --- a/src/Airports/runways.hxx +++ b/src/Airports/runways.hxx @@ -36,7 +36,8 @@ class SGPropertyNode; class FGRunway : public FGRunwayBase { FGAirport* _airport; - bool _reciprocal; + bool _isReciprocal; + FGRunway* _reciprocal; double _displ_thresh; double _stopway; FGNavRecord* _ils; @@ -68,7 +69,7 @@ public: * over runways to avoid counting runways twice, if desired. */ bool isReciprocal() const - { return _reciprocal; } + { return _isReciprocal; } /** * Get the runway begining point - this is syntatic sugar, equivalent to @@ -106,6 +107,10 @@ public: FGNavRecord* ILS() const { return _ils; } void setILS(FGNavRecord* nav) { _ils = nav; } + FGRunway* reciprocalRunway() const + { return _reciprocal; } + void setReciprocalRunway(FGRunway* other); + /** * Helper to process property data loaded from an ICAO.threshold.xml file */