diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 14:20:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 14:20:49 +0200 |
commit | 33530af5f134ea91a24a0dc3333765dbd891f01a (patch) | |
tree | d9b0516e961c0ffbff9d64972d29d87006091117 /main/editor.hpp | |
parent | 41c9dcd43bc3b2d2508dff46e58cb2b91db2ef65 (diff) |
tile placement wip
Diffstat (limited to 'main/editor.hpp')
-rw-r--r-- | main/editor.hpp | 2 |
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 { |