aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-17 15:16:21 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit0fa5505d659bcd0a3548f6c5d8fcfb84054b3cb8 (patch)
tree82c45421c4104d0f3e2ffd26286968a40d159933
parentdfdb194957e8b1634d1aa08bf2bc0659c038c9ac (diff)
downloadscummvm-rg350-0fa5505d659bcd0a3548f6c5d8fcfb84054b3cb8.tar.gz
scummvm-rg350-0fa5505d659bcd0a3548f6c5d8fcfb84054b3cb8.tar.bz2
scummvm-rg350-0fa5505d659bcd0a3548f6c5d8fcfb84054b3cb8.zip
DIRECTOR: Hide noisy debug messages
-rw-r--r--engines/director/lingo/lingo.cpp4
-rw-r--r--engines/director/resource.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index ddb1cb11f3..8341d5a958 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -81,7 +81,7 @@ Lingo::~Lingo() {
}
void Lingo::addCode(Common::String code, ScriptType type, uint16 id) {
- debug(0, "Add code \"%s\" for type %d with id %d", code.c_str(), type, id);
+ debug(2, "Add code \"%s\" for type %d with id %d", code.c_str(), type, id);
if (_scripts[type].contains(id)) {
delete _scripts[type][id];
@@ -97,7 +97,7 @@ void Lingo::processEvent(LEvent event, int entityId) {
if (!_eventHandlerTypes.contains(event))
error("processEvent: Unknown event %d for entity %d", event, entityId);
- debug(0, "processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
+ debug(2, "processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
}
} // End of namespace Director
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 7d56fc0285..3ac9b4b6ca 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -262,7 +262,7 @@ bool RIFFArchive::openStream(Common::SeekableReadStream *stream, uint32 startOff
stream->seek(startResPos);
- debug(0, "Found RIFF resource '%s' %d: %d @ 0x%08x", tag2str(tag), id, size, offset);
+ debug(3, "Found RIFF resource '%s' %d: %d @ 0x%08x", tag2str(tag), id, size, offset);
ResourceMap &resMap = _types[tag];
Resource &res = resMap[id];
@@ -364,7 +364,7 @@ bool RIFXArchive::openStream(Common::SeekableReadStream *stream, uint32 startOff
/*uint16 unk1 = */ subStream.readUint16();
/*uint32 unk2 = */ subStream.readUint32();
- debug(0, "Found RIFX resource index %d: '%s', %d @ 0x%08x", i, tag2str(tag), size, offset);
+ debug(3, "Found RIFX resource index %d: '%s', %d @ 0x%08x", i, tag2str(tag), size, offset);
Resource res;
res.offset = offset;
@@ -427,7 +427,7 @@ bool RIFXArchive::openStream(Common::SeekableReadStream *stream, uint32 startOff
}
const Resource &res = resources[index];
- debug(0, "Found RIFX resource: '%s' 0x%04x, %d @ 0x%08x", tag2str(resTag), id, res.size, res.offset);
+ debug(3, "Found RIFX resource: '%s' 0x%04x, %d @ 0x%08x", tag2str(resTag), id, res.size, res.offset);
_types[resTag][id] = res;
}