diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:53:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 08:53:20 +0100 |
commit | ffcaa950516c41a1aa73d5c6742f8a8af5fb355d (patch) | |
tree | 83065b1a39b0961cad57b0a3cc01ca6d896fdef9 /loader/anim-atlas.cpp | |
parent | 017cb08bf33608f1ceb8d59800a8d1d2f9d5d455 (diff) |
loader: change a few misleading function names
Diffstat (limited to 'loader/anim-atlas.cpp')
-rw-r--r-- | loader/anim-atlas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/anim-atlas.cpp b/loader/anim-atlas.cpp index 1c1a7ec0..76a656e4 100644 --- a/loader/anim-atlas.cpp +++ b/loader/anim-atlas.cpp @@ -20,7 +20,7 @@ atlas_loader<class anim_atlas>* loader_impl::make_anim_atlas_loader() ArrayView<const anim_cell> loader_impl::anim_atlas_list() { - return _anim_loader->ensure_atlas_list(); + return _anim_loader->atlas_list(); } std::shared_ptr<anim_atlas> loader_impl::anim_atlas(StringView name, StringView dir, loader_policy p) noexcept(false) @@ -30,7 +30,7 @@ std::shared_ptr<anim_atlas> loader_impl::anim_atlas(StringView name, StringView return _anim_loader->get_atlas(path, p); } -const anim_cell& loader_impl::make_invalid_anim_atlas() +const anim_cell& loader_impl::invalid_anim_atlas() { return _anim_loader->get_invalid_atlas(); } |