[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.39,1.40
David Eriksson
twogood at users.sourceforge.net
Thu Nov 13 03:48:05 CET 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv27705/queen
Modified Files:
talk.cpp
Log Message:
Just debug messages and comment stuff
Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- talk.cpp 13 Nov 2003 09:51:49 -0000 1.39
+++ talk.cpp 13 Nov 2003 11:47:04 -0000 1.40
@@ -796,6 +796,16 @@
int bankNum) {
// lines 1730-1823 in talk.c
+#if 0
+ debug(0, "Talk::defaultAnimation(\"%s\", %s, {\"%s\", %i, ...}, %i, %i)",
+ segment,
+ isJoe ? "true" : "false",
+ parameters->name,
+ parameters->state,
+ startFrame,
+ bankNum);
+#endif
+
if (segment[0] != 0) {
int bf;
@@ -849,7 +859,7 @@
}
}
else {
- debug(0, "Body action!");
+ debug(0, "[Talk::defaultAnimation] Body action!");
// Just do a body action
_graphics->bankOverpack(parameters->body, startFrame, bankNum);
}
@@ -983,6 +993,7 @@
if (_talkHead && isJoe) {
_graphics->bobSetText(bob, segment, textX, textY, color, (_talkHead == true));
+ // XXX hey, parameters will be NULL here!
defaultAnimation(segment, isJoe, parameters, startFrame, bankNum);
}
else {
@@ -1272,7 +1283,7 @@
int j;
for (j = 0; j < optionLines; j++) {
if (yOffset < 5) {
- debug(0, "Draw text '%s'", optionText[j]);
+ //debug(0, "Draw text '%s'", optionText[j]);
_graphics->textSet(
(j == 0) ? 0 : 24,
150 - PUSHUP + yOffset * LINE_HEIGHT,
@@ -1318,8 +1329,8 @@
// Changed zone, change text colors
int y;
- debug(0, "Changed zone. oldZone = %i, zone = %i",
- oldZone, zone);
+ /*debug(0, "Changed zone. oldZone = %i, zone = %i",
+ oldZone, zone);*/
if (zone > 0) {
for (y = _logic->zoneBox(ZONE_PANEL, zone).y1; y < _logic->zoneBox(ZONE_PANEL, zone).y2; y += 10)
More information about the Scummvm-git-logs
mailing list