aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-15 10:57:22 +0100
committerEugene Sandulenko2019-12-15 11:36:26 +0100
commitfc396469630ca3caf2b7bcc6f50f0b3bd6abc2c3 (patch)
tree263c5a13c7f54e2bc4aa1acc7cffee100f004b46
parentcc345bacf48ad2ff392f29b73291e1da5eadb0b8 (diff)
downloadscummvm-rg350-fc396469630ca3caf2b7bcc6f50f0b3bd6abc2c3.tar.gz
scummvm-rg350-fc396469630ca3caf2b7bcc6f50f0b3bd6abc2c3.tar.bz2
scummvm-rg350-fc396469630ca3caf2b7bcc6f50f0b3bd6abc2c3.zip
DIRECTOR: Improved debug output
-rw-r--r--engines/director/cachedmactext.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp
index dbb8abc6e4..94ec79ac73 100644
--- a/engines/director/cachedmactext.cpp
+++ b/engines/director/cachedmactext.cpp
@@ -45,6 +45,10 @@ void CachedMacText::makeMacText() {
_textCast->_fontSize,
_textCast->_textSlant);
+ debug(5, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'",
+ _textCast->_fontId, _textCast->_fontSize, _textCast->_textSlant, macFont->getName().c_str(),
+ Common::toPrintable(_textCast->_ftext).c_str());
+
_macText = new Graphics::MacText(_textCast->_ftext,
_wm,
macFont,
@@ -54,8 +58,6 @@ void CachedMacText::makeMacText() {
_align,
1);
// TODO destroy me
-
- debug(5, "CachedMacText::makeMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
}
CachedMacText::CachedMacText(TextCast *const textCast,