]> git.mxchange.org Git - flightgear.git/commitdiff
First pass at incorporating Christian's BalloonSim.
authorcurt <curt>
Tue, 12 Oct 1999 03:30:00 +0000 (03:30 +0000)
committercurt <curt>
Tue, 12 Oct 1999 03:30:00 +0000 (03:30 +0000)
src/Main/fg_init.cxx
src/Main/options.cxx

index 1a8ba5439ba6dec1b9f9f37a0abc09970a580741..b985be58345888e62e0bee92e606465327439a10 100644 (file)
@@ -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" );
index 2ac9cb0caaceb5dc0a754351695241b6515bb9ef..00e0ac99396ae53e40d16216e53a80ecb3046bb9 100644 (file)
@@ -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" ) {