(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...)

This commit is contained in:
2006-04-23 18:27:53 +00:00
parent b54ebaba70
commit baebc8d47e
3 changed files with 11 additions and 10 deletions

View File

@@ -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);