]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
Added support for shared JSBSim engine and system configurations in fgdata.
[flightgear.git] / src / Environment / fgclouds.hxx
index 61ccaccfef6e8774bccd33703cc16dd9475be807..cd6df0c3b1653167fb5b2533b710ee7d3882fbb3 100644 (file)
 #ifndef _FGCLOUDS_HXX
 #define _FGCLOUDS_HXX
 
-#ifdef HAVE_CONFIG
-#  include <config.h>
-#endif
-
-#include <simgear/compiler.h>
-#include <simgear/sound/soundmgr_openal.hxx>
-#include <Main/fg_props.hxx>
-
 #include <string>
 
-using std::string;
-
+// forward decls
+class SGPropertyNode;
 class SGCloudField;
 
 class FGClouds {
 
 private:
-       double buildCloud(SGPropertyNode *cloud_def_root, SGPropertyNode *box_def_root, const string& name, double grid_z_rand, SGCloudField *layer);
-       void buildLayer(int iLayer, const string& name, double coverage);
+       double buildCloud(SGPropertyNode *cloud_def_root, SGPropertyNode *box_def_root,
+                      const std::string& name, double grid_z_rand, SGCloudField *layer);
+       void buildLayer(int iLayer, const std::string& name, double coverage);
 
        void buildCloudLayers(void);
 
        int update_event;
-#if 0
-       SGSoundSample *snd_lightning;
-#endif
-       bool clouds_3d_enabled;
-  int index;
 
+       bool clouds_3d_enabled;
+    int index;
+  
+    bool add3DCloud(const SGPropertyNode *arg);
+    bool delete3DCloud(const SGPropertyNode *arg);
+    bool move3DCloud(const SGPropertyNode *arg);
+    
 public:
        FGClouds();
        ~FGClouds();
@@ -64,9 +59,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