diff options
author | David Eriksson | 2003-10-17 11:47:41 +0000 |
---|---|---|
committer | David Eriksson | 2003-10-17 11:47:41 +0000 |
commit | a935fcfe92bb1177e92c61524945303d7985e9fc (patch) | |
tree | 1a183769cdc75d959a15f374f6756bb3964988c1 /queen | |
parent | d228678a5ab95f5fd4a46533c2c41c84e99e6163 (diff) | |
download | scummvm-rg350-a935fcfe92bb1177e92c61524945303d7985e9fc.tar.gz scummvm-rg350-a935fcfe92bb1177e92c61524945303d7985e9fc.tar.bz2 scummvm-rg350-a935fcfe92bb1177e92c61524945303d7985e9fc.zip |
- Implement *WT
- Disable some debug output
svn-id: r10855
Diffstat (limited to 'queen')
-rw-r--r-- | queen/talk.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 09a66eedc3..d7540e62e4 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -482,6 +482,13 @@ int Talk::getSpeakCommand(const char *sentence, unsigned &index) { } 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 @@ void Talk::makeSpeakBob( 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 @@ void Talk::makeSpeakBob( 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]); } } |