]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
Merge branch 'aperry/tsync'
[flightgear.git] / src / Environment / fgclouds.hxx
index 9e8f7c92c77003aaddb61777e7d24cb36673e7a9..96dc20ce355c6f30163a5c6980f0d9930d11a0df 100644 (file)
@@ -42,34 +42,19 @@ 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 buildMETAR(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 buildCloudLayers(void);
 
        int update_event;
        SGSoundSample *snd_lightning;
-       FGEnvironmentCtrl * _controller;
-       float station_elevation_ft;
         bool clouds_3d_enabled;
-        bool rebuild_required;
-        string last_scenario;
-        SGPropertyNode *last_env_config, *last_env_clouds;
 
 public:
-       FGClouds(FGEnvironmentCtrl * controller);
+       FGClouds();
        ~FGClouds();
 
-       void build(void);
-
        void init(void);
 
        int get_update_event(void) const;