ScummVM API documentation
Neverhood::SoundItem Class Reference

Public Member Functions

 SoundItem (NeverhoodEngine *vm, uint32 groupNameHash, uint32 soundFileHash, bool playOnceAfterRandomCountdown, int16 minCountdown, int16 maxCountdown, bool playOnceAfterCountdown, int16 initialCountdown, bool playLooping, int16 currCountdown)
 
void setSoundParams (bool playOnceAfterRandomCountdown, int16 minCountdown, int16 maxCountdown, int16 firstMinCountdown, int16 firstMaxCountdown)
 
void playSoundLooping ()
 
void stopSound ()
 
void setVolume (int volume)
 
void update ()
 
void setPlayOnceAfterCountdown (bool playOnceAfterCountdown)
 
uint32 getGroupNameHash () const
 
uint32 getFileHash () const
 
int16 getCurrCountdown () const
 

Protected Attributes

NeverhoodEngine_vm
 
uint32 _groupNameHash
 
uint32 _fileHash
 
bool _playOnceAfterRandomCountdown
 
int16 _minCountdown
 
int16 _maxCountdown
 
bool _playOnceAfterCountdown
 
int16 _initialCountdown
 
bool _playLooping
 
int16 _currCountdown
 
SoundResource_soundResource
 

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