]> 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 7eab7f12828f1e7a4d198da7039cf8fde34075a1..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>
 
@@ -50,6 +51,10 @@ private:
 #endif
        bool clouds_3d_enabled;
   int index;
+  
+  // RNG seed to ensure cloud synchronization across multi-process
+  // deployments
+  mt seed;
 
 public:
        FGClouds();