Remove unused properties and cmd options
This commit is contained in:
parent
a5443b77e0
commit
2913b72f43
3 changed files with 1 additions and 19 deletions
|
@ -351,8 +351,7 @@ void MetarProperties::setMetar( SGSharedPtr<FGMetar> m )
|
|||
|
||||
// fog/mist/haze cloud layer does not work with 3d clouds yet :-(
|
||||
bool setGroundCloudLayer = _rootNode->getBoolValue("set-ground-cloud-layer", false ) &&
|
||||
false == (fgGetBool("/sim/rendering/shader-effects", false ) &&
|
||||
fgGetBool("/sim/rendering/clouds3d-enable", false ) );
|
||||
false == fgGetBool("/sim/rendering/clouds3d-enable", false);
|
||||
|
||||
if( setGroundCloudLayer ) {
|
||||
// create a cloud layer #0 starting at the ground if its fog, mist or haze
|
||||
|
|
|
@ -1030,11 +1030,6 @@ void fgCreateSubsystems(bool duringReset) {
|
|||
|
||||
globals->add_subsystem("gui", new NewGUI, SGSubsystemMgr::INIT);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Initialize the 2D cloud subsystem.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
fgGetBool("/sim/rendering/bump-mapping", false);
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Initialize the canvas 2d drawing subsystem.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -921,16 +921,6 @@ fgOptFgScenery( const char *arg )
|
|||
return FG_OPTIONS_OK;
|
||||
}
|
||||
|
||||
static int
|
||||
fgOptEnhancedLighting( const char *arg )
|
||||
{
|
||||
SG_LOG(SG_ALL,SG_ALERT,
|
||||
"the options --enable-enhanced-lighting and "
|
||||
"--disable-enhanced-lighting are no longer supported and will be "
|
||||
"removed in a future FlightGear version! Please do not use them");
|
||||
return FG_OPTIONS_EXIT;
|
||||
}
|
||||
|
||||
static int
|
||||
fgOptAllowNasalRead( const char *arg )
|
||||
{
|
||||
|
@ -1887,8 +1877,6 @@ struct OptionDesc {
|
|||
{"fog-nicest", false, OPTION_STRING, "/sim/rendering/fog", false, "nicest", 0 },
|
||||
{"disable-horizon-effect", false, OPTION_BOOL, "/sim/rendering/horizon-effect", false, "", 0 },
|
||||
{"enable-horizon-effect", false, OPTION_BOOL, "/sim/rendering/horizon-effect", true, "", 0 },
|
||||
{"disable-enhanced-lighting", false, OPTION_FUNC, "", false, "", fgOptEnhancedLighting },
|
||||
{"enable-enhanced-lighting", false, OPTION_FUNC, "", false, "", fgOptEnhancedLighting },
|
||||
{"disable-distance-attenuation", false, OPTION_BOOL, "/sim/rendering/distance-attenuation", false, "", 0 },
|
||||
{"enable-distance-attenuation", false, OPTION_BOOL, "/sim/rendering/distance-attenuation", true, "", 0 },
|
||||
{"disable-specular-highlight", false, OPTION_BOOL, "/sim/rendering/specular-highlight", false, "", 0 },
|
||||
|
|
Loading…
Add table
Reference in a new issue