]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / Environment / fgclouds.hxx
index 34ac595e311a7d275b96d18c29fbd264711d5024..d3dd88855d66d411a598f2ed6bbd85cd80ab8182 100644 (file)
@@ -27,6 +27,7 @@
 #endif
 
 #include <simgear/compiler.h>
+#include <simgear/math/sg_random.h>
 #include <simgear/sound/soundmgr_openal.hxx>
 #include <Main/fg_props.hxx>
 
@@ -45,19 +46,28 @@ private:
        void buildCloudLayers(void);
 
        int update_event;
+#if 0
        SGSoundSample *snd_lightning;
+#endif
        bool clouds_3d_enabled;
+  int index;
+  
+  // RNG seed to ensure cloud synchronization across multi-process
+  // deployments
+  mt seed;
 
 public:
        FGClouds();
        ~FGClouds();
 
-       void init(void);
+       void Init(void);
 
        int get_update_event(void) const;
        void set_update_event(int count);
        bool get_3dClouds() const;
        void set_3dClouds(bool enable);
+
 };
 
 #endif // _FGCLOUDS_HXX
+