aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-14 00:37:06 +0100
committerEugene Sandulenko2019-12-14 00:37:06 +0100
commitcd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8 (patch)
tree1268d66177419a4bc272b8e3e17ff301742817c1 /engines/director
parent409f0b50d7a0fa7c9839b5ea775f398a4a54317f (diff)
downloadscummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.tar.gz
scummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.tar.bz2
scummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.zip
DIRECTOR: Improved debug output
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/cachedmactext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp
index 531d056582..dbb8abc6e4 100644
--- a/engines/director/cachedmactext.cpp
+++ b/engines/director/cachedmactext.cpp
@@ -55,7 +55,7 @@ void CachedMacText::makeMacText() {
1);
// TODO destroy me
- debug(5, "CachedMacText::makeMacText(): rendering '%s'", Common::toPrintable(_textCast->_ftext).c_str());
+ debug(5, "CachedMacText::makeMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
}
CachedMacText::CachedMacText(TextCast *const textCast,
@@ -67,6 +67,8 @@ 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());
+
if (_width == -1) {
if (version >= 4) {
// This came from frame.cpp