summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-12 08:40:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-12 09:57:16 +0100
commita6af5d7b0cdb037bf8d0fd99aedfedc9789fd74c (patch)
tree6664758f61d0bee67ba64f231a6ec2e6b4dd72ac /loader
parent7434d29f3ce0033194b53b44ed881f749e67da75 (diff)
add offset to anim_group rotations
Diffstat (limited to 'loader')
-rw-r--r--loader/impl.hpp4
-rw-r--r--loader/json.cpp4
2 files changed, 4 insertions, 4 deletions
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<typename T> class BasicStringView; using StringView = BasicStringView<const char>; }
-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<Serialize::anim>(filename);
+ return json_helper::from_json<anim_def>(filename);
}
} // namespace floormat::loader_detail