[Scummvm-cvs-logs] SF.net SVN: scummvm:[45232] scummvm/trunk/engines/sci/gui/gui.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Oct 18 21:29:50 CEST 2009
Revision: 45232
http://scummvm.svn.sourceforge.net/scummvm/?rev=45232&view=rev
Author: m_kiewitz
Date: 2009-10-18 19:29:50 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
SCI/newgui: kDisplay fixme comment added for kq5 credits
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui.cpp
Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp 2009-10-18 19:07:22 UTC (rev 45231)
+++ scummvm/trunk/engines/sci/gui/gui.cpp 2009-10-18 19:29:50 UTC (rev 45232)
@@ -239,6 +239,11 @@
}
}
+ // FIXME: this code seems to be broken somewhat. KQ5 sets coordinates to 90, 80 and sets width to 320
+ // our code can not handle this currently, so the text wont get centered as it should
+ // clipping coordinates to 0, 0 isnt working either, because kq5 writes to coordinates 90, 80 AND 89, 80
+ // to create a shadow of the font. Investigation into disassembly needed
+
// now drawing the text
_gfx->TextSize(rect, text, -1, width);
_gfx->Move((orect->left <= _screen->_width ? 0 : _screen->_width - orect->left), (orect->top <= _screen->_height ? 0 : _screen->_height - orect->top)); // move port to (0,0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list