aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDenis Kasak2009-08-12 00:56:44 +0000
committerDenis Kasak2009-08-12 00:56:44 +0000
commit3b0895dd2fdfd9dcadfeac021f0b58546fc72c26 (patch)
tree7dc09ef5d798a1e090d3abd9ce4df0b45fb2e06e /engines
parent9093e179cc3eab632de003321a3d0f14b28a6cdd (diff)
downloadscummvm-rg350-3b0895dd2fdfd9dcadfeac021f0b58546fc72c26.tar.gz
scummvm-rg350-3b0895dd2fdfd9dcadfeac021f0b58546fc72c26.tar.bz2
scummvm-rg350-3b0895dd2fdfd9dcadfeac021f0b58546fc72c26.zip
Added some debug info for loop statuses and dialogues.
svn-id: r43295
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/game.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index ef262ae7e8..a1652ab732 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -270,6 +270,9 @@ void Game::loop() {
Surface *surface = _vm->_screen->getSurface();
+ debugC(6, kDraciLogicDebugLevel, "loopstatus: %d, loopsubstatus: %d",
+ _loopStatus, _loopSubstatus);
+
do {
_vm->handleEvents();
@@ -534,7 +537,9 @@ void Game::dialogueMenu(int dialogueID) {
_dialogueExit = false;
hit = dialogueDraw();
- debug(2, "Hit: %d, _lines[hit]: %d", hit, _lines[hit]);
+ debug(7, kDraciLogicDebugLevel,
+ "hit: %d, _lines[hit]: %d, lastblock: %d, dialogueLines: %d, dialogueExit: %d",
+ hit, _lines[hit], _lastBlock, _dialogueLines, _dialogueExit);
if ((!_dialogueExit) && (hit != -1) && (_lines[hit] != -1)) {
if ((oldLines == 1) && (_dialogueLines == 1) && (_lines[hit] == _lastBlock)) {