summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-01-21 23:10:02 +0000
committeryexo <yexo@openttd.org>2011-01-21 23:10:02 +0000
commit0cdb1c78cdbfce4d426441c21ef7066f1cfecf6f (patch)
tree8eb1c3e45537d04c86de014a61b861b9a928fb7b /src/table
parentc9bd9b0c23b3b4257f384a8980341a8dd325eab3 (diff)
downloadopenttd-0cdb1c78cdbfce4d426441c21ef7066f1cfecf6f.tar.xz
(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters
Diffstat (limited to 'src/table')
-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 ba3d041af..ccebcc864 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -134,6 +134,8 @@ enum StringControlCode {
SCC_NEWGRF_ROTATE_TOP_4_WORDS, ///< Rotate the top 4 words of the stack (W4 W1 W2 W3)
SCC_NEWGRF_LAST = SCC_NEWGRF_ROTATE_TOP_4_WORDS,
+ SCC_NEWGRF_STRINL, ///< Inline another string at the current position, StringID is encoded in the string
+
/* Special printable symbols.
* These are mapped to the original glyphs */
SCC_LESSTHAN = SCC_SPRITE_START + 0x3C,