summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
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)