summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-24 22:55:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-24 22:55:06 +0200
commit9076ef2ee672877bbf339d5ca8db182445f127f7 (patch)
treeb1c2c8a379e864867f8ad3878fc81d9f06fa1bda /editor/update.cpp
parent27a04888cfeca3d3db127744dde60b67fe497b94 (diff)
a
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index bed45c94..734ed7b5 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -7,9 +7,9 @@ namespace floormat {
//#define FM_NO_BINDINGS
-void app::maybe_init_chunk(const chunk_coords& pos, chunk& c)
+void app::maybe_initialize_chunk_(const chunk_coords& pos, chunk& c)
{
- (void)pos;
+ (void)pos; (void)c;
constexpr auto N = TILE_MAX_DIM;
for (auto [x, k, pt] : c) {
@@ -30,6 +30,11 @@ void app::maybe_init_chunk(const chunk_coords& pos, chunk& c)
c[{K+1, K }].wall_west = { _wall2, 0 };
}
+void app::maybe_initialize_chunk(const chunk_coords& pos, chunk& c)
+{
+ //maybe_initialize_chunk(pos, c);
+}
+
void app::do_mouse_click(const global_coords pos, int button)
{
if (button == mouse_button_left)