[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.126,1.127
Max Horn
fingolfin at users.sourceforge.net
Sat Nov 1 08:40:05 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 sword2.cpp,1.67,1.68
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 anims.cpp,1.37,1.38 build_display.cpp,1.38,1.39 build_display.h,1.10,1.11 controls.cpp,1.39,1.40 debug.cpp,1.18,1.19 function.cpp,1.31,1.32 layers.cpp,1.16,1.17 logic.h,1.11,1.12 mouse.cpp,1.30,1.31 resman.cpp,1.58,1.59 sword2.cpp,1.68,1.69 sword2.h,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv7194/sky
Modified Files:
sky.cpp
Log Message:
cleanup of game detector functions
Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- sky.cpp 1 Nov 2003 16:02:14 -0000 1.126
+++ sky.cpp 1 Nov 2003 16:39:26 -0000 1.127
@@ -78,17 +78,12 @@
#undef WITH_DEBUG_CHEATS
-static const GameSettings sky_settings[] = {
- /* Beneath a Steel Sky */
- {"sky", "Beneath a Steel Sky", MDT_ADLIB | MDT_NATIVE | MDT_PREFER_NATIVE, 0, "sky.dsk" },
- {NULL, NULL, MDT_NONE, 0, NULL}
-};
+static const GameSettings skySetting =
+ {"sky", "Beneath a Steel Sky", MDT_ADLIB | MDT_NATIVE | MDT_PREFER_NATIVE, 0, "sky.dsk" };
GameList Engine_SKY_gameList() {
- const GameSettings *g = sky_settings;
GameList games;
- while (g->gameName)
- games.push_back(*g++);
+ games.push_back(skySetting);
return games;
}
@@ -100,7 +95,7 @@
if (0 == scumm_stricmp("sky.dsk", fileName)) {
// Match found, add to list of candidates, then abort inner loop.
- detectedGames.push_back(sky_settings[0]);
+ detectedGames.push_back(skySetting);
break;
}
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 sword2.cpp,1.67,1.68
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2 anims.cpp,1.37,1.38 build_display.cpp,1.38,1.39 build_display.h,1.10,1.11 controls.cpp,1.39,1.40 debug.cpp,1.18,1.19 function.cpp,1.31,1.32 layers.cpp,1.16,1.17 logic.h,1.11,1.12 mouse.cpp,1.30,1.31 resman.cpp,1.58,1.59 sword2.cpp,1.68,1.69 sword2.h,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list