class SGXmlSound;
/**
- * Generator for FlightGear sound effects.
+ * Generator for FlightGear model sound effects.
*
* This module uses a FGSampleGroup class to generate sound effects based
* on current flight conditions. The sound manager must be initialized
public:
- FGFX ( SGSoundMgr *smgr, const string &refname, SGPropertyNode *props = 0 );
+ 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<SGSampleGroup> _avionics;
std::vector<SGXmlSound *> _sound;