summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:59:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:59:22 +0100
commit985ce7d9b033d16f49170af8505af46ddcf29081 (patch)
tree395703bc73ce3b262fb3a4188ad8c4bdaca7de80 /loader
parentffcaa950516c41a1aa73d5c6742f8a8af5fb355d (diff)
style only
Diffstat (limited to 'loader')
-rw-r--r--loader/impl.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp
index 58875f78..b4c8b316 100644
--- a/loader/impl.hpp
+++ b/loader/impl.hpp
@@ -41,14 +41,6 @@ struct loader_impl final : loader_
Trade::ImageData2D make_error_texture(Vector2ui size) override;
Trade::ImageData2D texture(StringView prefix, StringView filename) noexcept(false) override;
- // >-----> walls >----->
- [[nodiscard]] static atlas_loader<class wall_atlas>* make_wall_atlas_loader(); // todo! reorder this block with ground_atlas
- safe_ptr<atlas_loader<class wall_atlas>> _wall_loader{ make_wall_atlas_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& 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() };
@@ -57,6 +49,14 @@ struct loader_impl final : loader_
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;
+ // >-----> walls >----->
+ [[nodiscard]] static atlas_loader<class wall_atlas>* make_wall_atlas_loader();
+ safe_ptr<atlas_loader<class wall_atlas>> _wall_loader{ make_wall_atlas_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& invalid_wall_atlas() override;
+
// >-----> anim >----->
[[nodiscard]] static atlas_loader<class anim_atlas>* make_anim_atlas_loader();
safe_ptr<atlas_loader<class anim_atlas>> _anim_loader{ make_anim_atlas_loader() };