2006-04-21 03:00:20 +00:00
|
|
|
/* $Id$ */
|
|
|
|
#ifndef NEWGRF_TEXT_H
|
|
|
|
#define NEWGRF_TEXT_H
|
|
|
|
|
|
|
|
/** @file
|
|
|
|
* Header of Action 04 "universal holder" structure and functions
|
|
|
|
*/
|
|
|
|
|
2006-05-11 16:27:46 +00:00
|
|
|
StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
|
2006-04-21 03:00:20 +00:00
|
|
|
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
|
2006-10-21 23:31:34 +00:00
|
|
|
char *GetGRFString(char *buff, uint16 stringid, const char* last);
|
2006-04-21 03:00:20 +00:00
|
|
|
void CleanUpStrings(void);
|
|
|
|
void SetCurrentGrfLangID(const char *iso_name);
|
2006-12-04 08:30:04 +00:00
|
|
|
char *TranslateTTDPatchCodes(const char *str);
|
2006-04-21 03:00:20 +00:00
|
|
|
|
|
|
|
#endif /* NEWGRF_TEXT_H */
|