Files
@ r6920:0747f80d0e33
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf_text.h - annotation
r6920:0747f80d0e33
604 B
text/x-c
(svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6348:a905c3e6d8fa r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6247:96e840dbefcc r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6873:011bb2269607 r6873:011bb2269607 r5475:3f5cd13d1b63 | /* $Id$ */
#ifndef NEWGRF_TEXT_H
#define NEWGRF_TEXT_H
/** @file newgrf_text.h
* 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 SetCurrentGrfLangID(const char *iso_name);
char *TranslateTTDPatchCodes(const char *str);
bool CheckGrfLangID(byte lang_id, byte grf_version);
#endif /* NEWGRF_TEXT_H */
|