src/newgrf_text.h
changeset 8941 f93c669d3ca6
parent 8246 ff7b892d8a28
child 6878 7d1ff2f621c7
equal deleted inserted replaced
8940:968e465c7328 8941:f93c669d3ca6
     6  * Header of Action 04 "universal holder" structure and functions
     6  * Header of Action 04 "universal holder" structure and functions
     7  */
     7  */
     8 
     8 
     9 StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
     9 StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
    10 StringID GetGRFStringID(uint32 grfid, uint16 stringid);
    10 StringID GetGRFStringID(uint32 grfid, uint16 stringid);
    11 char *GetGRFString(char *buff, uint16 stringid, const char* last);
    11 const char *GetGRFStringPtr(uint16 stringid);
    12 void CleanUpStrings();
    12 void CleanUpStrings();
    13 void SetCurrentGrfLangID(const char *iso_name);
    13 void SetCurrentGrfLangID(const char *iso_name);
    14 char *TranslateTTDPatchCodes(const char *str);
    14 char *TranslateTTDPatchCodes(const char *str);
    15 
    15 
    16 bool CheckGrfLangID(byte lang_id, byte grf_version);
    16 bool CheckGrfLangID(byte lang_id, byte grf_version);