[Scummvm-cvs-logs] SF.net SVN: scummvm:[43413] scummvm/trunk/engines/kyra/sequences_lok.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Aug 15 17:30:35 CEST 2009


Revision: 43413
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43413&view=rev
Author:   lordhoto
Date:     2009-08-15 15:30:35 +0000 (Sat, 15 Aug 2009)

Log Message:
-----------
Yet another slight graphic fix for the Kyrandia 1 Amiga credits.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sequences_lok.cpp

Modified: scummvm/trunk/engines/kyra/sequences_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_lok.cpp	2009-08-15 15:03:17 UTC (rev 43412)
+++ scummvm/trunk/engines/kyra/sequences_lok.cpp	2009-08-15 15:30:35 UTC (rev 43413)
@@ -1135,6 +1135,7 @@
 
 	_screen->showMouse();
 	if (_flags.platform == Common::kPlatformAmiga) {
+		_screen->_charWidth = -2;
 		_screen->setCurPage(2);
 
 		_screen->getPalette(2).clear();
@@ -1325,7 +1326,7 @@
 
 	const char *theEnd = "THE END";
 
-	const int width = _screen->getTextWidth(theEnd);
+	const int width = _screen->getTextWidth(theEnd) + 1;
 	int x = (320 - width) / 2 + 1;
 
 	_screen->copyRegion(x, 8, x, 8, width, 56, 0, 2, Screen::CR_NO_P_CHECK);


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