summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-28 18:55:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-28 18:55:55 +0100
commit16911b659ac6555ada2ddec560eb82c8dd7b910f (patch)
treeaa46734355b1b0029f56e80f683234210598cd10 /editor/tile-editor.hpp
parent9236dae6b3357c83de469947add0bf9c169367c5 (diff)
editor: only show cursor when placing something
Diffstat (limited to 'editor/tile-editor.hpp')
-rw-r--r--editor/tile-editor.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/tile-editor.hpp b/editor/tile-editor.hpp
index 4569bfee..5f2b00d6 100644
--- a/editor/tile-editor.hpp
+++ b/editor/tile-editor.hpp
@@ -53,6 +53,7 @@ public:
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;
+ bool is_anything_selected() const;
tile_image_proto get_selected();
void place_tile(world& world, global_coords pos, const tile_image_proto& img);
void toggle_rotation();