| 10 | #include <iostream> |
| 11 | |
| 12 | Sound::Sound() |
| 13 | { |
| 14 | #if defined(USE_FMOD) |
| 15 | FMOD::System_Create(&system); |
| 16 | system->init(32, FMOD_INIT_NORMAL, 0); |
| 17 | #endif |
| 18 | masterVolume = DEFAULT_MASTER_VOLUME; |
| 19 | musicVolume = DEFAULT_MUSIC_VOLUME; |
| 20 | sfxVolume = DEFAULT_SFX_VOLUME; |
| 21 | cantPlayGUISound = 0; |
| 22 | cantPlaySfxSound = 0; |
| 23 | } |
| 24 | |
| 25 | Sound::~Sound() |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected