diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-21 11:02:48 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 08:49:05 +0200 |
commit | 6f02ef2e62739efc23d10ae2c7cea69a908b657b (patch) | |
tree | 6c77f556dc953b27ac7d97dfa656fe650d79a191 /src/ego_flag.hpp | |
parent | 3941b7834f0a038ed544e6ee96b9920d43db4c32 (diff) |
Rework ETR4_* flags to flag_set<>
Diffstat (limited to 'src/ego_flag.hpp')
-rw-r--r-- | src/ego_flag.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ego_flag.hpp b/src/ego_flag.hpp new file mode 100644 index 00000000..8afb6b19 --- /dev/null +++ b/src/ego_flag.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include "ego_flag_set.hpp" +#include <boost/preprocessor/cat.hpp> + +// +// Define flag set for each flag. +// +#define ETR(tier, index, name) \ + DECLARE_FLAG(ego_flag_set, BOOST_PP_CAT(ETR_,name), tier, index) +#include "ego_flag_list.hpp" +#undef ETR |