newgrf_text.h
author truelight
Fri, 10 Aug 2007 17:56:34 +0000
branch0.5
changeset 5531 ae5f1887e5ab
parent 5228 c4a780348f66
permissions -rw-r--r--
(svn r10842) [0.5] -Backport from trunk (r10479, r10488, r10510, r10532, r10550, r10559, r10583, r10592, r10620, r10626, r10648, r10703, r10737, r10828):
- Language updates (r10479, r10488, r10510, r10532, r10550, r10559, r10583, r10592, r10620, r10626, r10648, r10703, r10737, r10828)
/* $Id$ */
#ifndef NEWGRF_TEXT_H
#define NEWGRF_TEXT_H

/** @file
 * Header of Action 04 "universal holder" structure and functions
 */

StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
char *GetGRFString(char *buff, uint16 stringid, const char* last);
void CleanUpStrings(void);
void SetCurrentGrfLangID(const char *iso_name);
char *TranslateTTDPatchCodes(const char *str);

#endif /* NEWGRF_TEXT_H */