X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSound%2Ffg_fx.hxx;h=1f5336e359b1ecc67e8f51fc64a29d9eec9d9d1f;hb=cff6b2034de866df70a2b29feb3383ee8ccbbef6;hp=caa32646a80ed5a01d1581447849c17a0c42d2ec;hpb=c7ef67df800c8f5a57a1fe61b24e66f934774449;p=flightgear.git diff --git a/src/Sound/fg_fx.hxx b/src/Sound/fg_fx.hxx index caa32646a..1f5336e35 100644 --- a/src/Sound/fg_fx.hxx +++ b/src/Sound/fg_fx.hxx @@ -29,6 +29,7 @@ #include #include +#include #include class SGXmlSound; @@ -48,22 +49,27 @@ class FGFX : public SGSampleGroup public: - FGFX ( SGSoundMgr *smgr, const string &refname ); + FGFX ( const std::string &refname, SGPropertyNode *props = 0 ); virtual ~FGFX (); virtual void init (); virtual void reinit (); virtual void update (double dt); + void unbind(); private: + bool _is_aimodel; SGSharedPtr _avionics; std::vector _sound; + SGPropertyNode_ptr _props; SGPropertyNode_ptr _enabled; SGPropertyNode_ptr _volume; SGPropertyNode_ptr _avionics_enabled; SGPropertyNode_ptr _avionics_volume; + SGPropertyNode_ptr _avionics_ext; + SGPropertyNode_ptr _internal; };