summaryrefslogtreecommitdiffhomepage
path: root/src/tile.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 13:54:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:11:47 +0100
commit7867213a01fcabb1f05b1836c2ca59dc3bb2132f (patch)
tree44af754bed0278c8bf3435df6278bd291c3043e5 /src/tile.hpp
parent74cf06b6b217eff32a547cf73f051f27e6b80919 (diff)
rename tile_atlas -> ground_atlas
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;