From a6af5d7b0cdb037bf8d0fd99aedfedc9789fd74c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 12 Nov 2022 08:40:08 +0100 Subject: add offset to anim_group rotations --- loader/impl.hpp | 4 ++-- loader/json.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'loader') diff --git a/loader/impl.hpp b/loader/impl.hpp index 2c26c863..08467038 100644 --- a/loader/impl.hpp +++ b/loader/impl.hpp @@ -1,12 +1,12 @@ #pragma once +namespace floormat { struct anim_def; } namespace Corrade::Containers { template class BasicStringView; using StringView = BasicStringView; } -namespace floormat::Serialize { struct anim; } namespace floormat::loader_detail { bool chdir(StringView pathname); -Serialize::anim deserialize_anim(StringView filename); +anim_def deserialize_anim(StringView filename); void system_init(); } // namespace floormat::loader_detail diff --git a/loader/json.cpp b/loader/json.cpp index e66a58f2..be621b61 100644 --- a/loader/json.cpp +++ b/loader/json.cpp @@ -4,9 +4,9 @@ namespace floormat::loader_detail { -Serialize::anim deserialize_anim(StringView filename) +anim_def deserialize_anim(StringView filename) { - return json_helper::from_json(filename); + return json_helper::from_json(filename); } } // namespace floormat::loader_detail -- cgit v1.2.3