summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
new file mode 100644
index 000000000..b9850a54e
--- /dev/null
+++ b/src/newgrf_text.h
@@ -0,0 +1,16 @@
+/* $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 */