]> git.mxchange.org Git - flightgear.git/commitdiff
Remove pre-OSG 'enable/disable-textures' option.
authorJames Turner <zakalawe@mac.com>
Fri, 21 Feb 2014 15:56:24 +0000 (07:56 -0800)
committerJames Turner <zakalawe@mac.com>
Fri, 21 Feb 2014 15:57:35 +0000 (07:57 -0800)
These have been non-functional for a long time, remove
to avoid further confusion.

man/fgfs.1.in
src/Main/options.cxx
src/Viewer/renderer.cxx

index 464212afe34a09744de555aaec3c41963acd4764..cdb65eb78274beedd358b7ec335b41ecfe7dd09e 100644 (file)
@@ -112,9 +112,6 @@ Disable fuel freeze (enabling fuel consumption).
 .B "--disable-fullscreen"
 Disable fullscreen mode.
 .TP
-.B "--disable-game-mode"
-Disable fullscreen game mode.
-.TP
 .B "--disable-horizon-effect"
 Disable celestial body growth illusion near the horizon..
 .TP
@@ -124,9 +121,6 @@ Disable 2D HUD.
 .B "--disable-hud-3d"
 Disable 3D HUD.
 .TP
-.B "--disable-intro-music"
-Disable introduction music.
-.TP
 .B "--disable-mouse-pointer"
 Disable extra mouse pointer.
 .TP
@@ -145,9 +139,6 @@ Disable specular reflections on textured objects.
 .B "--disable-splash-screen"
 Disable splash screen.
 .TP
-.B "--disable-textures"
-Disable textures.
-.TP
 .B "--disable-wireframe"
 Disable wireframe drawing mode.
 .TP
@@ -178,9 +169,6 @@ Enable fuel freeze (disabling fuel consumption).
 .B "--enable-fullscreen"
 Enable fullscreen mode.
 .TP
-.B "--enable-game-mode"
-Enable fullscreen game mode.
-.TP
 .B "--enable-horizon-effect"
 Enable celestial body growth illusion near the horizon.
 .TP
@@ -190,9 +178,6 @@ Enable 2D HUD.
 .B "--enable-hud-3d"
 Enable 3D HUD.
 .TP
-.B "--enable-intro-music"
-Enable introduction music.
-.TP
 .B "--enable-mouse-pointer"
 Enable extra mouse pointer (i.e. for full screen voodoo/voodoo-II
 based cards.)
@@ -212,9 +197,6 @@ Enable specular reflections on textured objects.
 .B "--enable-splash-screen"
 Enable splash screen.
 .TP
-.B "--enable-textures"
-Enable textures.
-.TP
 .B "--enable-wireframe"
 Enable wireframe drawing mode.
 .TP
index a9de344b6b237d38a4aa3585635e1e92a74d24d5..c1996bbef6ed22cf873393109a9b18173a562d7a 100644 (file)
@@ -185,7 +185,6 @@ void fgSetDefaults ()
     fgSetBool("/environment/clouds/status", true);
     fgSetBool("/sim/startup/fullscreen", false);
     fgSetBool("/sim/rendering/shading", true);
-    fgSetBool("/sim/rendering/textures", true);
     fgTie( "/sim/rendering/filtering", SGGetTextureFilter, SGSetTextureFilter, false);
     fgSetInt("/sim/rendering/filtering", 1);
     fgSetBool("/sim/rendering/wireframe", false);
@@ -1532,8 +1531,6 @@ struct OptionDesc {
     {"restore-defaults",             false, OPTION_BOOL,   "/sim/startup/restore-defaults", true, "", 0 },
     {"shading-flat",                 false, OPTION_BOOL,   "/sim/rendering/shading", false, "", 0 },
     {"shading-smooth",               false, OPTION_BOOL,   "/sim/rendering/shading", true, "", 0 },
-    {"disable-textures",             false, OPTION_BOOL,   "/sim/rendering/textures", false, "", 0 },
-    {"enable-textures",              false, OPTION_BOOL,   "/sim/rendering/textures", true, "", 0 },
     {"texture-filtering",            false, OPTION_INT,    "/sim/rendering/filtering", 1, "", 0 },
     {"disable-wireframe",            false, OPTION_BOOL,   "/sim/rendering/wireframe", false, "", 0 },
     {"enable-wireframe",             false, OPTION_BOOL,   "/sim/rendering/wireframe", true, "", 0 },
index 52e84bfc1f91c1281c8a90fa8d9413ac23834e06..944d598b56c488e573c8c879df948a690132bc49 100644 (file)
@@ -551,7 +551,6 @@ FGRenderer::init( void )
     _enhanced_lighting    = fgGetNode("/sim/rendering/enhanced-lighting", true);
     _distance_attenuation = fgGetNode("/sim/rendering/distance-attenuation", true);
     _horizon_effect       = fgGetNode("/sim/rendering/horizon-effect", true);
-    _textures             = fgGetNode("/sim/rendering/textures", true);
 
     _altitude_ft = fgGetNode("/position/altitude-ft", true);
 
@@ -1618,10 +1617,8 @@ FGRenderer::update( ) {
   
     osg::Camera *camera = viewer->getCamera();
 
-    if ( _textures->getBoolValue() ) {
-        SGVec4f clearColor(l->adj_fog_color());
-        camera->setClearColor(toOsg(clearColor));
-    }
+    SGVec4f clearColor(l->adj_fog_color());
+    camera->setClearColor(toOsg(clearColor));
 
     updateSky();