diff options
Diffstat (limited to 'main/clickable.hpp')
-rw-r--r-- | main/clickable.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/clickable.hpp b/main/clickable.hpp index 0b491a52..7a192fb3 100644 --- a/main/clickable.hpp +++ b/main/clickable.hpp @@ -2,6 +2,7 @@ #include "src/global-coords.hpp" #include <memory> #include <Corrade/Containers/BitArrayView.h> +#include <Magnum/Math/Vector2.h> #include <Magnum/Math/Range.h> namespace floormat { @@ -13,7 +14,7 @@ struct clickable final { Math::Range2D<int> dest; BitArrayView bitmask; entity* e; - float depth; + float depth, slope; uint32_t stride; bool mirrored; }; |