]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.hxx
Forgot to implment the Node.getChild(name, index) form of the function
[flightgear.git] / src / Sound / fg_fx.hxx
index 6e59abb67b0b0433e83a0255833550a7b8d2f6ec..0cc29dc393ac10aab3b2e4fded1ad203006e8dc4 100644 (file)
 #ifndef __FGFX_HXX
 #define __FGFX_HXX 1
 
-#include <simgear/compiler.h>
-
-#include "fg_sound.hxx"
+#include <simgear/structure/subsystem_mgr.hxx>
 
+class SGSound;
 
 /**
  * Generator for FlightGear sound effects.
@@ -36,7 +35,7 @@
  * on current flight conditions.  The sound manager must be initialized
  * before this object is.
  */
-class FGFX : public FGSubsystem
+class FGFX : public SGSubsystem
 {
 
 public:
@@ -45,13 +44,14 @@ public:
   virtual ~FGFX ();
 
   virtual void init ();
+  virtual void reinit ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void update (double dt);
 
 private:
 
-  vector<FGSound *> _sound;
+  vector<SGSound *> _sound;
 
 };