ScummVM API documentation
Parallaction::SoundMan_ns Class Referenceabstract
Inheritance diagram for Parallaction::SoundMan_ns:
Parallaction::SoundManImpl Parallaction::AmigaSoundMan_ns Parallaction::DosSoundMan_ns

Public Types

enum  { MUSIC_ANY, MUSIC_CHARACTER, MUSIC_LOCATION }
 

Public Member Functions

 SoundMan_ns (Parallaction_ns *vm)
 
virtual void playSfx (const char *filename, uint channel, bool looping, int volume=-1)
 
virtual void stopSfx (uint channel)
 
void setMusicFile (const char *filename)
 
virtual void playMusic ()=0
 
virtual void stopMusic ()=0
 
virtual void playCharacterMusic (const char *character)=0
 
virtual void playLocationMusic (const char *location)=0
 
virtual void pause (bool p)
 
void execute (int command, const char *parm) override
 
void setMusicVolume (int value)
 

Protected Attributes

Parallaction_ns_vm
 
Audio::Mixer_mixer
 
char _musicFile [200]
 
bool _sfxLooping
 
int _sfxVolume
 
int _sfxRate
 
uint _sfxChannel
 
int _musicType
 

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