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