From e9c22ef16fd7043707eaee96991cb2e94b597449 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 12 Jan 2014 18:01:33 +0000 Subject: (svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo. --- src/table/control_codes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/table/control_codes.h') diff --git a/src/table/control_codes.h b/src/table/control_codes.h index feb4c975f..81f9950d5 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -140,6 +140,9 @@ enum StringControlCode { SCC_NEWGRF_PRINT_WORD_POWER, ///< Read 2 bytes from the stack as unsigned power SCC_NEWGRF_PRINT_WORD_VOLUME_SHORT, ///< Read 2 bytes from the stack as short signed volume SCC_NEWGRF_PRINT_WORD_WEIGHT_SHORT, ///< Read 2 bytes from the stack as short unsigned weight + SCC_NEWGRF_PRINT_WORD_CARGO_LONG, ///< Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount + SCC_NEWGRF_PRINT_WORD_CARGO_SHORT, ///< Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount + SCC_NEWGRF_PRINT_WORD_CARGO_TINY, ///< Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount SCC_NEWGRF_PUSH_WORD, ///< Pushes 2 bytes onto the stack SCC_NEWGRF_UNPRINT, ///< "Unprints" the given number of bytes from the string SCC_NEWGRF_DISCARD_WORD, ///< Discard the next two bytes -- cgit v1.2.3-54-g00ecf