diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 20:37:31 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-05 14:46:23 +0100 |
| commit | e1e8ab80a5ec95f429e5735f6f678eb0447c0421 (patch) | |
| tree | e64f0fed16974101876b5581c1aa0066476f4df4 /loader/json.cpp | |
| parent | a07e80366c49d398d7b7ad586297ed4173e1996a (diff) | |
loader: add functions for uncached loading
Diffstat (limited to 'loader/json.cpp')
| -rw-r--r-- | loader/json.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/loader/json.cpp b/loader/json.cpp index 7b12b784..756f8151 100644 --- a/loader/json.cpp +++ b/loader/json.cpp @@ -9,13 +9,17 @@ #include <Corrade/Containers/ArrayViewStl.h> #include <Corrade/Utility/Path.h> -namespace floormat::loader_detail { +namespace floormat { -anim_def loader_impl::deserialize_anim(StringView filename) +anim_def loader_::deserialize_anim_def(StringView filename) noexcept(false) { return json_helper::from_json<anim_def>(filename); } +} // namespace floormat + +namespace floormat::loader_detail { + void loader_impl::get_scenery_list() { sceneries_array.clear(); |
