summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:03:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:03:49 +0100
commit2141477c69d379b02ca52e0df9171834b37aadd7 (patch)
tree347f865c403fd86e24ae6f1d2d327554d23f1c33 /main/main-impl.hpp
parent4f458fba80cbcbfecf3fa54284e3004852bbc172 (diff)
scenery work
Diffstat (limited to 'main/main-impl.hpp')
-rw-r--r--main/main-impl.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp
index 7adaeaec..dd745bef 100644
--- a/main/main-impl.hpp
+++ b/main/main-impl.hpp
@@ -88,13 +88,11 @@ private:
bool do_sleep = false;
} dt_expected;
- struct draw_bounds final { std::int16_t minx, maxx, miny, maxy; };
-
void recalc_viewport(Vector2i size) noexcept;
void draw_world() noexcept;
void draw_anim() noexcept;
- draw_bounds get_draw_bounds() const noexcept;
+ draw_bounds get_draw_bounds() const noexcept override;
[[nodiscard]] static bool check_chunk_visible(const Vector2d& offset, const Vector2i& size) noexcept;
char maybe_register_debug_callback(fm_gpu_debug flag);