diff options
author | Alyssa Milburn | 2011-03-31 22:39:46 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-03-31 22:39:46 +0200 |
commit | 759040d6793b1a2302f9150ae587634fbff25b91 (patch) | |
tree | 3c9b6eafca8d956d7036f3925d342fcfc5ebda5e | |
parent | ab97a5e493ba0f6fa9a4369bc445cb36ef8393cb (diff) | |
download | scummvm-rg350-759040d6793b1a2302f9150ae587634fbff25b91.tar.gz scummvm-rg350-759040d6793b1a2302f9150ae587634fbff25b91.tar.bz2 scummvm-rg350-759040d6793b1a2302f9150ae587634fbff25b91.zip |
MOHAWK: Add/update some LB debug/warning stuff.
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index a1bda0cc38..74dbfb3437 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -117,6 +117,9 @@ Common::Error MohawkEngine_LivingBooks::run() { debug("Starting Living Books Title \'%s\'", _title.c_str()); if (!_copyright.empty()) debug("Copyright: %s", _copyright.c_str()); + debug("This book has %d pages in %d languages.", _numPages, _numLanguages); + if (_poetryMode) + debug("Running in poetry mode."); if (!_screenWidth || !_screenHeight) error("Could not find xRes/yRes variables"); @@ -1360,8 +1363,9 @@ NodeState LBAnimationNode::update(bool seeking) { assert(entry.size == 4); uint16 strLen = READ_BE_UINT16(entry.data + 2); - if (strLen) - warning("Named wave file encountered"); + if (strLen) { + warning("Named wave file encountered (strlen %04x, id %d)", strLen, soundResourceId); + } switch (entry.opcode) { case kLBAnimOpPlaySound: |