diff options
Diffstat (limited to 'loader')
-rw-r--r-- | loader/impl.hpp | 4 | ||||
-rw-r--r-- | loader/json.cpp | 4 |
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 |