summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-20 22:35:11 +0000
committerfrosch <frosch@openttd.org>2011-08-20 22:35:11 +0000
commit26530063f137cbd5bdaebfb54338cadeb9fa2ed2 (patch)
tree0f33fb2dc02fef0ff6e4cffde879dd4d09e5f070 /src/table/control_codes.h
parentcc89bec4a2df692a7513a64e8b879cd603e4e5d3 (diff)
downloadopenttd-26530063f137cbd5bdaebfb54338cadeb9fa2ed2.tar.xz
(svn r22778) -Add: [NewGRF] Stringcodes for printing 0-based dates. (Hirundo)
Diffstat (limited to 'src/table/control_codes.h')
-rw-r--r--src/table/control_codes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index 35e44f67b..355ae8753 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -129,6 +129,8 @@ enum StringControlCode {
SCC_NEWGRF_PRINT_WORD_HEX, ///< Read 2 bytes from the stack and print it as hex
SCC_NEWGRF_PRINT_DWORD_HEX, ///< Read 4 bytes from the stack and print it as hex
SCC_NEWGRF_PRINT_QWORD_HEX, ///< Read 8 bytes from the stack and print it as hex
+ SCC_NEWGRF_PRINT_DWORD_DATE_LONG, ///< Read 4 bytes from the stack as base 0 date
+ SCC_NEWGRF_PRINT_DWORD_DATE_SHORT, ///< Read 4 bytes from the stack as base 0 date
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