]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.hxx
Updated to match changes in radiostack.[ch]xx
[flightgear.git] / src / FDM / flight.hxx
index afc4ded02b29116002221d46113d02c97349b020..8dc1aaebb3dc48c8c2198e494519b988e196990a 100644 (file)
@@ -93,6 +93,9 @@
 // #include <simgear/timing/timestamp.hxx>
 
 #include <Main/fgfs.hxx>
+#include <Model/acmodel.hxx>
+#include <Model/model.hxx>
+#include <Main/location.hxx>
 
 SG_USING_STD(list);
 SG_USING_STD(vector);
@@ -224,6 +227,9 @@ private:
     // SGTimeStamp valid_stamp;          // time this record is valid
     // SGTimeStamp next_stamp;           // time this record is valid
 
+    // Model tied to FDM
+    FGAircraftModel * _acmodel;
+
 protected:
 
     int _calc_multiloop (double dt);
@@ -1071,6 +1077,12 @@ public:
     inline float  get_faux( int n ) const { return faux[n]; }
     inline int    get_iaux( int n ) const { return iaux[n]; }
 
+    // Model tied to FDM
+    FGAircraftModel * getACModel() const { return _acmodel; }
+
+    // Note that currently this is the "same" value runway altitude...
+    inline double get_ground_elev_ft() const { return runway_altitude; }
+
 };