X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FEnvironment%2Ffgclouds.hxx;h=34ac595e311a7d275b96d18c29fbd264711d5024;hb=118d8fbca5d98e994d572e4c922f76ba2cab9e52;hp=dff1f8fd0cc6a0ffd4959644d1c8755e1661efa4;hpb=da940af4841ec4efe52390be6374413116893d1f;p=flightgear.git diff --git a/src/Environment/fgclouds.hxx b/src/Environment/fgclouds.hxx index dff1f8fd0..34ac595e3 100644 --- a/src/Environment/fgclouds.hxx +++ b/src/Environment/fgclouds.hxx @@ -34,48 +34,30 @@ using std::string; -class SGNewCloud; class SGCloudField; -class FGMetar; -class FGEnvironmentCtrl; class FGClouds { private: -void buildCloud(SGPropertyNode *cloud_def_root, SGPropertyNode *box_def_root, const string& name, sgVec3 pos, SGCloudField *layer); - void buildLayer(int iLayer, const string& name, double alt, double coverage); + 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); 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 (); - 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; + bool clouds_3d_enabled; public: - FGClouds(FGEnvironmentCtrl * controller); + FGClouds(); ~FGClouds(); - void build(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