summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-05 13:40:18 +0000
committerrubidium <rubidium@openttd.org>2010-11-05 13:40:18 +0000
commit399eedd884ae28d2a2e7c378fd81643a3b013495 (patch)
tree10fb527e524d9af6af7f6150fe7e6c31246d1296 /src/table/control_codes.h
parenta6f4769ec7f811fa9d1806028eeb413a7b2310ac (diff)
downloadopenttd-399eedd884ae28d2a2e7c378fd81643a3b013495.tar.xz
(svn r21086) -Feature-ish: [NewGRF] String code to print the weight in format based on settings
Diffstat (limited to 'src/table/control_codes.h')
-rw-r--r--src/table/control_codes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index ed6e9947f..ba3d041af 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -121,6 +121,7 @@ enum StringControlCode {
SCC_NEWGRF_PRINT_MONTH_YEAR, ///< Read 2 bytes from the stack as base 1920 date
SCC_NEWGRF_PRINT_WORD_SPEED, ///< Read 2 bytes from the stack as signed speed
SCC_NEWGRF_PRINT_WORD_VOLUME, ///< Read 2 bytes from the stack as signed volume
+ SCC_NEWGRF_PRINT_WORD_WEIGHT, ///< Read 2 bytes from the stack as signed weight
SCC_NEWGRF_PRINT_WORD_STATION_NAME, ///< Read 2 bytes from the stack as station name
SCC_NEWGRF_PRINT_QWORD_CURRENCY, ///< Read 8 bytes from the stack as currency
SCC_NEWGRF_PRINT_HEX_BYTE, ///< Read 1 byte from the stack and print it as hex