src/newgrf_text.h
changeset 5475 2e6990a8c7c4
parent 5228 26dc9acf7d94
child 6247 7d81e3a5d803
equal deleted inserted replaced
5474:ac55aefc54f3 5475:2e6990a8c7c4
       
     1 /* $Id$ */
       
     2 #ifndef NEWGRF_TEXT_H
       
     3 #define NEWGRF_TEXT_H
       
     4 
       
     5 /** @file
       
     6  * Header of Action 04 "universal holder" structure and functions
       
     7  */
       
     8 
       
     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);
       
    11 char *GetGRFString(char *buff, uint16 stringid, const char* last);
       
    12 void CleanUpStrings(void);
       
    13 void SetCurrentGrfLangID(const char *iso_name);
       
    14 char *TranslateTTDPatchCodes(const char *str);
       
    15 
       
    16 #endif /* NEWGRF_TEXT_H */