First pass at incorporating Christian's BalloonSim.
This commit is contained in:
parent
de03bd75bd
commit
c4963be66c
2 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
|||
#include <Astro/solarsystem.hxx>
|
||||
#include <Autopilot/autopilot.hxx>
|
||||
#include <Cockpit/cockpit.hxx>
|
||||
// #include <FDM/Balloon.h>
|
||||
#include <FDM/LaRCsim.hxx>
|
||||
#include <FDM/JSBsim.hxx>
|
||||
#include <Include/fg_constants.h>
|
||||
|
@ -231,6 +232,9 @@ bool fgInitSubsystems( void ) {
|
|||
cur_fdm_state = new FGLaRCsim;
|
||||
} else if ( current_options.get_flight_model() == FGInterface::FG_JSBSIM ) {
|
||||
cur_fdm_state = new FGJSBsim;
|
||||
// } else if ( current_options.get_flight_model() ==
|
||||
// FGInterface::FG_BALLOONSIM ) {
|
||||
// cur_fdm_state = new FGBalloonSim;
|
||||
} else {
|
||||
FG_LOG( FG_GENERAL, FG_ALERT,
|
||||
"No flight model, can't init aircraft" );
|
||||
|
|
|
@ -501,6 +501,8 @@ fgOPTIONS::parse_fdm( const string& fm ) {
|
|||
return FGInterface::FG_SLEW;
|
||||
} else if ( fm == "jsb" ) {
|
||||
return FGInterface::FG_JSBSIM;
|
||||
} else if ( fm == "balloon" ) {
|
||||
return FGInterface::FG_BALLOONSIM;
|
||||
} else if ( (fm == "larcsim") || (fm == "LaRCsim") ) {
|
||||
return FGInterface::FG_LARCSIM;
|
||||
} else if ( fm == "external" ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue