]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.hxx
Set the format default to float instead of int.
[flightgear.git] / src / FDM / flight.hxx
index 810ec38b80ac2f84801628128c37ef03fb74b00d..010a6f20f3e37722b0c20a1bf8a84e12020b580b 100644 (file)
  */
 
 
-#include <simgear/compiler.h>
-
 #include <math.h>
 
 #include <list>
 #include <vector>
 #include <string>
 
+#include <simgear/compiler.h>
 #include <simgear/constants.h>
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 SG_USING_STD(list);
 SG_USING_STD(vector);
@@ -102,7 +101,7 @@ class FGAircraftModel;
 typedef double FG_VECTOR_3[3];
 
 // This is based heavily on LaRCsim/ls_generic.h
-class FGInterface : public FGSubsystem {
+class FGInterface : public SGSubsystem {
 
 private:
   
@@ -224,9 +223,6 @@ 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);
@@ -1081,9 +1077,6 @@ 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; }