]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runwaybase.hxx
Interim windows build fix
[flightgear.git] / src / Airports / runwaybase.hxx
index 25d2340435cc8168b7a8563cfa622fe691a2cec0..c365f69e52fa425bdc39132d6b98cff1fa87df89 100644 (file)
@@ -54,16 +54,16 @@ public:
   SGGeod pointOffCenterline(double aOffset, double lateralOffset) const;
   
   double lengthFt() const
-  { return _length; }
+  { return _length * SG_METER_TO_FEET; }
   
   double lengthM() const
-  { return _length * SG_FEET_TO_METER; }
+  { return _length; }
   
   double widthFt() const
-  { return _width; }
+  { return _width * SG_METER_TO_FEET; }
   
   double widthM() const
-  { return _width * SG_FEET_TO_METER; }
+  { return _width; }
   
    /**
    * Runway heading in degrees.
@@ -82,6 +82,12 @@ public:
    */
   int surface() const 
   { return _surface_code; }
+
+  /**
+   * Retrieve runway surface name, as define in Robin Peel's data
+   */
+  static const char * surfaceName( int surface_code );
+  const char * surfaceName() { return surfaceName( _surface_code ); }
   
 protected: