summaryrefslogtreecommitdiffhomepage
path: root/src/anim.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-20 15:27:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-20 15:27:31 +0100
commit5dbee173b961792b42596cb792a50624555cc41b (patch)
tree2e6d82e2c3fefd13584730aecd42a3d3fc14f105 /src/anim.hpp
parent81156d180847bf9ba502a25e546723f234d0e2c9 (diff)
src, senery, serialize: implement z offset
Diffstat (limited to 'src/anim.hpp')
-rw-r--r--src/anim.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/anim.hpp b/src/anim.hpp
index fe455128..4b7b6bc8 100644
--- a/src/anim.hpp
+++ b/src/anim.hpp
@@ -26,6 +26,7 @@ struct anim_group final
std::vector<anim_frame> frames;
Vector2ui ground; // for use in anim-crop-tool only
Vector3b offset;
+ Vector2b z_offset;
};
enum class anim_scale_type : unsigned char { invalid, ratio, fixed, };