summaryrefslogtreecommitdiffhomepage
path: root/serialize/anim.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-05 19:30:58 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-05 19:31:40 +0100
commit11f27ee84b255ee5a3f9d72832f5bfef261d2378 (patch)
tree6691a45ff7686739f56e2a7d68002f1f06c62fd7 /serialize/anim.cpp
parent12eca108a07cde1606fca3e472aed58749407699 (diff)
add pixel size to anim atlas
Diffstat (limited to 'serialize/anim.cpp')
-rw-r--r--serialize/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/anim.cpp b/serialize/anim.cpp
index 76d72485..7a5f06fb 100644
--- a/serialize/anim.cpp
+++ b/serialize/anim.cpp
@@ -11,7 +11,7 @@ namespace floormat::Serialize {
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_frame, ground, offset, size)
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_group, name, frames, ground)
-NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim, object_name, anim_name, nframes, actionframe, fps, groups, width, height)
+NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim, object_name, anim_name, pixel_size, nframes, actionframe, fps, groups, width, height)
} // namespace floormat::Serialize