From 107283748ab599a1ae8a01f91c09e9f9a3e4bd06 Mon Sep 17 00:00:00 2001 From: "Johannes E. Krause" Date: Fri, 22 Mar 2019 04:37:53 +0100 Subject: Feature: SLF_HEX to print hexadecimal numbers in the config file --- src/saveload/saveload.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/saveload/saveload.h') diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h index c06e8fdda..14c8c3231 100644 --- a/src/saveload/saveload.h +++ b/src/saveload/saveload.h @@ -471,7 +471,8 @@ enum VarTypes { SLF_NO_NETWORK_SYNC = 1 << 10, ///< do not synchronize over network (but it is saved if SLF_NOT_IN_SAVE is not set) 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 */ + SLF_HEX = 1 << 13, ///< print numbers as hex in the config file (only useful for unsigned) + /* 2 more possible flags */ }; typedef uint32 VarType; -- cgit v1.2.3-54-g00ecf