diff options
author | David Eriksson | 2003-11-13 11:47:04 +0000 |
---|---|---|
committer | David Eriksson | 2003-11-13 11:47:04 +0000 |
commit | 428ebd65685d6b80800c467ab3d3f0445e4793e7 (patch) | |
tree | fb1b88d2b66d9c4ba6a1dc3e27acf28d9fa7c7dd /queen/talk.cpp | |
parent | 313a912af22d03112919f967d4a00d7b086ee65e (diff) | |
download | scummvm-rg350-428ebd65685d6b80800c467ab3d3f0445e4793e7.tar.gz scummvm-rg350-428ebd65685d6b80800c467ab3d3f0445e4793e7.tar.bz2 scummvm-rg350-428ebd65685d6b80800c467ab3d3f0445e4793e7.zip |
Just debug messages and comment stuff
svn-id: r11282
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 10e1453bdb..e5949d9761 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -796,6 +796,16 @@ void Talk::defaultAnimation( 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 @@ void Talk::defaultAnimation( } } 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 @@ void Talk::speakSegment( 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 @@ int16 Talk::selectSentence() { 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 @@ int16 Talk::selectSentence() { // 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) |