summaryrefslogtreecommitdiffhomepage
path: root/loader/impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:53:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:53:20 +0100
commitffcaa950516c41a1aa73d5c6742f8a8af5fb355d (patch)
tree83065b1a39b0961cad57b0a3cc01ca6d896fdef9 /loader/impl.hpp
parent017cb08bf33608f1ceb8d59800a8d1d2f9d5d455 (diff)
loader: change a few misleading function names
Diffstat (limited to 'loader/impl.hpp')
-rw-r--r--loader/impl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp
index 02d28939..58875f78 100644
--- a/loader/impl.hpp
+++ b/loader/impl.hpp
@@ -47,14 +47,14 @@ struct loader_impl final : loader_
const std::shared_ptr<class wall_atlas>& wall_atlas(StringView name, loader_policy policy) override;
ArrayView<const wall_cell> wall_atlas_list() override;
std::shared_ptr<class wall_atlas> get_wall_atlas(StringView filename) noexcept(false) override;
- const wall_cell& make_invalid_wall_atlas() override;
+ const wall_cell& invalid_wall_atlas() override;
// >-----> ground >----->
[[nodiscard]] static atlas_loader<class ground_atlas>* make_ground_atlas_loader();
safe_ptr<atlas_loader<class ground_atlas>> _ground_loader{ make_ground_atlas_loader() };
const std::shared_ptr<class ground_atlas>& ground_atlas(StringView filename, loader_policy policy) noexcept(false) override;
ArrayView<const ground_cell> ground_atlas_list() noexcept(false) override;
- const ground_cell& make_invalid_ground_atlas() override;
+ const ground_cell& invalid_ground_atlas() override;
std::shared_ptr<class ground_atlas> get_ground_atlas(StringView name, Vector2ub size, pass_mode pass) noexcept(false) override;
// >-----> anim >----->
@@ -62,7 +62,7 @@ struct loader_impl final : loader_
safe_ptr<atlas_loader<class anim_atlas>> _anim_loader{ make_anim_atlas_loader() };
ArrayView<const anim_cell> anim_atlas_list() override;
std::shared_ptr<class anim_atlas> anim_atlas(StringView name, StringView dir, loader_policy policy) noexcept(false) override;
- const anim_cell& make_invalid_anim_atlas() override;
+ const anim_cell& invalid_anim_atlas() override;
std::shared_ptr<class anim_atlas> get_anim_atlas(StringView path) noexcept(false) override;
// >-----> scenery >----->