diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-05 06:30:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-05 06:30:59 +0100 |
commit | 960e346159dbf152d9847f0998e1e717fb7dbfef (patch) | |
tree | 6aab5985d1a2f20542e152d70c9be46bbed0025e /loader/impl.hpp | |
parent | 4ad635e8dfe21d2dd0e0582c44379dde26ca57a8 (diff) |
src: add pass_mode field to tile_atlas
Diffstat (limited to 'loader/impl.hpp')
-rw-r--r-- | loader/impl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp index c50cb1d7..673460aa 100644 --- a/loader/impl.hpp +++ b/loader/impl.hpp @@ -30,7 +30,8 @@ struct loader_impl final : loader_ StringView shader(StringView filename) noexcept override; Trade::ImageData2D texture(StringView prefix, StringView filename) noexcept(false); - std::shared_ptr<struct tile_atlas> tile_atlas(StringView filename, Vector2ub size) noexcept(false) override; + std::shared_ptr<struct tile_atlas> tile_atlas(StringView filename, Vector2ub size, Optional<pass_mode> pass) noexcept(false) override; + std::shared_ptr<struct tile_atlas> tile_atlas(StringView filename) noexcept(false) override; ArrayView<String> anim_atlas_list() override; std::shared_ptr<struct anim_atlas> anim_atlas(StringView name, StringView dir) noexcept(false) override; const std::vector<serialized_scenery>& sceneries() override; |