aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authormd52011-02-26 06:13:08 +0200
committermd52011-02-26 06:13:08 +0200
commit8571083700e8bc9c81d05bb17e55b49dcd0771e7 (patch)
tree567bf3e762173d3c0d248aa0304ad33401f1bee1 /engines/sci/engine
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/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 2bcf5903c0..afcc2d17c6 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -364,6 +364,7 @@ reg_t kTextSize(EngineState *s, int argc, reg_t *argv) {
if (!g_sci->_gfxText16) {
// TODO: Implement this
textWidth = 0; textHeight = 0;
+ warning("TODO: implement kTextSize for SCI32");
} else
#endif
g_sci->_gfxText16->kernelTextSize(g_sci->strSplit(text.c_str(), sep).c_str(), font_nr, maxwidth, &textWidth, &textHeight);