summaryrefslogtreecommitdiffhomepage
path: root/src/tile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.hpp')
-rw-r--r--src/tile.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tile.hpp b/src/tile.hpp
index efdd331b..a195eec4 100644
--- a/src/tile.hpp
+++ b/src/tile.hpp
@@ -8,7 +8,7 @@ class anim_atlas;
struct tile_proto final
{
- std::shared_ptr<tile_atlas> ground_atlas;
+ std::shared_ptr<ground_atlas> ground_atlas;
std::shared_ptr<wall_atlas> wall_north_atlas, wall_west_atlas;
variant_t ground_variant = 0, wall_north_variant = 0, wall_west_variant = 0;
@@ -31,13 +31,13 @@ struct tile_ref final
wall_image_proto wall_north() const noexcept;
wall_image_proto wall_west() const noexcept;
- std::shared_ptr<tile_atlas> ground_atlas() noexcept;
- std::shared_ptr<wall_atlas> wall_north_atlas() noexcept;
- std::shared_ptr<wall_atlas> wall_west_atlas() noexcept;
+ std::shared_ptr<class ground_atlas> ground_atlas() noexcept;
+ std::shared_ptr<class wall_atlas> wall_north_atlas() noexcept;
+ std::shared_ptr<class wall_atlas> wall_west_atlas() noexcept;
- std::shared_ptr<const tile_atlas> ground_atlas() const noexcept;
- std::shared_ptr<const wall_atlas> wall_north_atlas() const noexcept;
- std::shared_ptr<const wall_atlas> wall_west_atlas() const noexcept;
+ std::shared_ptr<const class ground_atlas> ground_atlas() const noexcept;
+ std::shared_ptr<const class wall_atlas> wall_north_atlas() const noexcept;
+ std::shared_ptr<const class wall_atlas> wall_west_atlas() const noexcept;
explicit operator tile_proto() const noexcept;