From fc396469630ca3caf2b7bcc6f50f0b3bd6abc2c3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 15 Dec 2019 10:57:22 +0100 Subject: DIRECTOR: Improved debug output --- engines/director/cachedmactext.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines') 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, -- cgit v1.2.3