diff options
Diffstat (limited to 'src/anim-atlas.hpp')
-rw-r--r-- | src/anim-atlas.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp index 1a110a2b..e58f90b6 100644 --- a/src/anim-atlas.hpp +++ b/src/anim-atlas.hpp @@ -38,6 +38,7 @@ struct anim_atlas final [[nodiscard]] rotation next_rotation_from(rotation r) const noexcept; [[nodiscard]] rotation prev_rotation_from(rotation r) const noexcept; [[nodiscard]] bool check_rotation(rotation r) const noexcept; + rotation first_rotation() const noexcept; fm_DECLARE_DELETED_COPY_ASSIGNMENT(anim_atlas); @@ -51,7 +52,7 @@ private: }; static decltype(_group_indices) make_group_indices(const anim_def& anim) noexcept; - static std::uint8_t rotation_to_index(const anim_def& a, rotation r) noexcept; + static std::uint8_t rotation_to_index(StringView name) noexcept; static BitArray make_bitmask(const ImageView2D& tex); }; |