1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-03 03:49:12 +00:00

(svn r17790) -Feature: translatable base sound/graphics set descriptions

This commit is contained in:
rubidium
2009-10-17 20:34:09 +00:00
parent f7944f5554
commit d5d2354296
8 changed files with 81 additions and 15 deletions

View File

@@ -1486,6 +1486,15 @@ void InitializeLanguagePacks()
if (!ReadLanguagePack(chosen_language)) usererror("Can't read language pack '%s'", dl->ent[chosen_language].file);
}
/**
* Get the ISO language code of the currently loaded language.
* @return the ISO code.
*/
const char *GetCurrentLanguageIsoCode()
{
return _langpack->isocode;
}
/**
* Check whether the currently loaded language pack
* uses characters that the currently loaded font