summaryrefslogtreecommitdiffhomepage
path: root/src/tile.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-01 14:35:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-01 14:36:31 +0100
commitcc7d22803c50c1df9fc22e3ac91efd428bd5090d (patch)
tree980eca810274274bc41c474baa19b924ec051ce8 /src/tile.hpp
parent81f68a2c83c0c25259cd526c8bb4839caa361e8f (diff)
tile: remove '_image' stuffix from tile_proto accessors
Diffstat (limited to 'src/tile.hpp')
-rw-r--r--src/tile.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tile.hpp b/src/tile.hpp
index dc635da6..23b50161 100644
--- a/src/tile.hpp
+++ b/src/tile.hpp
@@ -30,10 +30,10 @@ struct tile_proto final
scenery scenery_frame;
enum pass_mode pass_mode = pass_mode::pass_shoot_through;
- tile_image_proto ground_image() const noexcept;
- tile_image_proto wall_north_image() const noexcept;
- tile_image_proto wall_west_image() const noexcept;
- scenery_proto scenery_image() const noexcept;
+ tile_image_proto ground() const noexcept;
+ tile_image_proto wall_north() const noexcept;
+ tile_image_proto wall_west() const noexcept;
+ scenery_proto scenery() const noexcept;
friend bool operator==(const tile_proto& a, const tile_proto& b) noexcept;
};