22 #ifndef NUVIE_SOUND_SOUND_H 23 #define NUVIE_SOUND_SOUND_H 25 #include "ultima/nuvie/core/game.h" 26 #include "ultima/shared/std/string.h" 27 #include "ultima/shared/std/containers.h" 39 virtual bool Play(
bool looping =
false) = 0;
40 virtual bool Stop() = 0;
41 virtual bool FadeOut(
float seconds) = 0;
42 virtual bool SetVolume(uint8 volume) = 0;
43 const string &GetName()
const {
63 int i = NUVIE_RAND() % m_Sounds.size();
Definition: detection.h:27