aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authormd52011-02-26 06:13:08 +0200
committermd52011-02-26 06:13:08 +0200
commit8571083700e8bc9c81d05bb17e55b49dcd0771e7 (patch)
tree567bf3e762173d3c0d248aa0304ad33401f1bee1 /engines/sci/graphics
parent318c51a2027b554a5c0bc8b045103026657b7073 (diff)
downloadscummvm-rg350-8571083700e8bc9c81d05bb17e55b49dcd0771e7.tar.gz
scummvm-rg350-8571083700e8bc9c81d05bb17e55b49dcd0771e7.tar.bz2
scummvm-rg350-8571083700e8bc9c81d05bb17e55b49dcd0771e7.zip
SCI2+: Mention that the actual problem with text wrapping happens because of the unimplemented kTextSize kernel call in SCI32
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/frameout.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index ab4a2c9c1a..87acfdeeb3 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -592,9 +592,9 @@ void GfxFrameout::kernelFrameout() {
const char *txt = text.c_str();
// HACK. The plane sometimes doesn't contain the correct width. This
// hack breaks the dialog options when speaking with Grace, but it's
- // the best we got up to now.
- // TODO: Remove this, and figure out why the plane in question isn't
- // initialized correctly (its width is 0).
+ // the best we got up to now. This happens because of the unimplemented
+ // kTextWidth function in SCI32.
+ // TODO: Remove this once kTextWidth has been implemented.
uint16 w = it->planeRect.width() >= 20 ? it->planeRect.width() : _screen->getWidth() - 10;
int16 charCount;