diff options
author | Eugene Sandulenko | 2017-03-17 09:25:33 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-17 09:25:33 +0000 |
commit | 0c915687538d84d1a27534bc75f917e5be394eef (patch) | |
tree | d7d184b4dab57c6d38c317111d79e5e131bfa07d | |
parent | 444d193a36b4f6c20aad1c1294fad638da85d593 (diff) | |
download | scummvm-rg350-0c915687538d84d1a27534bc75f917e5be394eef.tar.gz scummvm-rg350-0c915687538d84d1a27534bc75f917e5be394eef.tar.bz2 scummvm-rg350-0c915687538d84d1a27534bc75f917e5be394eef.zip |
DIRECTOR: More debug output for frame loading
-rw-r--r-- | engines/director/frame.cpp | 12 | ||||
-rw-r--r-- | engines/director/score.cpp | 2 |
2 files changed, 9 insertions, 5 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index cceecdd579..92aa851d06 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -222,10 +222,14 @@ void Frame::readChannels(Common::ReadStreamEndian *stream) { sprite._unk3 = stream->readUint32(); } - debugC(kDebugLoading, 8, "%03d(%d)[%x,%x,%04x,%d/%d/%d/%d/%d] script:%d", - sprite._castId, sprite._enabled, sprite._x1, sprite._x2, sprite._flags, - sprite._startPoint.x, sprite._startPoint.y, sprite._width, sprite._height, - sprite._lineSize, sprite._scriptId); + if (sprite._castId) { + debugC(kDebugLoading, 4, "CH: %-3d castId: %03d(%s) (e:%d) [%x,%x, flags:%04x, %dx%d@%d,%d linesize: %d] script: %d", + i + 1, sprite._castId, numToCastNum(sprite._castId), sprite._enabled, sprite._x1, sprite._x2, sprite._flags, + sprite._width, sprite._height, sprite._startPoint.x, sprite._startPoint.y, + sprite._lineSize, sprite._scriptId); + } else { + debugC(kDebugLoading, 4, "CH: %-3d castId: 000", i + 1); + } } } diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 2797fe39d6..472bd739c5 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -1007,7 +1007,7 @@ Common::Array<Common::String> Score::loadStrings(Common::SeekableSubReadStreamEn strings.push_back(entryString); - debugC(4, kDebugLoading, "String %d:\n%s\n", i, entryString.c_str()); + debugC(6, kDebugLoading, "String %d:\n%s\n", i, entryString.c_str()); } free(data); |