using std::string;
-class SGNewCloud;
+class SGSampleGroup;
class SGCloudField;
+class SGNewCloud;
class FGMetar;
-class FGEnvironmentCtrl;
+//class FGEnvironmentCtrl;
class FGClouds {
private:
-void buildCloud(SGPropertyNode *cloud_def_root, SGPropertyNode *box_def_root, const string& name, sgVec3 pos, SGCloudField *layer);
+ 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);
void buildCloudLayers(void);
- void buildScenario( const string& scenario );
-
- void setLayer( int iLayer, float alt_m, const string& coverage, const string& layer_type );
-
- void update_metar_properties( const FGMetar *m );
-
- void update_env_config ();
-
- void build(void);
-
int update_event;
SGSoundSample *snd_lightning;
- FGEnvironmentCtrl * _controller;
- float station_elevation_ft;
bool clouds_3d_enabled;
- string last_scenario;
- string scenario;
- SGPropertyNode_ptr last_env_config, last_env_clouds;
public:
- FGClouds(FGEnvironmentCtrl * controller);
+ FGClouds();
~FGClouds();
void init(void);
- void set_scenario(const char * sc);
- const char * get_scenario(void) const;
-
int get_update_event(void) const;
void set_update_event(int count);
bool get_3dClouds() const;