[Scummvm-cvs-logs] SF.net SVN: scummvm:[52071] scummvm/trunk/engines/sci/resource.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Aug 13 23:09:10 CEST 2010


Revision: 52071
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52071&view=rev
Author:   m_kiewitz
Date:     2010-08-13 21:09:10 +0000 (Fri, 13 Aug 2010)

Log Message:
-----------
SCI: adding switch to sci1mid for lsl1/spanish

makes it work, bug #3043270, added FIXME

Modified Paths:
--------------
    scummvm/trunk/engines/sci/resource.cpp

Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp	2010-08-13 20:08:57 UTC (rev 52070)
+++ scummvm/trunk/engines/sci/resource.cpp	2010-08-13 21:09:10 UTC (rev 52071)
@@ -2051,6 +2051,15 @@
 			s_sciVersion = SCI_VERSION_1_1;
 			return;
 		}
+		// FIXME: this is really difficult, lsl1 spanish has map/vol sci1late
+		//  and the only current detection difference is movecounttype which
+		//  is increment here, but ignore for all the regular sci1late games
+		//  the problem is, we dont have access to that detection till later
+		//  so maybe (part of?) that detection should get moved in here
+		if ((g_sci->getGameId() == GID_LSL1) && (g_sci->getLanguage() == Common::ES_ESP)) {
+			s_sciVersion = SCI_VERSION_1_MIDDLE;
+			return;
+		}
 		s_sciVersion = SCI_VERSION_1_LATE;
 		return;
 	case kResVersionSci11:


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