summaryrefslogtreecommitdiffhomepage
path: root/editor/scenery-editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-18 18:32:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-05-18 18:37:30 +0200
commitf5a7dc9d264c4231d9f688704ceef6971bddf272 (patch)
tree6996ffd40229708db40d781be36e0cf396a9395b /editor/scenery-editor.hpp
parentec7be88fbb4062af20b77198007d815c321c2850 (diff)
editor: fix removing scenery
Diffstat (limited to 'editor/scenery-editor.hpp')
-rw-r--r--editor/scenery-editor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/scenery-editor.hpp b/editor/scenery-editor.hpp
index c23c0c71..8b497015 100644
--- a/editor/scenery-editor.hpp
+++ b/editor/scenery-editor.hpp
@@ -9,6 +9,7 @@ namespace floormat {
struct anim_atlas;
struct global_coords;
struct world;
+struct app;
struct scenery_editor final
{
@@ -31,7 +32,7 @@ struct scenery_editor final
bool is_atlas_selected(const std::shared_ptr<anim_atlas>& atlas) const;
bool is_item_selected(const scenery_& s) const;
bool is_anything_selected() const;
- static void place_tile(world& w, global_coords pos, const scenery_& s);
+ static void place_tile(world& w, global_coords pos, const scenery_& s, app& a);
auto cbegin() const noexcept { return _atlases.cbegin(); }
auto cend() const noexcept { return _atlases.cend(); }