~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/Environment/precipitation_mgr.hxx

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#include <simgear/structure/subsystem_mgr.hxx>
33
33
#include <simgear/environment/precipitation.hxx>
34
 
 
 
34
#include <simgear/props/tiedpropertylist.hxx>
35
35
 
36
36
class FGPrecipitationMgr : public SGSubsystem
37
37
{
40
40
    osg::ref_ptr<osg::MatrixTransform> transform;
41
41
    osg::ref_ptr<SGPrecipitation> precipitation;
42
42
    float getPrecipitationAtAltitudeMax(void);
 
43
    simgear::TiedPropertyList _tiedProperties;
43
44
 
44
45
public:
45
46
    FGPrecipitationMgr();
46
47
    virtual ~FGPrecipitationMgr();
47
48
 
48
49
    // SGSubsystem methods
 
50
    virtual void bind ();
 
51
    virtual void unbind ();
49
52
    virtual void init ();
50
53
    virtual void update (double dt);
51
54