[Scummvm-cvs-logs] SF.net SVN: scummvm: [23047] scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon Jun 12 01:39:37 CEST 2006


Revision: 23047
Author:   sev
Date:     2006-06-11 16:39:21 -0700 (Sun, 11 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23047&view=rev

Log Message:
-----------
Disable kura2 and kyra3 in 0.9.x

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp
Modified: scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp	2006-06-11 23:36:05 UTC (rev 23046)
+++ scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp	2006-06-11 23:39:21 UTC (rev 23047)
@@ -84,6 +84,7 @@
 	{ 0, 0, 0, 0, 0, 0 }
 };
 
+#if 0
 const GameSettings kyra2_games[] = {
 	{ "kyra2", "The Hand of Fate",				GI_KYRA2, GF_ENGLISH,	// CD version? Floppy version?
 										"28cbad1c5bf06b2d3825ae57d760d032", "FATE.PAK" },
@@ -95,12 +96,13 @@
 	GI_KYRA3, GF_LNGUNK, "3833ff312757b8e6147f464cca0a6587", "ONETIME.PAK" },
 	{ 0, 0, 0, 0, 0, 0 }
 };
+#endif
 
 // Keep list of different supported games
 const PlainGameDescriptor kyra_list[] = {
 	{ "kyra1", "The Legend of Kyrandia" },
-	{ "kyra2", "The Hand of Fate" },
-	{ "kyra3", "The Legend of Kyrandia: Book Three" },
+	//{ "kyra2", "The Hand of Fate" },
+	//{ "kyra3", "The Legend of Kyrandia: Book Three" },
 	{ 0, 0 }
 };
 
@@ -192,6 +194,7 @@
 		if (isFound)
 			break;
 
+#if 0
 		for (g = kyra2_games; g->gameid; g++) {
 			if (scumm_stricmp(file->displayName().c_str(), g->checkFile) == 0)
 				isFound = true;
@@ -207,6 +210,7 @@
 
 		if (isFound)
 			break;
+#endif
 	}
 
 	if (file == fslist.end())
@@ -230,6 +234,7 @@
 			}
 		}
 
+#if 0
 		for (g = kyra2_games; g->gameid; g++) {
 			if (strcmp(g->md5sum, (char *)md5str) == 0) {
 				DetectedGame dg(*g, convertKyraLang(g->features), convertKyraPlatform(g->features));
@@ -247,6 +252,7 @@
 				detectedGames.push_back(dg);
 			}
 		}
+#endif
 
 		if (detectedGames.empty()) {
 			printf("Unknown MD5 (%s)! Please report the details (language, platform, etc.) of this game to the ScummVM team\n", md5str);
@@ -267,10 +273,12 @@
 
 	if (!scumm_stricmp("kyra1", gameid)) {
 		*engine = new KyraEngine_v1(syst);
+#if 0
 	} else if (!scumm_stricmp("kyra2", gameid)) {
 		*engine = new KyraEngine_v2(syst);
 	} else if (!scumm_stricmp("kyra3", gameid)) {
 		*engine = new KyraEngine_v3(syst);
+#endif
 	} else
 		error("Kyra engine created with invalid gameid.");
 	


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