blob: 0448b426d59c091f93836d55d4f840767764628c (
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/defs.hpp"
#include "tile-image.hpp"
namespace floormat {
struct tile final
{
enum pass_mode : std::uint8_t { pass_blocked, pass_ok, pass_shoot_through, };
tile_image ground, wall_north, wall_west;
pass_mode passability = pass_shoot_through;
constexpr tile() = default;
fm_DECLARE_DEPRECATED_COPY_ASSIGNMENT(tile);
fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(tile);
};
} //namespace floormat
|