]> git.mxchange.org Git - flightgear.git/commitdiff
Added --enable-clouds3d and --disable-clouds3d options.
authordavid <david>
Mon, 16 Sep 2002 02:46:23 +0000 (02:46 +0000)
committerdavid <david>
Mon, 16 Sep 2002 02:46:23 +0000 (02:46 +0000)
src/Main/options.cxx

index 852426cbe4f95091097831ffe6fc1dae897653f6..0d16b1953d5c555cf6dd1a8f9d736048af6ad673 100644 (file)
@@ -772,6 +772,10 @@ parse_option (const string& arg)
         fgSetBool("/environment/clouds/status", false);
     } else if ( arg == "--enable-clouds" ) {
         fgSetBool("/environment/clouds/status", true);
+    } else if ( arg == "--disable-clouds3d" ) {
+        fgSetBool("/sim/rendering/clouds3d", false);
+    } else if ( arg == "--enable-clouds3d" ) {
+        fgSetBool("/sim/rendering/clouds3d", true);
     } else if ( arg.find( "--fov=" ) == 0 ) {
        parse_fov( arg.substr(6) );
     } else if ( arg == "--disable-fullscreen" ) {