1
0
Fork 0

Fix --enable-mouse-pointer command line option

This commit is contained in:
PlayeRom 2021-11-09 21:54:16 +01:00 committed by James Turner
parent a7b9721296
commit db8092351d

View file

@ -175,7 +175,7 @@ void fgSetDefaults ()
fgSetBool("/sim/startup/splash-screen", true); fgSetBool("/sim/startup/splash-screen", true);
// we want mouse-pointer to have an undefined value if nothing is // we want mouse-pointer to have an undefined value if nothing is
// specified so we can do the right thing for voodoo-1/2 cards. // specified so we can do the right thing for voodoo-1/2 cards.
// fgSetString("/sim/startup/mouse-pointer", "disabled"); // fgSetString("/sim/startup/mouse-pointer", "false");
fgSetBool("/controls/flight/auto-coordination", false); fgSetBool("/controls/flight/auto-coordination", false);
fgSetString("/sim/logging/priority", "alert"); fgSetString("/sim/logging/priority", "alert");
@ -1790,8 +1790,8 @@ struct OptionDesc {
{"compositor", true, OPTION_STRING, "/sim/rendering/default-compositor", false, "", 0 }, {"compositor", true, OPTION_STRING, "/sim/rendering/default-compositor", false, "", 0 },
{"disable-splash-screen", false, OPTION_BOOL, "/sim/startup/splash-screen", false, "", 0 }, {"disable-splash-screen", false, OPTION_BOOL, "/sim/startup/splash-screen", false, "", 0 },
{"enable-splash-screen", false, OPTION_BOOL, "/sim/startup/splash-screen", true, "", 0 }, {"enable-splash-screen", false, OPTION_BOOL, "/sim/startup/splash-screen", true, "", 0 },
{"disable-mouse-pointer", false, OPTION_STRING, "/sim/startup/mouse-pointer", false, "disabled", 0 }, {"disable-mouse-pointer", false, OPTION_STRING, "/sim/startup/mouse-pointer", false, "false", 0 },
{"enable-mouse-pointer", false, OPTION_STRING, "/sim/startup/mouse-pointer", false, "enabled", 0 }, {"enable-mouse-pointer", false, OPTION_STRING, "/sim/startup/mouse-pointer", false, "true", 0 },
{"disable-random-objects", false, OPTION_BOOL, "/sim/rendering/random-objects", false, "", 0 }, {"disable-random-objects", false, OPTION_BOOL, "/sim/rendering/random-objects", false, "", 0 },
{"enable-random-objects", false, OPTION_BOOL, "/sim/rendering/random-objects", true, "", 0 }, {"enable-random-objects", false, OPTION_BOOL, "/sim/rendering/random-objects", true, "", 0 },
{"disable-random-vegetation", false, OPTION_BOOL, "/sim/rendering/random-vegetation", false, "", 0 }, {"disable-random-vegetation", false, OPTION_BOOL, "/sim/rendering/random-vegetation", false, "", 0 },