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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Aug 2 20:04:23 CEST 2010


Revision: 51643
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51643&view=rev
Author:   m_kiewitz
Date:     2010-08-02 18:04:23 +0000 (Mon, 02 Aug 2010)

Log Message:
-----------
SCI: adding offTop = 0 for mother goose sci1.1

fixes graphics in that game

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

Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp	2010-08-02 17:26:03 UTC (rev 51642)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp	2010-08-02 18:04:23 UTC (rev 51643)
@@ -99,8 +99,15 @@
 		offTop = 0;
 		break;
 	case GID_MOTHERGOOSE:
-		if (getSciVersion() == SCI_VERSION_1_EARLY)
+		// TODO: if mother goose EGA also uses offTop we can simply remove this check altogether
+		switch (getSciVersion()) {
+		case SCI_VERSION_1_EARLY:
+		case SCI_VERSION_1_1:
 			offTop = 0;
+			break;
+		default:
+			break;
+		}
 		break;
 	case GID_FAIRYTALES:
 		// Mixed-Up Fairy Tales (& its demo) uses -w 26 0 200 320. If we don't


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