From: ehofman Date: Sun, 24 Apr 2005 11:17:23 +0000 (+0000) Subject: Harald Johnson: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f35f4c1ab850bc288457772ff5a400be0c6d7e0;p=flightgear.git Harald Johnson: - new and updated sources for the new volumetric clouds - 2 new textures for the clouds - an update to the render dialog to enable/disable and change a few parameters for the new clouds --- diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index d44d77e89..f63beedb4 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -22,6 +22,7 @@ #include #include +#include #include
#include
@@ -148,6 +149,21 @@ FGEnvironmentMgr::bind () &FGEnvironmentMgr::set_cloud_layer_coverage); fgSetArchivable(buf); } + fgTie("/sim/rendering/clouds3d-enable", &sgEnviro, + &SGEnviro::get_clouds_enable_state, + &SGEnviro::set_clouds_enable_state); + fgTie("/sim/rendering/clouds3d-vis-range", &sgEnviro, + &SGEnviro::get_clouds_visibility, + &SGEnviro::set_clouds_visibility); + fgTie("/sim/rendering/clouds3d-density", &sgEnviro, + &SGEnviro::get_clouds_density, + &SGEnviro::set_clouds_density); + fgTie("/sim/rendering/clouds3d-cache-size", &sgEnviro, + &SGEnviro::get_clouds_CacheSize, + &SGEnviro::set_clouds_CacheSize); + fgTie("/sim/rendering/precipitation-enable", &sgEnviro, + &SGEnviro::get_precipitation_enable_state, + &SGEnviro::set_precipitation_enable_state); } void