summaryrefslogtreecommitdiff
path: root/src/string_type.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:50:44 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:50:44 +0000
commit5cda1d7c90f7ac2a1d8a851edbe426f07a032946 (patch)
tree49cf84b2640c39bca5b7dad70f3e19c481f7025f /src/string_type.h
parent577fe0238e7f4681fdf96b8aed241908a9f72de9 (diff)
downloadopenttd-5cda1d7c90f7ac2a1d8a851edbe426f07a032946.tar.xz
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
Diffstat (limited to 'src/string_type.h')
-rw-r--r--src/string_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string_type.h b/src/string_type.h
index 174606635..10de1e230 100644
--- a/src/string_type.h
+++ b/src/string_type.h
@@ -49,6 +49,7 @@ enum StringValidationSettings {
SVS_NONE = 0, ///< Allow nothing and replace nothing.
SVS_REPLACE_WITH_QUESTION_MARK = 1 << 0, ///< Replace the unknown/bad bits with question marks.
SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines.
+ SVS_ALLOW_CONTROL_CODE = 1 << 2, ///< Allow the special control codes.
};
DECLARE_ENUM_AS_BIT_SET(StringValidationSettings);