X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fenvironment%2Fprecipitation.hxx;h=8552647e15bf63cedad10e7d490bc571016645d3;hb=b47d1ad5fd8ed111cae99c1f65f5bb65a5371501;hp=bcf568c63708c2a5cc6e3ed71c82bf1b2d4a5faa;hpb=e0d02be0f5041afb67f4cf12fbb80098b8062b7b;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