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/sequences/sequence_item.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/sequences/sequence_item.cpp')
-rw-r--r-- | engines/pink/objects/sequences/sequence_item.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/pink/objects/sequences/sequence_item.cpp b/engines/pink/objects/sequences/sequence_item.cpp index 15a39f183c..ec8bc711a0 100644 --- a/engines/pink/objects/sequences/sequence_item.cpp +++ b/engines/pink/objects/sequences/sequence_item.cpp @@ -23,6 +23,7 @@ #include "common/debug.h" #include "pink/archive.h" +#include "pink/pink.h" #include "pink/objects/actions/action.h" #include "pink/objects/actors/actor.h" #include "pink/objects/pages/game_page.h" @@ -39,7 +40,7 @@ void SequenceItem::deserialize(Archive &archive) { } void SequenceItem::toConsole() { - debug("\t\t\t\tSequenceItem: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); + debugC(6, kPinkDebugLoadingObjects, "\t\t\t\tSequenceItem: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); } bool SequenceItem::execute(uint segment, Sequence *sequence, bool loadingSave) { @@ -68,7 +69,7 @@ bool SequenceItemLeader::isLeader() { } void SequenceItemLeader::toConsole() { - debug("\t\t\t\tSequenceItemLeader: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); + debugC(6, kPinkDebugLoadingObjects, "\t\t\t\tSequenceItemLeader: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); } @@ -78,7 +79,7 @@ void SequenceItemLeaderAudio::deserialize(Archive &archive) { } void SequenceItemLeaderAudio::toConsole() { - debug("\t\t\t\tSequenceItemLeaderAudio: _actor=%s, _action=%s _sample=%d", _actor.c_str(), _action.c_str(), _sample); + debugC(6, kPinkDebugLoadingObjects, "\t\t\t\tSequenceItemLeaderAudio: _actor=%s, _action=%s _sample=%d", _actor.c_str(), _action.c_str(), _sample); } bool SequenceItemDefaultAction::execute(uint segment, Sequence *sequence, bool loadingSave) { @@ -89,7 +90,7 @@ bool SequenceItemDefaultAction::execute(uint segment, Sequence *sequence, bool l } void SequenceItemDefaultAction::toConsole() { - debug("\t\t\t\tSequenceItemDefaultAction: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); + debugC(6, kPinkDebugLoadingObjects, "\t\t\t\tSequenceItemDefaultAction: _actor=%s, _action=%s", _actor.c_str(), _action.c_str()); } void SequenceItemDefaultAction::skip(Sequence *sequence) { |