summaryrefslogtreecommitdiffhomepage
path: root/editor/editor-enums.hpp
blob: e7e83fafd9d73bf9201b76a508409f2baa9e4c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "compat/integer-types.hpp"

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