From f47790b1ec38f27c486ad2002dac8b310933f0a4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Oct 2022 10:39:18 +0200 Subject: a --- editor/update.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'editor/update.cpp') diff --git a/editor/update.cpp b/editor/update.cpp index d93c34e2..a38f4e6e 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -1,6 +1,5 @@ #include "app.hpp" #include "src/chunk.hpp" -#include "src/tile-atlas.hpp" #include "main/floormat-events.hpp" #include "main/floormat-main.hpp" #include @@ -9,8 +8,10 @@ namespace floormat { //#define FM_NO_BINDINGS -void app::make_test_chunk(chunk& c) +void app::maybe_init_chunk(const chunk_coords& pos, chunk& c) { + (void)pos; + constexpr auto N = TILE_MAX_DIM; for (auto [x, k, pt] : c) { #if defined FM_NO_BINDINGS -- cgit v1.2.3