diff options
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/cachedmactext.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp index 94ec79ac73..69c75755b0 100644 --- a/engines/director/cachedmactext.cpp +++ b/engines/director/cachedmactext.cpp @@ -24,6 +24,7 @@ #include "graphics/macgui/mactext.h" #include "graphics/macgui/macwindowmanager.h" +#include "director/director.h" #include "director/cachedmactext.h" #include "director/cast.h" @@ -45,7 +46,7 @@ void CachedMacText::makeMacText() { _textCast->_fontSize, _textCast->_textSlant); - debug(5, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'", + debugC(5, kDebugText, "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()); @@ -69,7 +70,7 @@ CachedMacText::CachedMacText(TextCast *const textCast, _surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true), _textCast(textCast), _wm(wm) { - debug(5, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str()); + debugC(5, kDebugText, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str()); if (_width == -1) { if (version >= 4) { |