]> 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 961f88b1bd3f7c70e7d7abec06b8761a703a4467..64f1dfcb1364b5ff226e2055972c2833939caf82 100644 (file)
@@ -5,7 +5,7 @@
  Maintained by: Tony Peden, Curt Olson
  Date started:  02/01/1999
 
------- Copyright (C) 1999 - 2000  Curtis L. Olson (http://www.flightgear.org/~curt) ------
+------ Copyright (C) 1999 - 2000  Curtis L. Olson (curt@flightgear.org) ------
 
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License as
@@ -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;
+
 };