diff options
author | frosch <frosch@openttd.org> | 2014-01-12 18:01:33 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-01-12 18:01:33 +0000 |
commit | e9c22ef16fd7043707eaee96991cb2e94b597449 (patch) | |
tree | 235fea6ae3d3ec7be71614c3c749c38d01d35d23 /src/table | |
parent | 00e7ceeca4ffa42c3837462c6444d1a7d5201a96 (diff) | |
download | openttd-e9c22ef16fd7043707eaee96991cb2e94b597449.tar.xz |
(svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/control_codes.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |