summaryrefslogtreecommitdiffhomepage
path: root/src/hole.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hole.hpp')
-rw-r--r--src/hole.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/hole.hpp b/src/hole.hpp
index 35fd29d9..f70fac15 100644
--- a/src/hole.hpp
+++ b/src/hole.hpp
@@ -22,7 +22,6 @@ struct hole_proto final : object_proto
bool on_render : 1 = true;
bool on_physics : 1 = true;
bool enabled : 1 = true;
- bool is_wall : 1 = false;
};
uint8_t height = 0, z_offset = tile_size_z/2;
@@ -57,19 +56,4 @@ private:
void maybe_mark_neighbor_chunks_modified() override;
};
-template<typename T>
-struct CutResult
-{
- using Vec2 = VectorTypeFor<2, T>;
- struct bbox { Vec2 position; Vector2ub bbox_size; };
- struct rect { Vec2 min, max; };
-
- static CutResult cut(bbox input, bbox hole);
- static CutResult cut(Vec2 r0, Vec2 r1, Vec2 h0, Vec2 h1);
-
- std::array<rect, 8> array;
- uint8_t size = 0;
- bool found = false;
-};
-
} // namespace floormat