(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well

This commit is contained in:
rubidium
2010-11-13 19:15:26 +00:00
parent 034eb834cc
commit fc75b00992
3 changed files with 15 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ const char *GetGRFStringFromGRFText(const struct GRFText *text);
const char *GetGRFStringPtr(uint16 stringid);
void CleanUpStrings();
void SetCurrentGrfLangID(byte language_id);
char *TranslateTTDPatchCodes(uint32 grfid, const char *str);
char *TranslateTTDPatchCodes(uint32 grfid, uint8 language_id, const char *str);
struct GRFText *DuplicateGRFText(struct GRFText *orig);
void AddGRFTextToList(struct GRFText **list, struct GRFText *text_to_add);
void AddGRFTextToList(struct GRFText **list, byte langid, uint32 grfid, const char *text_to_add);