[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.133,1.134

Max Horn fingolfin at users.sourceforge.net
Sun Dec 21 07:30:02 CET 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv13605/sky

Modified Files:
	sky.cpp 
Log Message:
Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)

Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- sky.cpp	13 Dec 2003 00:20:01 -0000	1.133
+++ sky.cpp	21 Dec 2003 15:29:51 -0000	1.134
@@ -87,8 +87,8 @@
 	return games;
 }
 
-GameList Engine_SKY_detectGames(const FSList &fslist) {
-	GameList detectedGames;
+DetectedGameList Engine_SKY_detectGames(const FSList &fslist) {
+	DetectedGameList detectedGames;
 	// Iterate over all files in the given directory
 	for (FSList::ConstIterator file = fslist.begin(); file != fslist.end(); ++file) {
 		const char *fileName = file->displayName().c_str();
@@ -271,7 +271,7 @@
 		_systemVars.systemFlags |= SF_ALLOW_SPEECH;
 		if (ConfMan.hasKey("nosubtitles")) {
 			warning("Configuration key 'nosubtitles' is deprecated. Use 'subtitles' instead");
-			if (ConfMan.getBool("nosubtitles") == false)
+			if (!ConfMan.getBool("nosubtitles"))
 				_systemVars.systemFlags |= SF_ALLOW_TEXT;
 		}
 





More information about the Scummvm-git-logs mailing list