1
0
Fork 0

Added --disable-random-objects and --enable-random-objects options.

This commit is contained in:
david 2002-07-20 23:10:16 +00:00
parent ab91bbe17a
commit 6ca17098b8

View file

@ -582,6 +582,10 @@ parse_option (const string& arg)
fgSetString("/sim/startup/mouse-pointer", "disabled"); fgSetString("/sim/startup/mouse-pointer", "disabled");
} else if ( arg == "--enable-mouse-pointer" ) { } else if ( arg == "--enable-mouse-pointer" ) {
fgSetString("/sim/startup/mouse-pointer", "enabled"); fgSetString("/sim/startup/mouse-pointer", "enabled");
} else if ( arg == "--disable-random-objects" ) {
fgSetBool("/sim/rendering/random-objects", false);
} else if ( arg == "--enable-random-objects" ) {
fgSetBool("/sim/rendering/random-objects", true);
} else if ( arg == "--disable-freeze" ) { } else if ( arg == "--disable-freeze" ) {
fgSetBool("/sim/freeze/master", false); fgSetBool("/sim/freeze/master", false);
} else if ( arg == "--enable-freeze" ) { } else if ( arg == "--enable-freeze" ) {