From d1984938e4f0cbc24b7b8cc6e219fa873d39418a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Apr 2023 11:12:50 +0200 Subject: a --- floormat/app.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'floormat') diff --git a/floormat/app.hpp b/floormat/app.hpp index 63c8fb81..50dca6f9 100644 --- a/floormat/app.hpp +++ b/floormat/app.hpp @@ -18,6 +18,8 @@ struct chunk; struct floormat_app { + struct z_bounds final { int8_t min, max; }; + explicit floormat_app() noexcept; virtual ~floormat_app() noexcept; @@ -29,6 +31,7 @@ struct floormat_app virtual void update(float dt) = 0; virtual void maybe_initialize_chunk(const chunk_coords_& pos, chunk& c) = 0; virtual void draw() = 0; + virtual z_bounds get_z_bounds() = 0; virtual void on_mouse_move(const mouse_move_event& event) noexcept = 0; virtual void on_mouse_up_down(const mouse_button_event& event, bool is_down) noexcept = 0; -- cgit v1.2.3