ScummVM API documentation
Toltecs::Sound Class Reference

Public Member Functions

 Sound (ToltecsEngine *vm)
 
void playSpeech (int16 resIndex)
 
void playSound (int16 resIndex, int16 type, int16 volume)
 
void playSoundAtPos (int16 resIndex, int16 x, int16 y)
 
void updateSpeech ()
 
void stopSpeech ()
 
void stopAll ()
 
void saveState (Common::WriteStream *out)
 
void loadState (Common::ReadStream *in, int version)
 

Protected Member Functions

void clearChannel (int channel)
 
void internalPlaySound (int16 resIndex, int16 type, int16 volume, int16 panning)
 
Audio::Mixer::SoundType getScummVMSoundType (SoundChannelType type) const
 

Protected Attributes

ToltecsEngine_vm
 
SoundChannel channels [kMaxChannels]
 

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