diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-23 18:27:53 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-23 18:27:53 +0000 |
commit | baebc8d47e33e0c0a9a5cd3943afabeafabc19d9 (patch) | |
tree | 0f5c1d602bdc27f39eadaa2e27cc65bc3cab160b /newgrf_text.h | |
parent | b54ebaba70f211044ba8aa39ee13599b3945b2ff (diff) | |
download | openttd-baebc8d47e33e0c0a9a5cd3943afabeafabc19d9.tar.xz |
(svn r4550) - NewGRF: update string system to new rules: a grf version of less than 6 uses the old scheme, of 7 or more uses the new scheme. (Moving targets, yay...)
Diffstat (limited to 'newgrf_text.h')
-rw-r--r-- | newgrf_text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_text.h b/newgrf_text.h index 5d43c4ae2..8d4b3f47f 100644 --- a/newgrf_text.h +++ b/newgrf_text.h @@ -30,7 +30,7 @@ typedef struct GRFTextEntry { } GRFTextEntry; -StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, const char *text_to_add); +StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add); StringID GetGRFStringID(uint32 grfid, uint16 stringid); char *GetGRFString(char *buff, uint16 stringid); void CleanUpStrings(void); |