summaryrefslogtreecommitdiffhomepage
path: root/floormat/main.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-01 12:32:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 12:32:37 +0100
commit7ebee3863c061b1d0b64839b56bbc70ff4e5d924 (patch)
treeac0356bdcbf9f77864cb2cb2a6b5f2798c6fb3db /floormat/main.hpp
parent078c376b6255fb6fd24362b27862819444327265 (diff)
move scenery modify logic to scenery_ref
Diffstat (limited to 'floormat/main.hpp')
-rw-r--r--floormat/main.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp
index b729e9a2..08d94404 100644
--- a/floormat/main.hpp
+++ b/floormat/main.hpp
@@ -16,7 +16,7 @@ struct tile_shader;
struct world;
struct scenery;
struct anim_atlas;
-template<typename Atlas, typename T> struct clickable;
+struct clickable;
struct floor_mesh;
struct wall_mesh;
struct anim_mesh;
@@ -53,8 +53,8 @@ struct floormat_main
virtual void start_text_input() noexcept = 0;
virtual void stop_text_input() noexcept = 0;
- virtual ArrayView<const clickable<anim_atlas, scenery>> clickable_scenery() const noexcept = 0;
- virtual ArrayView<clickable<anim_atlas, scenery>> clickable_scenery() noexcept = 0;
+ virtual ArrayView<const clickable> clickable_scenery() const noexcept = 0;
+ virtual ArrayView<clickable> clickable_scenery() noexcept = 0;
virtual void set_cursor(std::uint32_t cursor) noexcept = 0;
virtual std::uint32_t cursor() const noexcept = 0;