]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/environment_mgr.hxx
Mathias Froehlich:
[flightgear.git] / src / Environment / environment_mgr.hxx
index 08b67e045699ad05ca903db818934a4ed7307551..ff0111afeaeed2cb5dc92f6c8cec43e29a26413a 100644 (file)
@@ -24,8 +24,7 @@
 #define _ENVIRONMENT_MGR_HXX
 
 #include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 #ifdef SG_HAVE_STD_INCLUDES
 #  include <cmath>
 
 class FGEnvironment;
 class FGEnvironmentCtrl;
-
+class FGClouds;
 
 /**
  * Manage environment information.
  */
-class FGEnvironmentMgr : public FGSubsystem
+class FGEnvironmentMgr : public SGSubsystemGroup
 {
 
 public:
@@ -53,6 +52,7 @@ public:
   virtual ~FGEnvironmentMgr ();
 
   virtual void init ();
+  virtual void reinit ();
   virtual void bind ();
   virtual void unbind ();
   virtual void update (double dt);
@@ -87,6 +87,7 @@ private:
   FGEnvironment * _environment;        // always the same, for now
   FGEnvironmentCtrl * _controller; // always the same, for now
 
+  FGClouds *fgClouds;
 };
 
 #endif // _ENVIRONMENT_MGR_HXX