22 #ifndef ENGINES_GAME_H 23 #define ENGINES_GAME_H 25 #include "common/array.h" 26 #include "common/hash-str.h" 27 #include "common/language.h" 28 #include "common/path.h" 29 #include "common/platform.h" 30 #include "common/str.h" 31 #include "common/str-array.h" 32 #include "common/ustr.h" 51 const char *description;
109 kMD5MacResFork = 1 << 2,
110 kMD5MacDataFork = 1 << 3,
111 kMD5MacResOrDataFork = kMD5MacResFork | kMD5MacDataFork,
112 kMD5MacMask = kMD5MacResFork | kMD5MacDataFork,
113 kMD5Archive = 1 << 4,
155 bool unsupported =
false);
159 const Common::String &getGUIOptions()
const {
return _guiOptions; }
176 bool isSelected =
false;
217 _extraConfigEntries[key] = value;
269 bool foundUnknownGames()
const;
GameSupportLevel gameSupportLevel
Definition: game.h:202
Common::U32String generateUnknownGameReport(const DetectedGames &detectedGames, bool translate, bool fullPath, uint32 wordwrapAt=0)
Common::StringMap _extraConfigEntries
Definition: game.h:207
FilePropertiesMap matchedFiles
Definition: game.h:181
void addExtraEntry(const Common::String &key, const Common::String &value)
Definition: game.h:216
MD5Properties
Definition: game.h:106
GameSupportLevel
Definition: game.h:93
Common::HashMap< Common::Path, FileProperties, Common::Path::IgnoreCase_Hash, Common::Path::IgnoreCase_EqualTo > FilePropertiesMap
Definition: game.h:133
Common::HashMap< Common::String, FileProperties, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo > CachedPropertiesMap
Definition: game.h:138
Common::Array< DetectedGame > DetectedGames
Definition: game.h:231
bool hasUnknownFiles
Definition: game.h:171
const PlainGameDescriptor * findPlainGameDescriptor(const char *gameid, const PlainGameDescriptor *list)
Language
Definition: language.h:45
bool canBeAdded
Definition: game.h:188