summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-23 15:33:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-23 15:34:12 +0100
commiteb4922fc429764504a7e94e8c712c368c51685f2 (patch)
treedc2338c69f7811c46c8820846d62dca61271e7a7 /src/scenery.hpp
parent62effff4a9bb2cddd515f6d6123c7ed141258ac1 (diff)
scenery: add table
Diffstat (limited to 'src/scenery.hpp')
-rw-r--r--src/scenery.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scenery.hpp b/src/scenery.hpp
index 68bb084a..b6468ebe 100644
--- a/src/scenery.hpp
+++ b/src/scenery.hpp
@@ -39,7 +39,7 @@ struct scenery final
scenery() noexcept;
scenery(none_tag_t) noexcept;
- scenery(generic_tag_t, rotation r, const anim_atlas& atlas, frame_t frame = 0);
+ scenery(generic_tag_t, rotation r, const anim_atlas& atlas, bool passable = false, frame_t frame = 0);
scenery(door_tag_t, rotation r, const anim_atlas& atlas, bool is_open = false);
scenery(float dt, frame_t frame, rotation r, bool passable, scenery_type type);
@@ -54,7 +54,7 @@ struct scenery_proto final {
scenery_proto() noexcept;
explicit scenery_proto(scenery::none_tag_t) noexcept;
scenery_proto(const std::shared_ptr<anim_atlas>& atlas, const scenery& frame);
- scenery_proto(scenery::generic_tag_t, rotation r, const std::shared_ptr<anim_atlas>& atlas, scenery::frame_t frame = 0);
+ scenery_proto(scenery::generic_tag_t, rotation r, const std::shared_ptr<anim_atlas>& atlas, bool passable = false, scenery::frame_t frame = 0);
scenery_proto(scenery::door_tag_t, rotation r, const std::shared_ptr<anim_atlas>& atlas, bool is_open = false);
scenery_proto& operator=(const scenery_proto&) noexcept;