diff options
Diffstat (limited to 'editor/editor-enums.hpp')
-rw-r--r-- | editor/editor-enums.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/editor/editor-enums.hpp b/editor/editor-enums.hpp new file mode 100644 index 00000000..604956cb --- /dev/null +++ b/editor/editor-enums.hpp @@ -0,0 +1,19 @@ +#pragma once + +namespace floormat { + +enum class editor_mode : unsigned char { + none, floor, walls, scenery, +}; + +enum class editor_wall_rotation : std::uint8_t { + N, W, +}; + +enum class editor_snap_mode : std::uint8_t { + none = 0, + horizontal = 1 << 0, + vertical = 1 << 1, +}; + +} // namespace floormat |