diff options
author | rubidium <rubidium@openttd.org> | 2009-03-13 00:30:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-13 00:30:26 +0000 |
commit | f1605cf47582c9c3bdada658fbad5a05ea2205fc (patch) | |
tree | 423a5c4f3ace7646dcd0dd867312bdd30a4ff797 /src/newgrf_text.h | |
parent | aa441cd4d713b32eae1d2af1eb39278eb39e439c (diff) | |
download | openttd-f1605cf47582c9c3bdada658fbad5a05ea2205fc.tar.xz |
(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r-- | src/newgrf_text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h index 1b72a8c94..01c6e8c2f 100644 --- a/src/newgrf_text.h +++ b/src/newgrf_text.h @@ -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); |