blob: c7502f33b94750468abf91a3d3644363f95deab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "src/global-coords.hpp"
#include <memory>
#include <Corrade/Containers/BitArrayView.h>
#include <Magnum/Math/Range.h>
namespace floormat {
struct entity;
struct clickable final {
Math::Range2D<unsigned> src;
Math::Range2D<int> dest;
BitArrayView bitmask;
std::shared_ptr<entity> e;
std::uint32_t depth, stride;
bool mirrored;
};
} // namespace floormat
|