]> 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 61ccaccfef6e8774bccd33703cc16dd9475be807..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();
@@ -64,9 +69,5 @@ public:
 
 };
 
-static bool do_delete_3Dcloud (const SGPropertyNode *arg);
-static bool do_move_3Dcloud (const SGPropertyNode *arg);
-static bool do_add_3Dcloud (const SGPropertyNode *arg);
-
 #endif // _FGCLOUDS_HXX