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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Feb 17 16:27:31 CET 2009


Revision: 38416
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38416&view=rev
Author:   lordhoto
Date:     2009-02-17 15:27:31 +0000 (Tue, 17 Feb 2009)

Log Message:
-----------
Remove dead/leftover code.

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

Modified: scummvm/trunk/engines/sci/detection.cpp
===================================================================
--- scummvm/trunk/engines/sci/detection.cpp	2009-02-17 15:26:26 UTC (rev 38415)
+++ scummvm/trunk/engines/sci/detection.cpp	2009-02-17 15:27:31 UTC (rev 38416)
@@ -1060,33 +1060,6 @@
 	*engine = new SciEngine(syst, desc);
 
 	return true;
-
-	/*
-	const char *gameid = ConfMan.get("gameid").c_str();
-	
-	if (gd == 0) {
-		// maybe add non md5 based detection again?
-		return kNoGameDataFoundError;
-	}
-
-	Kyra::GameFlags flags = gd->flags;
-	
-	flags.lang = gd->desc.language;
-	flags.platform = gd->desc.platform;
-
-	Common::Platform platform = Common::parsePlatform(ConfMan.get("platform"));
-	if (platform != Common::kPlatformUnknown) {
-		flags.platform = platform;
-	}
-
-	if (flags.lang == Common::UNK_LANG) {
-		Common::Language lang = Common::parseLanguage(ConfMan.get("language"));
-		if (lang != Common::UNK_LANG) {
-			flags.lang = lang;
-		} else {
-			flags.lang = Common::EN_ANY;
-		}
-	}*/
 }
 
 #if PLUGIN_ENABLED_DYNAMIC(SCI)


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