X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Ffgclouds.hxx;h=d991893331b9e4d373c744d06a52e1f321efac9f;hb=c6f88e5b9be767d93fd34f3b01c0e949fbd0044b;hp=9e8f7c92c77003aaddb61777e7d24cb36673e7a9;hpb=7b547acbf9586c0569a36864e6efe98c8b4c5bb0;p=flightgear.git diff --git a/src/Environment/fgclouds.hxx b/src/Environment/fgclouds.hxx index 9e8f7c92c..d99189333 100644 --- a/src/Environment/fgclouds.hxx +++ b/src/Environment/fgclouds.hxx @@ -45,7 +45,7 @@ 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); - void buildMETAR(void); + void buildCloudLayers(void); void buildScenario( const string& scenario ); @@ -55,23 +55,26 @@ void buildCloud(SGPropertyNode *cloud_def_root, SGPropertyNode *box_def_root, co void update_env_config (); + void build(void); + int update_event; SGSoundSample *snd_lightning; FGEnvironmentCtrl * _controller; float station_elevation_ft; bool clouds_3d_enabled; - bool rebuild_required; string last_scenario; + string scenario; SGPropertyNode *last_env_config, *last_env_clouds; public: FGClouds(FGEnvironmentCtrl * controller); ~FGClouds(); - void build(void); - 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;