aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-01 11:23:58 +0100
committerEugene Sandulenko2017-02-01 18:36:25 +0100
commit6fbb82f85be523c6433bdffca86b73544d108422 (patch)
treed4009b19ffbe53a4c1be6c67ac9ed8d33c899061 /engines
parent3dc565df2627156f154b121b6c5b4b364fbfd1c0 (diff)
downloadscummvm-rg350-6fbb82f85be523c6433bdffca86b73544d108422.tar.gz
scummvm-rg350-6fbb82f85be523c6433bdffca86b73544d108422.tar.bz2
scummvm-rg350-6fbb82f85be523c6433bdffca86b73544d108422.zip
GRAPHICS: Add more debug output to MacText
Diffstat (limited to 'engines')
-rw-r--r--engines/director/frame.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index d1a55fdd1f..693e477ab0 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -863,8 +863,12 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
ftext += '\001';
prevPos++;
+
+ debugCN(4, kDebugText, "%c", f);
}
+ debugCN(4, kDebugText, "*");
+
ftext += Common::String::format("\001\015%c%c%c%c%c%c%c%c%c%c%c%c",
(textCast->fontId >> 8) & 0xff, textCast->fontId & 0xff,
textCast->textSlant & 0xff, unk3f & 0xff,
@@ -878,6 +882,8 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
ftext += text;
+ debugC(4, kDebugText, "%s", text.c_str());
+
uint16 boxShadow = (uint16)textCast->boxShadow;
uint16 borderSize = (uint16)textCast->borderSize;
uint16 padding = (uint16)textCast->gutterSize;