]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
Merge branch 'maint' into next
[flightgear.git] / src / Environment / fgclouds.hxx
index dff1f8fd0cc6a0ffd4959644d1c8755e1661efa4..d991893331b9e4d373c744d06a52e1f321efac9f 100644 (file)
@@ -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;