X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=simgear%2Fenvironment%2Fprecipitation.hxx;h=8552647e15bf63cedad10e7d490bc571016645d3;hb=2815688c7ebf2be0dcf3cc0d271bb694dafa8ae7;hp=bcf568c63708c2a5cc6e3ed71c82bf1b2d4a5faa;hpb=7dfb463ba9ac50e890718612cd6b55373b7cc4a8;p=simgear.git diff --git a/simgear/environment/precipitation.hxx b/simgear/environment/precipitation.hxx index bcf568c6..8552647e 100644 --- a/simgear/environment/precipitation.hxx +++ b/simgear/environment/precipitation.hxx @@ -36,6 +36,7 @@ class SGPrecipitation : public osg::Referenced { private: bool _freeze; + bool _enabled; float _snow_intensity; float _rain_intensity; @@ -56,6 +57,9 @@ public: void setFreezing(bool); void setRainIntensity(float); void setSnowIntensity(float); + + void setEnabled( bool ); + bool getEnabled() const; }; #endif