From fa17f684da1da7fded805746b75c454502ffe683 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Tue, 24 Nov 2015 00:10:10 +0100 Subject: ILLUSIONS: DUCKMAN: Start implementing the menu system Still work-in-progress, missing functionality and buggy Maybe needs some work for BBDOU where this isn't implemented yet. --- engines/illusions/sound.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/illusions/sound.cpp') diff --git a/engines/illusions/sound.cpp b/engines/illusions/sound.cpp index 5eebf00d21..5b1eea85f8 100644 --- a/engines/illusions/sound.cpp +++ b/engines/illusions/sound.cpp @@ -37,7 +37,7 @@ MusicPlayer::~MusicPlayer() { } void MusicPlayer::play(uint32 musicId, bool looping, int16 volume, int16 pan) { - debug("MusicPlayer::play(%08X)", musicId); + debug(1, "MusicPlayer::play(%08X)", musicId); if (_flags & 1) { stop(); _musicId = musicId; @@ -57,7 +57,7 @@ void MusicPlayer::play(uint32 musicId, bool looping, int16 volume, int16 pan) { } void MusicPlayer::stop() { - debug("MusicPlayer::stop()"); + debug(1, "MusicPlayer::stop()"); if ((_flags & 1) && (_flags & 2)) { if (g_system->getMixer()->isSoundHandleActive(_soundHandle)) g_system->getMixer()->stopHandle(_soundHandle); @@ -82,7 +82,7 @@ VoicePlayer::~VoicePlayer() { } bool VoicePlayer::cue(const char *voiceName) { - debug("VoicePlayer::cue(%s)", voiceName); + debug(1, "VoicePlayer::cue(%s)", voiceName); _voiceName = voiceName; _voiceStatus = 2; if (!isEnabled()) { @@ -147,7 +147,7 @@ void Sound::load() { } void Sound::unload() { - debug("Sound::unload() %08X", _soundEffectId); + debug(1, "Sound::unload() %08X", _soundEffectId); stop(); delete _stream; _stream = 0; -- cgit v1.2.3