Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
This commit is contained in:
parent
7b498fe7db
commit
f19f73eb50
11 changed files with 68 additions and 32 deletions
|
@ -87,8 +87,8 @@ GameList Engine_SKY_gameList() {
|
|||
return games;
|
||||
}
|
||||
|
||||
GameList Engine_SKY_detectGames(const FSList &fslist) {
|
||||
GameList detectedGames;
|
||||
DetectedGameList Engine_SKY_detectGames(const FSList &fslist) {
|
||||
DetectedGameList detectedGames;
|
||||
// Iterate over all files in the given directory
|
||||
for (FSList::ConstIterator file = fslist.begin(); file != fslist.end(); ++file) {
|
||||
const char *fileName = file->displayName().c_str();
|
||||
|
@ -271,7 +271,7 @@ void SkyEngine::initialise(void) {
|
|||
_systemVars.systemFlags |= SF_ALLOW_SPEECH;
|
||||
if (ConfMan.hasKey("nosubtitles")) {
|
||||
warning("Configuration key 'nosubtitles' is deprecated. Use 'subtitles' instead");
|
||||
if (ConfMan.getBool("nosubtitles") == false)
|
||||
if (!ConfMan.getBool("nosubtitles"))
|
||||
_systemVars.systemFlags |= SF_ALLOW_TEXT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue