diff options
Diffstat (limited to 'main/clickable.hpp')
| -rw-r--r-- | main/clickable.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/clickable.hpp b/main/clickable.hpp index 3ca8ccb6..c7502f33 100644 --- a/main/clickable.hpp +++ b/main/clickable.hpp @@ -1,18 +1,19 @@ #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; - float depth = 0; - std::uint32_t stride; - chunk_coords chunk; - local_coords pos; + std::shared_ptr<entity> e; + std::uint32_t depth, stride; bool mirrored; }; |
