diff options
author | Eugene Sandulenko | 2010-06-15 10:27:23 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:27:23 +0000 |
commit | 14205bdbc0aaeea34824c8f2dc43ec273955c7fd (patch) | |
tree | f9e246524e3e2d0d58b6c29db388b595fd61525b /engines/agi | |
parent | 1c1fb7c9acb77d552e51d7f41d91fadb35c63ee1 (diff) | |
download | scummvm-rg350-14205bdbc0aaeea34824c8f2dc43ec273955c7fd.tar.gz scummvm-rg350-14205bdbc0aaeea34824c8f2dc43ec273955c7fd.tar.bz2 scummvm-rg350-14205bdbc0aaeea34824c8f2dc43ec273955c7fd.zip |
AGI: add more status-related debug output.
svn-id: r49731
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/keyboard.cpp | 2 | ||||
-rw-r--r-- | engines/agi/text.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index 2bea49a807..e0e1bca045 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -320,7 +320,7 @@ void AgiEngine::handleKeys(int key) { // Clear to start a new line _game.hasPrompt = 0; _game.inputBuffer[_game.cursorPos = 0] = 0; - debugC(3, kDebugLevelInput, "clear lines"); + debugC(3, kDebugLevelInput | kDebugLevelText, "clear lines"); clearLines(l, l + 1, bg); flushLines(l, l + 1); #ifdef __DS__ diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index ee9aebf240..5689b691a9 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -214,6 +214,7 @@ void AgiEngine::printTextConsole(const char *msg, int x, int y, int len, int fg, x *= CHAR_COLS; y *= 10; + debugC(4, kDebugLevelText, "printTextConsole(): %s, %d, %d, %d, %d, %d", msg, x, y, len, fg, bg); printText2(1, msg, 0, x, y, len, fg, bg); } @@ -699,6 +700,8 @@ void AgiEngine::clearLines(int l1, int l2, int c) { // inc for endline so it matches the correct num // ie, from 22 to 24 is 3 lines, not 2 lines. + debugC(4, kDebugLevelText, "clearLines(%d, %d, %d)", l1, l2, c); + l1 *= CHAR_LINES; l2 *= CHAR_LINES; l2 += CHAR_LINES - 1; |