summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-09 19:40:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-09 20:08:56 +0100
commit68b0b73ec3d123278efa15489087c59aa589a111 (patch)
treef019d6ac84e56ac9d46b6500c9429c6cf8e195a9 /loader
parente7ea49a091deff0abe86c5be5f66933213d62e1e (diff)
some random style nits
Diffstat (limited to 'loader')
-rw-r--r--loader/impl.cpp3
-rw-r--r--loader/impl.hpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/loader/impl.cpp b/loader/impl.cpp
index 39256c52..86e79109 100644
--- a/loader/impl.cpp
+++ b/loader/impl.cpp
@@ -8,6 +8,9 @@
// wall
#include "wall-traits.hpp"
#include "wall-cell.hpp"
+// todo scenery_traits
+#include "anim-cell.hpp"
+#include "scenery.hpp"
#include "vobj-cell.hpp"
#include "atlas-loader.hpp"
#include "atlas-loader-storage.hpp"
diff --git a/loader/impl.hpp b/loader/impl.hpp
index 1c757c05..3520d91b 100644
--- a/loader/impl.hpp
+++ b/loader/impl.hpp
@@ -50,8 +50,8 @@ struct loader_impl final : loader_
const wall_cell& make_invalid_wall_atlas() override;
// >-----> ground >----->
- static atlas_loader<class ground_atlas>* make_ground_atlas_loader();
- safe_ptr<atlas_loader<class ground_atlas>> _ground_loader{make_ground_atlas_loader()};
+ [[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;