From c4963be66ca7edb87cad3632619cac5024dbfffc Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 12 Oct 1999 03:30:00 +0000 Subject: [PATCH] First pass at incorporating Christian's BalloonSim. --- src/Main/fg_init.cxx | 4 ++++ src/Main/options.cxx | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 1a8ba5439..b985be583 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -56,6 +56,7 @@ #include #include #include +// #include #include #include #include @@ -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" ); diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 2ac9cb0ca..00e0ac993 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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" ) { -- 2.39.5