src/newgrf_text.h
author rubidium
Wed, 07 Mar 2007 12:11:48 +0000
changeset 6574 e1d1a12faaf7
parent 6573 7624f942237f
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
/* $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 SetCurrentGrfLangID(const char *iso_name);
char *TranslateTTDPatchCodes(const char *str);

#endif /* NEWGRF_TEXT_H */