aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-01 11:23:58 +0100
committerEugene Sandulenko2017-02-01 18:36:25 +0100
commit6fbb82f85be523c6433bdffca86b73544d108422 (patch)
treed4009b19ffbe53a4c1be6c67ac9ed8d33c899061 /graphics
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 'graphics')
-rw-r--r--graphics/macgui/mactext.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 8644bb9a97..c1704c12d7 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -79,6 +79,15 @@ void MacText::splitString(Common::String &str) {
bool nextChunk = false;
while (*s) {
+ for (uint i = 0; i < _textLines.size(); i++) {
+ debugN(7, "%2d ", i);
+
+ for (uint j = 0; j < _textLines[i].chunks.size(); j++)
+ debugN(7, "[%d] \"%s\"", _textLines[i].chunks[j].fontId, _textLines[i].chunks[j].text.c_str());
+
+ debug(7, " --> %c %d", (*s > 0x20 ? *s : ' '), (byte)*s);
+ }
+
if (*s == '\001') {
s++;
if (*s == '\001') {