summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-10 06:12:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-10 06:17:31 +0100
commit5fd11965fbde71e56423da13955069aa92c28d30 (patch)
tree7734525da8abbbf3828b167eb13ed609b9d25f7e /loader
parent91679b2836881d98333599f6b6602ccad7e37fd1 (diff)
test: don't load in the atlases multiple times
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.hpp b/loader/loader.hpp
index 2da6b361..60fda8b6 100644
--- a/loader/loader.hpp
+++ b/loader/loader.hpp
@@ -32,7 +32,7 @@ struct loader_
virtual Trade::ImageData2D texture(StringView prefix, StringView filename) noexcept(false) = 0;
virtual const std::shared_ptr<class ground_atlas>& ground_atlas(StringView filename, loader_policy policy = loader_policy::DEFAULT) noexcept(false) = 0;
virtual ArrayView<const String> anim_atlas_list() = 0;
- virtual std::shared_ptr<class anim_atlas> anim_atlas(StringView name, StringView dir = ANIM_PATH, loader_policy policy = loader_policy::DEFAULT) noexcept(false) = 0;
+ virtual std::shared_ptr<class anim_atlas> anim_atlas(StringView name, StringView dir, loader_policy policy = loader_policy::DEFAULT) noexcept(false) = 0;
virtual const std::shared_ptr<class wall_atlas>& wall_atlas(StringView name, loader_policy policy = loader_policy::DEFAULT) noexcept(false) = 0;
virtual ArrayView<const wall_cell> wall_atlas_list() = 0;
virtual void destroy() = 0;