(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.

This commit is contained in:
rubidium
2009-03-13 00:30:26 +00:00
parent f6e4bc765a
commit eb0d43aadd
58 changed files with 75 additions and 110 deletions

View File

@@ -9,7 +9,7 @@ StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_schem
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
const char *GetGRFStringPtr(uint16 stringid);
void CleanUpStrings();
void SetCurrentGrfLangID(const char *iso_name);
void SetCurrentGrfLangID(byte language_id);
char *TranslateTTDPatchCodes(uint32 grfid, const char *str);
bool CheckGrfLangID(byte lang_id, byte grf_version);