diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 06:47:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:49:52 +0100 |
commit | b2be7d57642197c0f65d2645c767c4f868ababb1 (patch) | |
tree | b711d99a22fe1de220e6458a6e5848b4e3af6b12 /loader/impl.cpp | |
parent | 0de0eb1fe18949a328b9e76a2dbf6319692cc3cb (diff) |
implement anim_loader
Diffstat (limited to 'loader/impl.cpp')
-rw-r--r-- | loader/impl.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/loader/impl.cpp b/loader/impl.cpp index 1d758c4e..704d6de2 100644 --- a/loader/impl.cpp +++ b/loader/impl.cpp @@ -1,16 +1,13 @@ #include "impl.hpp" #include "compat/assert.hpp" -#include "scenery-cell.hpp" -#include "wall-cell.hpp" -#include "anim-cell.hpp" #include "ground-traits.hpp" #include "ground-cell.hpp" -// wall #include "wall-traits.hpp" #include "wall-cell.hpp" -// todo scenery_traits +#include "anim-traits.hpp" #include "anim-cell.hpp" #include "scenery-cell.hpp" +// todo scenery_traits #include "vobj-cell.hpp" #include "atlas-loader.hpp" #include "atlas-loader-storage.hpp" @@ -56,9 +53,7 @@ void loader_impl::destroy() { _ground_loader = {InPlace}; _wall_loader = {InPlace}; - anim_atlas_map.clear(); - anim_atlases.clear(); - invalid_anim_atlas = nullptr; + _anim_loader = {InPlace}; sceneries_map.clear(); sceneries_array.clear(); |