src/newgrf_text.h
author truelight
Mon, 19 Mar 2007 12:30:11 +0000
branchnoai
changeset 9475 58c20c0e394f
parent 6573 7624f942237f
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r9320) [NoAI] -Fix: added some doxygen comments to make doxygen happy
/* $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 */