diff options
author | Eugene Sandulenko | 2017-01-28 11:23:40 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-28 11:24:02 +0100 |
commit | 61ffb6f55361a1343ecab71f203226448a5be207 (patch) | |
tree | 453b211c7bbe827dfd926221a2e4c684d51d935a /engines | |
parent | e33fba2d149860252a8ec39ffdc178d022494740 (diff) | |
download | scummvm-rg350-61ffb6f55361a1343ecab71f203226448a5be207.tar.gz scummvm-rg350-61ffb6f55361a1343ecab71f203226448a5be207.tar.bz2 scummvm-rg350-61ffb6f55361a1343ecab71f203226448a5be207.zip |
DIRECTOR: Added more debug output to text display
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/frame.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 94bb46201b..402056ad20 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -830,19 +830,23 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo uint16 formattingCount = textStream->readUint16(); while (formattingCount) { uint32 formatStartOffset = textStream->readUint32(); - textStream->readUint16(); - textStream->readUint16(); + uint16 unk1f = textStream->readUint16(); + uint16 unk2f = textStream->readUint16(); textCast->fontId = textStream->readUint16(); textCast->textSlant = textStream->readByte(); - textStream->readByte(); + byte unk3f = textStream->readByte(); textCast->fontSize = textStream->readUint16(); textCast->palinfo1 = textStream->readUint16(); textCast->palinfo2 = textStream->readUint16(); textCast->palinfo3 = textStream->readUint16(); - debugC(3, kDebugText, "renderText: formattingCount: %u formatStartOffset: %d", formattingCount, formatStartOffset); + debugC(3, kDebugText, "renderText: formattingCount: %u, formatStartOffset: %d, unk1: %d unk2: %d, fontId: %d, textSlant: %d", + formattingCount, formatStartOffset, unk1f, unk2f, textCast->fontId, textCast->textSlant); + + debugC(3, kDebugText, " unk3: %d, fontSize: %d, p0: %x p1: %x p2: %x", unk3f, textCast->fontSize, + textCast->palinfo1, textCast->palinfo2, textCast->palinfo3); formattingCount--; } |