(svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed

This commit is contained in:
yexo
2010-12-08 13:44:01 +00:00
parent a2f8d89444
commit 70fe377930
3 changed files with 51 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ void StopTextRefStackUsage();
void SwitchToNormalRefStack();
void SwitchToErrorRefStack();
void RewindTextRefStack();
bool UsingNewGRFTextStack();
struct TextRefStack *CreateTextRefStackBackup();
void RestoreTextRefStackBackup(struct TextRefStack *backup);
uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv);
StringID TTDPStringIDToOTTDStringIDMapping(StringID string);