From d0395f8468b33817a79a0fd625ae52cdff06ae19 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 9 Feb 2024 19:34:15 +0100 Subject: loader: move vobj_cell to its own file --- loader/impl.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'loader/impl.cpp') diff --git a/loader/impl.cpp b/loader/impl.cpp index 543f0794..1b6e80e3 100644 --- a/loader/impl.cpp +++ b/loader/impl.cpp @@ -3,14 +3,12 @@ #include "scenery.hpp" #include "wall-cell.hpp" #include "anim-cell.hpp" -#include "ground-cell.hpp" #include "ground-traits.hpp" +#include "ground-cell.hpp" +#include "vobj-cell.hpp" #include "atlas-loader.hpp" #include "atlas-loader-storage.hpp" -#include -#include - #ifdef __GNUG__ #pragma GCC diagnostic ignored "-Walloca" #endif @@ -31,8 +29,7 @@ StringView loader_impl::shader(StringView filename) noexcept return ret; } -loader_impl::loader_impl() : - _ground_loader{ make_ground_atlas_loader() } +loader_impl::loader_impl() { missing_wall_atlases.reserve(32); system_init(); -- cgit v1.2.3