[Scummvm-cvs-logs] SF.net SVN: scummvm:[49731] scummvm/trunk/engines/agi
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Jun 15 12:27:23 CEST 2010
Revision: 49731
http://scummvm.svn.sourceforge.net/scummvm/?rev=49731&view=rev
Author: sev
Date: 2010-06-15 10:27:23 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
AGI: add more status-related debug output.
Modified Paths:
--------------
scummvm/trunk/engines/agi/keyboard.cpp
scummvm/trunk/engines/agi/text.cpp
Modified: scummvm/trunk/engines/agi/keyboard.cpp
===================================================================
--- scummvm/trunk/engines/agi/keyboard.cpp 2010-06-15 10:27:04 UTC (rev 49730)
+++ scummvm/trunk/engines/agi/keyboard.cpp 2010-06-15 10:27:23 UTC (rev 49731)
@@ -320,7 +320,7 @@
// 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__
Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp 2010-06-15 10:27:04 UTC (rev 49730)
+++ scummvm/trunk/engines/agi/text.cpp 2010-06-15 10:27:23 UTC (rev 49731)
@@ -214,6 +214,7 @@
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 @@
// 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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list