X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Ffgclouds.hxx;h=8a956d74829c05b05c9f8ae973ce731bae7e8a18;hb=474789269b7656509f62339c17e62a55b6157d43;hp=94367ba5881af3f434b2e041f52677b2432e9954;hpb=b0b4ab500346782b6750024de0318cd0d9460c47;p=flightgear.git diff --git a/src/Environment/fgclouds.hxx b/src/Environment/fgclouds.hxx index 94367ba58..8a956d748 100644 --- a/src/Environment/fgclouds.hxx +++ b/src/Environment/fgclouds.hxx @@ -34,39 +34,26 @@ 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; - SGPropertyNode *last_env_config, *last_env_clouds; public: - FGClouds(FGEnvironmentCtrl * controller); + FGClouds(); ~FGClouds(); void init(void);