diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index f63beedb4..9dc036242 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -26,7 +26,6 @@ #include
#include
-#include
#include #include "environment.hxx" @@ -34,6 +33,11 @@ #include "environment_mgr.hxx" +class SGSky; +extern SGSky *thesky; + + + FGEnvironmentMgr::FGEnvironmentMgr () : _environment(new FGEnvironment) { @@ -161,6 +165,9 @@ FGEnvironmentMgr::bind () fgTie("/sim/rendering/clouds3d-cache-size", &sgEnviro, &SGEnviro::get_clouds_CacheSize, &SGEnviro::set_clouds_CacheSize); + fgTie("/sim/rendering/clouds3d-cache-resolution", &sgEnviro, + &SGEnviro::get_CacheResolution, + &SGEnviro::set_CacheResolution); fgTie("/sim/rendering/precipitation-enable", &sgEnviro, &SGEnviro::get_precipitation_enable_state, &SGEnviro::set_precipitation_enable_state);