From 5c9863cf0998b5f1b6107ce09b54cd3e8b484221 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 30 Sep 2022 18:48:50 +0200 Subject: . --- tile/serialize.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tile/serialize.cpp (limited to 'tile/serialize.cpp') diff --git a/tile/serialize.cpp b/tile/serialize.cpp new file mode 100644 index 00000000..4043c8de --- /dev/null +++ b/tile/serialize.cpp @@ -0,0 +1,17 @@ +#include "serialize.hpp" +#include +#include "json-magnum.hpp" + +std::tuple big_atlas::from_json(const std::filesystem::path& pathname) noexcept +{ + +} + +bool big_atlas::to_json(const std::filesystem::path& pathname) noexcept +{ + +} + +NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(big_atlas_tile, position) +NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(big_atlas_entry, tiles) +NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(big_atlas, entries) -- cgit v1.2.3