void do_trim(void);
void update_ic(void);
+ //** Handle a crash of the user aircraft. */
+ void crash_handler();
+
private:
FGFDMExec *fdmex;
FGInitialCondition *fgic;
FGGroundReactions *GroundReactions;
int runcount;
- float trim_elev;
- float trim_throttle;
+ double trim_elev;
+ double trim_throttle;
SGPropertyNode *startup_trim;
SGPropertyNode *trimmed;
void init_gear(void);
void update_gear(void);
+ bool reset_on_crash;
+ bool crashed;
+ string crash_message;
+
};