// Rendering options
fgSetString("/sim/rendering/fog", "nicest");
fgSetBool("/environment/clouds/status", true);
- fgSetDouble("/environment/clouds/altitude-ft", 5000);
fgSetBool("/sim/startup/fullscreen", false);
fgSetBool("/sim/rendering/shading", true);
fgSetBool("/sim/rendering/skyblend", true);
fgSetBool("/environment/clouds/status", false);
} else if ( arg == "--enable-clouds" ) {
fgSetBool("/environment/clouds/status", true);
- } else if ( arg.find( "--clouds-asl=" ) == 0 ) {
- // FIXME: check units
- if ( !strcmp(fgGetString("/sim/startup/units"), "feet") )
- fgSetDouble("/environment/clouds/altitude-ft",
- atof(arg.substr(13)));
- else
- fgSetDouble("/environment/clouds/altitude-ft",
- atof(arg.substr(13)) * SG_METER_TO_FEET);
} else if ( arg.find( "--fov=" ) == 0 ) {
parse_fov( arg.substr(6) );
} else if ( arg == "--disable-fullscreen" ) {
<< " --fog-nicest Enable nicest fog/haze" << endl
<< " --enable-clouds Enable cloud layers" << endl
<< " --disable-clouds Disable cloud layers" << endl
- << " --clouds-asl=altitude Specify altitude of cloud layer above sea" << endl
<< " level" << endl
<< " --fov=degrees Specify field of view angle" << endl
<< " --disable-fullscreen Disable fullscreen mode" << endl