From 68b0b73ec3d123278efa15489087c59aa589a111 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Feb 2024 19:40:27 +0100 Subject: some random style nits --- loader/impl.cpp | 3 +++ loader/impl.hpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'loader') 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* make_ground_atlas_loader(); - safe_ptr> _ground_loader{make_ground_atlas_loader()}; + [[nodiscard]] static atlas_loader* make_ground_atlas_loader(); + safe_ptr> _ground_loader{ make_ground_atlas_loader() }; const std::shared_ptr& ground_atlas(StringView filename, loader_policy policy) noexcept(false) override; ArrayView ground_atlas_list() noexcept(false) override; const ground_cell& make_invalid_ground_atlas() override; -- cgit v1.2.3