diff --git a/saveload.h b/saveload.h --- a/saveload.h +++ b/saveload.h @@ -126,6 +126,13 @@ enum VarTypes { SLE_INT = SLE_INT32, SLE_STRB = SLE_STRINGBUF, SLE_STRQ = SLE_STRINGQUOTE, + + /* 8 bytes allocated for a maximum of 8 flags + * Flags directing saving/loading of a variable */ + SLF_SAVE_NO = 1 << 8, ///< do not save with savegame, basically player-based + SLF_CONFIG_NO = 1 << 9, ///< do not save to config file + SLF_NETWORK_NO = 1 << 10, ///< do not synchronize over network (but it is saved if SSF_SAVE_NO is not set) + /* 5 more possible flags */ }; typedef uint32 VarType;