#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;
-
-class SGSampleGroup;
+// forward decls
+class SGPropertyNode;
class SGCloudField;
-class SGNewCloud;
-class FGMetar;
-//class FGEnvironmentCtrl;
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 alt, 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;
- SGSoundSample *snd_lightning;
- bool clouds_3d_enabled;
+ bool clouds_3d_enabled;
+ int index;
+
+ bool add3DCloud(const SGPropertyNode *arg);
+ bool delete3DCloud(const SGPropertyNode *arg);
+ bool move3DCloud(const SGPropertyNode *arg);
+
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);
+ bool get_3dClouds() const;
+ void set_3dClouds(bool enable);
+
};
#endif // _FGCLOUDS_HXX
+