summaryrefslogtreecommitdiffhomepage
path: root/wall-tileset-tool
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-05 21:23:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-05 21:23:07 +0100
commit7f82a729ae5074beafb6b4fd50d2f025dd05dfbe (patch)
tree28f2d5b968d75ff9e6f4eb6f03174d46359a0dc0 /wall-tileset-tool
parent0c9e57bfdc2ac5bead6c5f4984d3ae26eaeb5769 (diff)
wip broken
Diffstat (limited to 'wall-tileset-tool')
-rw-r--r--wall-tileset-tool/main.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/wall-tileset-tool/main.cpp b/wall-tileset-tool/main.cpp
index 5863bdf4..eab78c16 100644
--- a/wall-tileset-tool/main.cpp
+++ b/wall-tileset-tool/main.cpp
@@ -23,18 +23,6 @@ using namespace std::string_literals;
namespace {
-wall_atlas_def read_atlas_def(const nlohmann::json& j)
-{
- auto val = wall_atlas_def{};
- auto& info = val.info;
- info.name = std::string(j["name"s]);
- info.depth = j["depth"s];
-
- fm_assert(loader.check_atlas_name(info.name));
-
- return val;
-}
-
struct options
{
String input_dir, input_file, output_dir;