equal
deleted
inserted
replaced
152 static uint _num_grf_texts = 0; |
152 static uint _num_grf_texts = 0; |
153 static GRFTextEntry _grf_text[(1 << TABSIZE) * 3]; |
153 static GRFTextEntry _grf_text[(1 << TABSIZE) * 3]; |
154 static byte _currentLangID = GRFLX_ENGLISH; //by default, english is used. |
154 static byte _currentLangID = GRFLX_ENGLISH; //by default, english is used. |
155 |
155 |
156 |
156 |
157 static char *TranslateTTDPatchCodes(const char *str) |
157 char *TranslateTTDPatchCodes(const char *str) |
158 { |
158 { |
159 char *tmp = malloc(strlen(str) * 10 + 1); /* Allocate space to allow for expansion */ |
159 char *tmp = malloc(strlen(str) * 10 + 1); /* Allocate space to allow for expansion */ |
160 char *d = tmp; |
160 char *d = tmp; |
161 bool unicode = false; |
161 bool unicode = false; |
162 WChar c; |
162 WChar c; |