summaryrefslogtreecommitdiffhomepage
path: root/editor/editor-enums.hpp
blob: 604956cb4898a7d44ff27d63a7e527dabf50f482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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