summaryrefslogtreecommitdiff
path: root/src/table
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
commitab234cf90cd0b31354fddb9ee1f562a3eb630cdc (patch)
treec5968a407194cba5120766750d96971df91cde2f /src/table
parentc913be73d8dc69910b67f095aa3820ba29e6bf51 (diff)
downloadopenttd-ab234cf90cd0b31354fddb9ee1f562a3eb630cdc.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')
-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,