Stripped some more real_ prefixes from function names; also added a new FIXME comment to Kyra's setupGameFlags, and did some more cleanup

svn-id: r24899
This commit is contained in:
Max Horn 2006-12-20 00:08:51 +00:00
parent dc30c2304c
commit 6eef02245c
3 changed files with 23 additions and 25 deletions

View file

@ -33,7 +33,7 @@
namespace Common {
PluginError real_ADVANCED_DETECTOR_ENGINE_CREATE(
PluginError ADVANCED_DETECTOR_ENGINE_CREATE(
DetectedGameList (*detectFunc)(const FSList &fslist),
const Common::ADObsoleteGameID *obsoleteList
) {
@ -72,7 +72,7 @@ PluginError real_ADVANCED_DETECTOR_ENGINE_CREATE(
return kNoGameDataFoundError;
}
GameDescriptor real_ADVANCED_DETECTOR_FIND_GAMEID(
GameDescriptor ADVANCED_DETECTOR_FIND_GAMEID(
const char *gameid,
const PlainGameDescriptor *list,
const Common::ADObsoleteGameID *obsoleteList
@ -174,7 +174,7 @@ int ADVANCED_DETECTOR_DETECT_INIT_GAME(
matches = ad.detectGame(0, md5Bytes, language, platform);
for (uint i = 0; i < matches.size(); i++) {
if (toDetectedGame(*(const ADGameDescription *)(descs + matches[i] * descItemSize), list).gameid == gameid) {
if (((const ADGameDescription *)(descs + matches[i] * descItemSize))->gameid == gameid) {
gameNumber = matches[i];
break;
}