]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.hxx
Set the format default to float instead of int.
[flightgear.git] / src / Sound / fg_fx.hxx
index aaca87b9f01fec8d5161ff1e8357ce006f4619a2..116b61b550cce10c3892e9c8beddc680bac86b5f 100644 (file)
@@ -24,9 +24,9 @@
 #ifndef __FGFX_HXX
 #define __FGFX_HXX 1
 
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
-class Sound;
+class SGXmlSound;
 
 /**
  * Generator for FlightGear sound effects.
@@ -35,7 +35,7 @@ class Sound;
  * on current flight conditions.  The sound manager must be initialized
  * before this object is.
  */
-class FGFX : public FGSubsystem
+class FGFX : public SGSubsystem
 {
 
 public:
@@ -51,7 +51,13 @@ public:
 
 private:
 
-  vector<Sound *> _sound;
+  vector<SGXmlSound *> _sound;
+
+  bool last_pause;
+  double last_volume;
+
+  SGPropertyNode *_pause;
+  SGPropertyNode *_volume;
 
 };