Files
@ r5470:972442d614dc
Branch filter:
Location: cpp/openttd-patchpack/source/newgrf_text.h - annotation
r5470:972442d614dc
540 B
text/x-c
(svn r7752) -Codechange: An off-by-one problem reduced the sprite limit by 1 whole sprite
r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3821:e56e6e9edcad r3601:85f189a0e58b r4912:d420151de4c6 r3601:85f189a0e58b r3601:85f189a0e58b r5228:68969c6ab65b r3601:85f189a0e58b r3601:85f189a0e58b | /* $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 */
|