#include <vector>
#include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/props.hxx>
#include <simgear/sound/sample_group.hxx>
class SGXmlSound;
public:
- FGFX ( SGSoundMgr *smgr, const string &refname );
+ FGFX ( SGSoundMgr *smgr, const string &refname, SGPropertyNode *props = 0 );
virtual ~FGFX ();
virtual void init ();
private:
+ bool _is_aimodel;
SGSharedPtr<SGSampleGroup> _avionics;
std::vector<SGXmlSound *> _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;
};