[Scummvm-cvs-logs] SF.net SVN: scummvm:[48785] scummvm/trunk/engines/sci/graphics/text16.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Apr 24 18:09:17 CEST 2010


Revision: 48785
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48785&view=rev
Author:   m_kiewitz
Date:     2010-04-24 16:09:17 +0000 (Sat, 24 Apr 2010)

Log Message:
-----------
SCI: added special comments about r48784

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/text16.cpp

Modified: scummvm/trunk/engines/sci/graphics/text16.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/text16.cpp	2010-04-24 15:50:23 UTC (rev 48784)
+++ scummvm/trunk/engines/sci/graphics/text16.cpp	2010-04-24 16:09:17 UTC (rev 48785)
@@ -218,7 +218,8 @@
 		uint16 nextChar;
 
 		// we remove the last char only, if maxWidth was actually equal width before adding the last char
-		//  otherwise we won't get the same cutting as in sierra sci
+		//  otherwise we won't get the same cutting as in sierra pc98 sci
+		//  note: changing the while() instead will NOT WORK. it would break all sorts of regular sci games
 		if (maxWidth == (width - _font->getCharWidth(curChar))) {
 			maxChars--;
 			if (curChar > 0xFF)


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