summaryrefslogtreecommitdiffhomepage
path: root/main/editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-23 10:05:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-23 10:05:55 +0200
commitdb2a8661d5dc8cecb4fea80d5cfec237af67ea24 (patch)
tree71399da7d004402863e8f7872f9cf554a93de381 /main/editor.hpp
parent6e3610344e9af648874e560a364ce62a424e8e15 (diff)
add atlas selected indicator
Diffstat (limited to 'main/editor.hpp')
-rw-r--r--main/editor.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/editor.hpp b/main/editor.hpp
index c156d0b9..28ba153c 100644
--- a/main/editor.hpp
+++ b/main/editor.hpp
@@ -37,6 +37,7 @@ struct tile_type final
void select_tile_permutation(const std::shared_ptr<tile_atlas>& atlas);
bool is_tile_selected(const std::shared_ptr<const tile_atlas>& atlas, std::size_t variant) const;
bool is_permutation_selected(const std::shared_ptr<const tile_atlas>& atlas) const;
+ bool is_atlas_selected(const std::shared_ptr<const tile_atlas>& atlas) const;
tile_image get_selected();
void place_tile(world& world, global_coords pos, tile_image& img);