[Scummvm-cvs-logs] SF.net SVN: scummvm: [25235] scummvm/trunk/backends/platform/dc/selector. cpp

marcus_c at users.sourceforge.net marcus_c at users.sourceforge.net
Sat Jan 27 23:59:32 CET 2007


Revision: 25235
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25235&view=rev
Author:   marcus_c
Date:     2007-01-27 14:59:31 -0800 (Sat, 27 Jan 2007)

Log Message:
-----------
DetectedGameList -> GameList.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/dc/selector.cpp

Modified: scummvm/trunk/backends/platform/dc/selector.cpp
===================================================================
--- scummvm/trunk/backends/platform/dc/selector.cpp	2007-01-27 22:59:01 UTC (rev 25234)
+++ scummvm/trunk/backends/platform/dc/selector.cpp	2007-01-27 22:59:31 UTC (rev 25235)
@@ -147,7 +147,7 @@
 
 static Game the_game;
 
-static void detectGames(FSList &files, DetectedGameList &candidates)
+static void detectGames(FSList &files, GameList &candidates)
 {
   const PluginList &plugins = PluginManager::instance().getPlugins();
   PluginList::const_iterator iter = plugins.begin();
@@ -225,18 +225,18 @@
 	  files.push_back(*entry);
     }
     
-    DetectedGameList candidates;
+    GameList candidates;
     detectGames(files, candidates);
     
-    for(DetectedGameList::const_iterator ge = candidates.begin();
+    for(GameList::const_iterator ge = candidates.begin();
 	ge != candidates.end(); ++ge)
       if(curr_game < max) {
-	strcpy(games[curr_game].filename_base, ge->gameid.c_str());
+	strcpy(games[curr_game].filename_base, ge->gameid().c_str());
 	strcpy(games[curr_game].dir, dirs[curr_dir-1].name);
 	if(uniqueGame(games[curr_game].filename_base,
 		      games[curr_game].dir, games, curr_game)) {
 	  
-	  strcpy(games[curr_game].text, ge->description.c_str());
+	  strcpy(games[curr_game].text, ge->description().c_str());
 #if 0
 	  printf("Registered game <%s> in <%s> <%s> because of <%s> <*>\n",
 		 games[curr_game].text, games[curr_game].dir,


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