summaryrefslogtreecommitdiffhomepage
path: root/main/editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-21 14:20:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-21 14:20:49 +0200
commit33530af5f134ea91a24a0dc3333765dbd891f01a (patch)
treed9b0516e961c0ffbff9d64972d29d87006091117 /main/editor.hpp
parent41c9dcd43bc3b2d2508dff46e58cb2b91db2ef65 (diff)
tile placement wip
Diffstat (limited to 'main/editor.hpp')
-rw-r--r--main/editor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/editor.hpp b/main/editor.hpp
index 4214ec5e..efdeb5d9 100644
--- a/main/editor.hpp
+++ b/main/editor.hpp
@@ -38,7 +38,7 @@ struct tile_type final
bool is_tile_selected(const std::shared_ptr<tile_atlas>& atlas, std::uint8_t variant);
bool is_permutation_selected(const std::shared_ptr<tile_atlas>& atlas);
std::optional<std::tuple<std::shared_ptr<tile_atlas>, std::uint8_t>> get_selected();
- void place_tile(world& world, global_coords pos);
+ void place_tile(world& world, global_coords pos, std::tuple<std::shared_ptr<tile_atlas>, std::uint8_t> img);
private:
enum selection_mode : std::uint8_t {