]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/JSBSim.hxx
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / JSBSim / JSBSim.hxx
index d1a54a5a3d66d676293765b5ab97fb70091e4869..64f1dfcb1364b5ff226e2055972c2833939caf82 100644 (file)
@@ -205,6 +205,9 @@ public:
     void do_trim(void);
     void update_ic(void);
 
+    //** Handle a crash of the user aircraft. */
+    void crash_handler();
+
 private:
     FGFDMExec *fdmex;
     FGInitialCondition *fgic;
@@ -222,8 +225,8 @@ private:
     FGGroundReactions *GroundReactions;
 
     int runcount;
-    float trim_elev;
-    float trim_throttle;
+    double trim_elev;
+    double trim_throttle;
 
     SGPropertyNode *startup_trim;
     SGPropertyNode *trimmed;
@@ -263,6 +266,10 @@ private:
     void init_gear(void);
     void update_gear(void);
 
+    bool reset_on_crash;
+    bool crashed;
+    string crash_message;
+
 };