From ee1a527191db646850ee919b8fe3a6f8cb6cd693 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 10 Nov 2022 21:27:08 +0100 Subject: get rid of std::string --- serialize/anim.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'serialize/anim.hpp') diff --git a/serialize/anim.hpp b/serialize/anim.hpp index fa6b6d22..9d6db66c 100644 --- a/serialize/anim.hpp +++ b/serialize/anim.hpp @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include #include #include @@ -22,7 +22,7 @@ enum class anim_direction : unsigned char struct anim_group final { - std::string name; + String name; std::vector frames; Vector2ui ground; }; @@ -31,7 +31,7 @@ struct anim final { static constexpr int default_fps = 24; - std::string object_name, anim_name; + String object_name, anim_name; std::vector groups; Vector2ui pixel_size; std::size_t nframes = 0, width = 0, height = 0, fps = default_fps, actionframe = 0; -- cgit v1.2.3