summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-06 13:42:05 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-06 13:42:05 +0100
commit5f032f0e71f8382034c729577450e48721cfdc93 (patch)
tree67b5f5cae623fa33b15fa07e7907754b5763ac18 /serialize
parent78f37b04e284ad7d46c17fb31df0ee064a818ae1 (diff)
switch anim atlas ground to unsigned
Diffstat (limited to 'serialize')
-rw-r--r--serialize/anim.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/serialize/anim.hpp b/serialize/anim.hpp
index fb4b2f80..8915e8f1 100644
--- a/serialize/anim.hpp
+++ b/serialize/anim.hpp
@@ -10,8 +10,7 @@ namespace floormat::Serialize {
struct anim_frame final
{
- Vector2i ground;
- Vector2ui offset, size;
+ Vector2ui ground, offset, size;
};
enum class anim_direction : unsigned char
@@ -24,7 +23,7 @@ struct anim_group final
{
String name;
std::vector<anim_frame> frames;
- Vector2i ground;
+ Vector2ui ground;
};
struct anim final