summaryrefslogtreecommitdiff
path: root/src/skill_flag.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-22 11:26:23 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-22 11:36:10 +0200
commit85143506abfb231a6ffc717a0ebc1a8339cd8a50 (patch)
tree26284a0695295d01164fff1d0f698c9934a8d8cb /src/skill_flag.hpp
parent2f7774c60767d5579af0596caadbb0f9ca822963 (diff)
Rework SKF1_* flags to flag_set<>
Diffstat (limited to 'src/skill_flag.hpp')
-rw-r--r--src/skill_flag.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/skill_flag.hpp b/src/skill_flag.hpp
new file mode 100644
index 00000000..15c6de9c
--- /dev/null
+++ b/src/skill_flag.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "skill_flag_set.hpp"
+#include <boost/preprocessor/cat.hpp>
+
+//
+// Define flag set for each flag.
+//
+#define SKF(tier, index, name) \
+ DECLARE_FLAG(skill_flag_set, BOOST_PP_CAT(SKF_,name), tier, index)
+#include "skill_flag_list.hpp"
+#undef SKF