summaryrefslogtreecommitdiffhomepage
path: root/loader/impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 03:18:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 03:18:00 +0100
commitf3d870a400395e75f601f32a3bbb3e68502d9000 (patch)
tree3735b14eaa74d4a80d9197ac973b5dbffbd675d6 /loader/impl.hpp
parentb91deae59c69ca41d5feffaf4f16b29ee47af64d (diff)
fix some todo's
Diffstat (limited to 'loader/impl.hpp')
-rw-r--r--loader/impl.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp
index 37a00304..d88174ba 100644
--- a/loader/impl.hpp
+++ b/loader/impl.hpp
@@ -60,7 +60,9 @@ struct loader_impl final : loader_
// >-----> tile >----->
tsl::robin_map<StringView, std::shared_ptr<class tile_atlas>> tile_atlas_map;
+ std::vector<std::shared_ptr<class tile_atlas>> tile_atlas_array;
+ ArrayView<const std::shared_ptr<class tile_atlas>> tile_atlases(StringView filename) noexcept(false) override;
std::shared_ptr<class tile_atlas> tile_atlas(StringView filename, Vector2ub size, pass_mode pass) noexcept(false) override;
std::shared_ptr<class tile_atlas> tile_atlas(StringView filename) noexcept(false) override;
@@ -77,7 +79,7 @@ struct loader_impl final : loader_
std::vector<serialized_scenery> sceneries_array;
tsl::robin_map<StringView, const serialized_scenery*> sceneries_map;
- const std::vector<serialized_scenery>& sceneries() override;
+ ArrayView<const serialized_scenery> sceneries() override;
const scenery_proto& scenery(StringView name) noexcept(false) override;
void get_scenery_list();