summaryrefslogtreecommitdiffhomepage
path: root/src/wall-defs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wall-defs.hpp')
-rw-r--r--src/wall-defs.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wall-defs.hpp b/src/wall-defs.hpp
new file mode 100644
index 00000000..a9327d53
--- /dev/null
+++ b/src/wall-defs.hpp
@@ -0,0 +1,13 @@
+#pragma once
+#include "compat/integer-types.hpp"
+
+namespace floormat::Wall {
+
+enum class Group_ : uint8_t { wall, overlay, side, top, corner_L, corner_R, COUNT };
+
+enum class Direction_ : uint8_t { N, E, S, W, COUNT };
+
+constexpr inline auto Direction_COUNT = (size_t)Wall::Direction_::COUNT;
+constexpr inline auto Group_COUNT = (size_t)Wall::Group_::COUNT;
+
+} // namespace floormat::Wall