summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-17 13:47:04 +0000
committerrubidium <rubidium@openttd.org>2008-07-17 13:47:04 +0000
commit5a94972c2db660c9cc5fe5d79ea095af04456a21 (patch)
treec5968a407194cba5120766750d96971df91cde2f /src/table/control_codes.h
parent31d283c6c88464837dd57b78f75394367c4d40f7 (diff)
downloadopenttd-5a94972c2db660c9cc5fe5d79ea095af04456a21.tar.xz
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
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 d889ba193..b35129960 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -66,6 +66,7 @@ enum StringControlCode {
SCC_NUM,
SCC_STRING_ID,
+ SCC_RAW_STRING_POINTER,
SCC_PLURAL_LIST,
SCC_GENDER_LIST,
SCC_GENDER_INDEX,