[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.12,1.13
David Eriksson
twogood at users.sourceforge.net
Fri Oct 17 04:53:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv11387/queen
Modified Files:
talk.cpp
Log Message:
- Implement *WT
- Disable some debug output
Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- talk.cpp 16 Oct 2003 17:02:32 -0000 1.12
+++ talk.cpp 17 Oct 2003 11:47:41 -0000 1.13
@@ -482,6 +482,13 @@
}
commandCode = SPEAK_NONE;
break;
+
+ case 'W':
+ if (sentence[index + 1] == 'T')
+ commandCode = SPEAK_PAUSE;
+ else
+ warning("Unknown command string: '%2s'", sentence + index);
+ break;
case 'X':
// For example *XY00(237,112)
@@ -1177,8 +1184,8 @@
if (text[0] == '\0')
return;
- debug(0, "makeSpeakBob('%s', (%i,%i), %i, %i, %i, %i);",
- text, bob->x, bob->y, textX, textY, color, flags);
+ // debug(0, "makeSpeakBob('%s', (%i,%i), %i, %i, %i, %i);",
+ // text, bob->x, bob->y, textX, textY, color, flags);
// Duplicate string and append zero if needed
@@ -1277,7 +1284,7 @@
for (int i = 0; i < line_count; i++) {
int lineX = x + (max_line_width - _graphics->textWidth(lines[i])) / 2;
- debug(0, "Setting text '%s' at (%i, %i)", lines[i], lineX, y + 9 * i);
+ //debug(0, "Setting text '%s' at (%i, %i)", lines[i], lineX, y + 9 * i);
_graphics->textSet(lineX, y + 9 * i, lines[i]);
}
}
More information about the Scummvm-git-logs
mailing list