]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
Generate sea level pressure from metar
[flightgear.git] / src / Environment / fgclouds.hxx
index 94367ba5881af3f434b2e041f52677b2432e9954..96dc20ce355c6f30163a5c6980f0d9930d11a0df 100644 (file)
@@ -42,31 +42,17 @@ 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;
-        SGPropertyNode *last_env_config, *last_env_clouds;
 
 public:
-       FGClouds(FGEnvironmentCtrl * controller);
+       FGClouds();
        ~FGClouds();
 
        void init(void);