]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.hxx
Added two missing files from JSBSim.org that were missing in the last sync.
[flightgear.git] / src / Sound / fg_fx.hxx
index 3bfa58c3573e958134f31528bd13b832352aff22..864a898bb07219e5b7064dcb77ed6501de9171c0 100644 (file)
@@ -32,8 +32,8 @@
 #include <simgear/sound/sample_openal.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 
-SG_USING_STD(queue);
-SG_USING_STD(vector);
+using std::queue;
+using std::vector;
 
 class SGXmlSound;
 
@@ -72,10 +72,14 @@ public:
      * in order.
      */
     void play_message( SGSoundSample *_sample );
-    void play_message( const string path, const string fname );
+    void play_message( const string path, const string fname, double volume );
 
 private:
 
+    void update_pos_and_orientation(SGSoundMgr *smgr, double dt);
+    sgdVec3 last_visitor_pos;
+    sgdVec3 last_model_pos;
+
     vector<SGXmlSound *> _sound;
     queue<SGSoundSample *> _samplequeue;
 
@@ -84,7 +88,6 @@ private:
 
     SGPropertyNode_ptr _pause;
     SGPropertyNode_ptr _volume;
-
 };