summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
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;