]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/precipitation_mgr.hxx
Basics on catalog list model in the GUI.
[flightgear.git] / src / Environment / precipitation_mgr.hxx
index 6f2ab8dd782d4d94e18bebee532158c76361e9b4..449f7f47c332a60bdc6c6a63e75d854c8550da08 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/environment/precipitation.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 
 class FGPrecipitationMgr : public SGSubsystem
 {
@@ -39,17 +40,22 @@ private:
     osg::ref_ptr<osg::MatrixTransform> transform;
     osg::ref_ptr<SGPrecipitation> precipitation;
     float getPrecipitationAtAltitudeMax(void);
-
+    simgear::TiedPropertyList _tiedProperties;
 
 public:
     FGPrecipitationMgr();
     virtual ~FGPrecipitationMgr();
 
     // SGSubsystem methods
+    virtual void bind ();
+    virtual void unbind ();
     virtual void init ();
     virtual void update (double dt);
     
+    void setPrecipitationLevel(double l);
+
     osg::Group * getObject(void);
+
 };
 
 #endif