diff options
author | Andrei Prykhodko | 2018-07-21 16:23:57 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-07-21 16:23:57 +0300 |
commit | cb3945cf4ffc9fc9eb3b834dafae43d57afe19ea (patch) | |
tree | b43c867c5aaef6fbbcb9a7aaeb4a2814d5bb242a /engines/pink/objects/actions/action_sound.cpp | |
parent | 8a3936b3212ad20d8ad1c07bc7da6b13dffe5dfb (diff) | |
download | scummvm-rg350-cb3945cf4ffc9fc9eb3b834dafae43d57afe19ea.tar.gz scummvm-rg350-cb3945cf4ffc9fc9eb3b834dafae43d57afe19ea.tar.bz2 scummvm-rg350-cb3945cf4ffc9fc9eb3b834dafae43d57afe19ea.zip |
PINK: hid debug output under channels and levels
Diffstat (limited to 'engines/pink/objects/actions/action_sound.cpp')
-rw-r--r-- | engines/pink/objects/actions/action_sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pink/objects/actions/action_sound.cpp b/engines/pink/objects/actions/action_sound.cpp index 6c13c42ac2..6491c09d01 100644 --- a/engines/pink/objects/actions/action_sound.cpp +++ b/engines/pink/objects/actions/action_sound.cpp @@ -46,7 +46,7 @@ void ActionSound::deserialize(Archive &archive) { } void ActionSound::toConsole() { - debug("\tActionSound: _name = %s, _fileName = %s, _volume = %u, _isLoop = %u," + debugC(6, kPinkDebugLoadingObjects, "\tActionSound: _name = %s, _fileName = %s, _volume = %u, _isLoop = %u," " _isBackground = %u", _name.c_str(), _fileName.c_str(), _volume, _isLoop, _isBackground); } @@ -62,7 +62,7 @@ void ActionSound::start() { _sound.play(page->getResourceStream(_fileName), soundType, _volume, 0, _isLoop); - debug("Actor %s has now ActionSound %s", _actor->getName().c_str(), _name.c_str()); + debugC(6, kPinkDebugGeneral, "Actor %s has now ActionSound %s", _actor->getName().c_str(), _name.c_str()); } void ActionSound::end() { @@ -72,7 +72,7 @@ void ActionSound::end() { director->removeSound(this); } - debug("ActionSound %s of Actor %s is ended", _name.c_str(), _actor->getName().c_str()); + debugC(6, kPinkDebugGeneral, "ActionSound %s of Actor %s is ended", _name.c_str(), _actor->getName().c_str()); } void ActionSound::update() { |