From 8cf8acfd633227a55d794d39219c25b6b269d146 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 8 Apr 2006 11:21:04 +0000 Subject: Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them) svn-id: r21686 --- engines/lure/lure.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'engines/lure/lure.cpp') diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index cdc3a31279..e4b313580b 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -44,14 +44,14 @@ #include "lure/game.h" #include "lure/system.h" -using namespace Lure; +namespace Lure { enum { // We only compute MD5 of the first megabyte of our data files. kMD5FileSizeLimit = 1024 * 1024 }; -struct LureGameSettings { +struct GameSettings { const char *gameid; const char *description; byte id; @@ -62,7 +62,7 @@ struct LureGameSettings { }; // -static const LureGameSettings lure_games[] = { +static const GameSettings lure_games[] = { { "lure", "Lure of the Temptress", GI_LURE, GF_FLOPPY, Common::EN_USA, "e45ea5d279a268c7d3c6524c2f63a2d2", "disk1.vga" }, /* @@ -81,6 +81,10 @@ static const PlainGameDescriptor lure_list[] = { { 0, 0 } }; +} // End of namespace Lure + +using namespace Lure; + GameList Engine_LURE_gameIDList() { GameList games; const PlainGameDescriptor *g = lure_list; @@ -104,7 +108,7 @@ GameDescriptor Engine_LURE_findGameID(const char *gameid) { DetectedGameList Engine_LURE_detectGames(const FSList &fslist) { DetectedGameList detectedGames; - const LureGameSettings *g; + const GameSettings *g; FSList::const_iterator file; // Iterate over all files in the given directory @@ -213,7 +217,7 @@ void LureEngine::detectGame() { uint8 md5sum[16]; char md5str[32 + 1]; - const LureGameSettings *g; + const GameSettings *g; bool found = false; *md5str = 0; -- cgit v1.2.3