diff options
author | frosch <frosch@openttd.org> | 2016-12-23 13:38:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-12-23 13:38:50 +0000 |
commit | b25afb239a81ef47d2339daed343d3a169d8863a (patch) | |
tree | 1d9e3ffe256ed3cbe2f921e44010f70b15c95d74 /src/table/control_codes.h | |
parent | 2c8b84f21daab684afb8e4bc241f71a0260eced6 (diff) | |
download | openttd-b25afb239a81ef47d2339daed343d3a169d8863a.tar.xz |
(svn r27706) -Feature: [NewGRF] String command 9A 1E to print the name of a cargo type.
Diffstat (limited to 'src/table/control_codes.h')
-rw-r--r-- | src/table/control_codes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h index 944f92311..d6b1ad6f4 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -143,6 +143,7 @@ enum StringControlCode { SCC_NEWGRF_PRINT_WORD_CARGO_LONG, ///< 9A 1B: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount SCC_NEWGRF_PRINT_WORD_CARGO_SHORT, ///< 9A 1C: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount SCC_NEWGRF_PRINT_WORD_CARGO_TINY, ///< 9A 1D: Read 2 + 2 bytes from the stack as cargo type (translated) and unsigned cargo amount + SCC_NEWGRF_PRINT_WORD_CARGO_NAME, ///< 9A 1E: Read 2 bytes from the stack as cargo name SCC_NEWGRF_PUSH_WORD, ///< 9A 03: Pushes 2 bytes onto the stack SCC_NEWGRF_UNPRINT, ///< 9A 04: "Unprints" the given number of bytes from the string SCC_NEWGRF_DISCARD_WORD, ///< 85: Discard the next two bytes |