X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSound%2Ffg_fx.hxx;h=7d5132dd9e2a9c85a80fc4ba97f423b03ddab104;hb=bcea720db3e29a62626b361f2149a7147e149f3b;hp=26c802f34a8f56953b26f5e5b7bbf0e488ea9c7a;hpb=13ec36af4218402eda39c680e8da6ca2c198733c;p=flightgear.git diff --git a/src/Sound/fg_fx.hxx b/src/Sound/fg_fx.hxx index 26c802f34..7d5132dd9 100644 --- a/src/Sound/fg_fx.hxx +++ b/src/Sound/fg_fx.hxx @@ -29,6 +29,7 @@ #include #include +#include #include class SGXmlSound; @@ -48,7 +49,7 @@ class FGFX : public SGSampleGroup public: - FGFX ( SGSoundMgr *smgr, const string &refname ); + FGFX ( const std::string &refname, SGPropertyNode *props = 0 ); virtual ~FGFX (); virtual void init (); @@ -57,14 +58,16 @@ public: 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_external; + SGPropertyNode_ptr _avionics_ext; SGPropertyNode_ptr _internal; };