summaryrefslogtreecommitdiff
path: root/src/ego_flag.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-21 11:02:48 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-22 08:49:05 +0200
commit6f02ef2e62739efc23d10ae2c7cea69a908b657b (patch)
tree6c77f556dc953b27ac7d97dfa656fe650d79a191 /src/ego_flag.hpp
parent3941b7834f0a038ed544e6ee96b9920d43db4c32 (diff)
Rework ETR4_* flags to flag_set<>
Diffstat (limited to 'src/ego_flag.hpp')
-rw-r--r--src/ego_flag.hpp12
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