aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-26 22:57:30 +0100
committerEugene Sandulenko2017-02-26 23:08:22 +0100
commitf47602f87d73155ba8eb51cf7f67ba9a481b51de (patch)
tree0e61156874bb74b198503dc147bfc98776418d20
parenta8cbc03acced1c382113825b1708c93edb61d28f (diff)
downloadscummvm-rg350-f47602f87d73155ba8eb51cf7f67ba9a481b51de.tar.gz
scummvm-rg350-f47602f87d73155ba8eb51cf7f67ba9a481b51de.tar.bz2
scummvm-rg350-f47602f87d73155ba8eb51cf7f67ba9a481b51de.zip
DIRECTOR: More debug output on image rendering
-rw-r--r--engines/director/frame.cpp1
-rw-r--r--engines/director/score.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index fd0ee9844c..fdb342f9e8 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -548,6 +548,7 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) {
CastType castType = kCastTypeNull;
Cast *cast = nullptr;
if (_vm->getVersion() < 4) {
+ debugC(1, kDebugImages, "Channel: %d type: %d", i, _sprites[i]->_spriteType);
switch (_sprites[i]->_spriteType) {
case 0x01:
castType = kCastBitmap;
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 58d9b4bb69..705dac8d85 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -890,7 +890,7 @@ void Score::startLoop() {
_frames[_currentFrame]->prepareFrame(this);
while (!_stopPlay && _currentFrame < _frames.size()) {
- debugC(1, kDebugImages, "Current frame: %d", _currentFrame);
+ debugC(1, kDebugImages, "****************************** Current frame: %d", _currentFrame + 1);
update();
processEvents();
}