Changeset - r23637:81473ad87850
[Not reviewed]
master
0 1 0
PeterN - 5 years ago 2019-04-20 01:21:25
peter@fuzzle.org
Add: NewGRF string codes to access PUSH/POP_COLOUR. (#7527)
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_text.cpp
Show inline comments
 
@@ -528,6 +528,9 @@ char *TranslateTTDPatchCodes(uint32 grfi
 
						d += Utf8Encode(d, SCC_NEWGRF_PRINT_DWORD_DATE_LONG + code - 0x16);
 
						break;
 

	
 
					case 0x1F: d += Utf8Encode(d, SCC_PUSH_COLOUR); break;
 
					case 0x20: d += Utf8Encode(d, SCC_POP_COLOUR);  break;
 

	
 
					default:
 
						grfmsg(1, "missing handler for extended format code");
 
						break;
0 comments (0 inline, 0 general)