aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-15 10:34:50 +0200
committerEugene Sandulenko2016-08-15 19:34:46 +0200
commitd15a8951286dd745291a143fc29482c7f0e5b3c4 (patch)
treee512aaba90c4899fc80de8f333f8001d343bc888 /engines
parent56e180b292e9dc39a92e16ca3a06aca544427469 (diff)
downloadscummvm-rg350-d15a8951286dd745291a143fc29482c7f0e5b3c4.tar.gz
scummvm-rg350-d15a8951286dd745291a143fc29482c7f0e5b3c4.tar.bz2
scummvm-rg350-d15a8951286dd745291a143fc29482c7f0e5b3c4.zip
DIRECTOR: Lingo: Switch compilation debug to a channel
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 0ccf5a992b..9c52030976 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -146,7 +146,7 @@ const char *Lingo::findNextDefinition(const char *s) {
}
void Lingo::addCode(const char *code, ScriptType type, uint16 id) {
- debug(2, "Add code \"%s\" for type %d with id %d", code, type, id);
+ debugC(2, kDebugLingoCompile, "Add code \"%s\" for type %d with id %d", code, type, id);
if (_scripts[type].contains(id)) {
delete _scripts[type][id];
@@ -180,7 +180,7 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) {
else
_inFactory = false;
- debug(2, "Code chunk:\n#####\n%s#####", chunk.c_str());
+ debugC(2, kDebugLingoCompile, "Code chunk:\n#####\n%s#####", chunk.c_str());
parse(chunk.c_str());
@@ -191,7 +191,7 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) {
_hadError = true; // HACK: This is for preventing test execution
- debug(2, "Code chunk:\n#####\n%s#####", begin);
+ debugC(2, kDebugLingoCompile, "Code chunk:\n#####\n%s#####", begin);
parse(begin);
} else {
parse(code);
@@ -211,7 +211,7 @@ void Lingo::executeScript(ScriptType type, uint16 id) {
return;
}
- debug(2, "Executing script type: %d, id: %d", type, id);
+ debugC(2, kDebugLingoExec, "Executing script type: %d, id: %d", type, id);
_currentScript = _scripts[type][id];
_pc = 0;