From 5cda1d7c90f7ac2a1d8a851edbe426f07a032946 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 20:50:44 +0000 Subject: (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) --- src/saveload/saveload.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/saveload/saveload.h') diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h index cac20ce5a..c5ffbeff8 100644 --- a/src/saveload/saveload.h +++ b/src/saveload/saveload.h @@ -174,7 +174,9 @@ enum VarTypes { SLF_NOT_IN_SAVE = 1 << 8, ///< do not save with savegame, basically client-based SLF_NOT_IN_CONFIG = 1 << 9, ///< do not save to config file SLF_NO_NETWORK_SYNC = 1 << 10, ///< do not synchronize over network (but it is saved if SLF_NOT_IN_SAVE is not set) - /* 5 more possible flags */ + SLF_ALLOW_CONTROL = 1 << 11, ///< allow control codes in the strings + SLF_ALLOW_NEWLINE = 1 << 12, ///< allow new lines in the strings + /* 3 more possible flags */ }; typedef uint32 VarType; -- cgit v1.2.3-70-g09d2