belugas@3601: /* $Id$ */ belugas@3601: #ifndef NEWGRF_TEXT_H belugas@3601: #define NEWGRF_TEXT_H belugas@3601: belugas@3601: /** @file belugas@3601: * Header of Action 04 "universal holder" structure and functions belugas@3601: */ belugas@3601: peter1138@3821: StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string); belugas@3601: StringID GetGRFStringID(uint32 grfid, uint16 stringid); Darkvater@4912: char *GetGRFString(char *buff, uint16 stringid, const char* last); belugas@3601: void CleanUpStrings(void); belugas@3601: void SetCurrentGrfLangID(const char *iso_name); peter1138@5228: char *TranslateTTDPatchCodes(const char *str); belugas@3601: belugas@3601: #endif /* NEWGRF_TEXT_H */