Added --disable-random-objects and --enable-random-objects options.
This commit is contained in:
parent
ab91bbe17a
commit
6ca17098b8
1 changed files with 4 additions and 0 deletions
|
@ -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" ) {
|
||||||
|
|
Loading…
Reference in a new issue