newgrf_text.h
author miham
Thu, 28 Dec 2006 18:45:24 +0000
changeset 5656 0ce356fe63ad
parent 5228 c4a780348f66
permissions -rw-r--r--
(svn r7601) WebTranslator2 update to 2006-12-28 19:44:37
bulgarian - 7 fixed, 2 changed by kokobongo (9)
catalan - 5 changed by arnaullv (5)
estonian - 2 fixed, 7 changed by kristjans (9)
italian - 2 fixed by sidew (2)
polish - 3 fixed, 3 changed by meush (6)
russian - 2 fixed by Smoky555 (2)
spanish - 41 fixed by eusebio (41)
swedish - 13 fixed, 81 changed by ChrillDeVille (94)
turkish - 4 fixed, 2 changed by jnmbk (6)
/* $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 */