X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2Fflight.hxx;h=8dc1aaebb3dc48c8c2198e494519b988e196990a;hb=ee98995d30e75cda88c9866f3cb6a761fda7d078;hp=afc4ded02b29116002221d46113d02c97349b020;hpb=5a849b66e855a643c600ad4cfcce1f82e0fcdeb3;p=flightgear.git diff --git a/src/FDM/flight.hxx b/src/FDM/flight.hxx index afc4ded02..8dc1aaebb 100644 --- a/src/FDM/flight.hxx +++ b/src/FDM/flight.hxx @@ -93,6 +93,9 @@ // #include #include
+#include +#include +#include
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; } + };