From 980845008f904dcb2fc8a4244c1bc19ed2a3ad71 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 30 Oct 2022 20:04:31 +0100 Subject: wall stuff --- editor/editor.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor') diff --git a/editor/editor.hpp b/editor/editor.hpp index 2d215a42..7cd8a72c 100644 --- a/editor/editor.hpp +++ b/editor/editor.hpp @@ -76,6 +76,8 @@ struct editor final tile_editor& floor() noexcept { return _floor; } const tile_editor& floor() const noexcept { return _floor; } + tile_editor& wall() noexcept { return _wall; } + const tile_editor& wall() const noexcept { return _wall; } tile_editor* current(); const tile_editor* current() const; @@ -95,6 +97,7 @@ struct editor final private: tile_editor _floor{ editor_mode::floor, "floor"}; + tile_editor _wall{ editor_mode::floor, "wall"}; std::optional _last_pos; editor_mode _mode = editor_mode::select; bool _dirty = false; -- cgit v1.2.3