diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-11 12:55:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-11 17:57:39 +0100 |
commit | 24fd873d96e1e6bc3284b404033802fb963e5c7f (patch) | |
tree | 97ebaeccaac8e25909c432d47edfbb0e229180a3 /src | |
parent | feafb7e71370fa9d041be2f0e7f72f93fa03c33f (diff) |
serialize/anim: skip default value fields
Diffstat (limited to 'src')
-rw-r--r-- | src/anim.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/anim.hpp b/src/anim.hpp index bee8147a..2927b7e3 100644 --- a/src/anim.hpp +++ b/src/anim.hpp @@ -47,13 +47,11 @@ struct anim_scale final struct anim_def final { - static constexpr int default_fps = 24; - String object_name, anim_name; std::vector<anim_group> groups; Vector2ui pixel_size; anim_scale scale; - std::size_t nframes = 0, fps = default_fps, actionframe = 0; + std::size_t nframes = 0, fps = 0, actionframe = 0; }; } // namespace floormat |