ScummVM API documentation
Wintermute::BaseSoundMgr Class Reference
Inheritance diagram for Wintermute::BaseSoundMgr:
Wintermute::BaseClass

Public Member Functions

float posToPan (int x, int y)
 
bool resumeAll ()
 
bool pauseAll (bool includingMusic=true)
 
bool cleanup ()
 
byte getMasterVolumePercent ()
 
byte getMasterVolume ()
 
bool setMasterVolumePercent (byte percent)
 
byte getVolumePercent (TSoundType type)
 
bool setVolumePercent (TSoundType type, byte percent)
 
bool setVolume (TSoundType type, int volume)
 
bool removeSound (BaseSoundBuffer *sound)
 
BaseSoundBufferaddSound (const char *filename, TSoundType type=TSoundType::SOUND_SFX, bool streamed=false, uint32 initialPrivateVolume=100)
 
bool addSound (BaseSoundBuffer *sound, TSoundType type=TSoundType::SOUND_SFX)
 
bool initLoop ()
 
bool initialize ()
 
 BaseSoundMgr (BaseGame *inGame)
 
void saveSettings ()
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *gameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

int32 _volumeMaster
 
bool _soundAvailable
 
BaseArray< BaseSoundBuffer * > _sounds
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_game
 
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

The documentation for this class was generated from the following file: