diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-09 19:34:15 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-09 20:08:55 +0100 |
| commit | d0395f8468b33817a79a0fd625ae52cdff06ae19 (patch) | |
| tree | 1751e2e0771cb231fc143aebd7df3c1e72334beb /loader/impl.cpp | |
| parent | d30921ac0b361639c10ae9d337cbf16cc3b7d359 (diff) | |
loader: move vobj_cell to its own file
Diffstat (limited to 'loader/impl.cpp')
| -rw-r--r-- | loader/impl.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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 <Corrade/Containers/Pair.h> -#include <Magnum/Trade/ImageData.h> - #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(); |
