summaryrefslogtreecommitdiff
path: root/newgrf_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_text.h')
-rw-r--r--newgrf_text.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/newgrf_text.h b/newgrf_text.h
index 8d4b3f47f..2b7886c79 100644
--- a/newgrf_text.h
+++ b/newgrf_text.h
@@ -26,11 +26,12 @@ typedef struct GRFText {
typedef struct GRFTextEntry {
uint32 grfid;
uint16 stringid;
+ StringID def_string;
GRFText *textholder;
} GRFTextEntry;
-StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add);
+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);
void CleanUpStrings(void);