diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 12:39:55 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 12:39:55 +0200 |
commit | d5fedaffc064b0c97cc6e5e3123b3eb045515b17 (patch) | |
tree | 30fee1a6ad92236463f83af26a47b6c677e3cb70 /test | |
parent | 13b1ada087bb1feba5e96f7bfe722dcaeea7071f (diff) |
a
Diffstat (limited to 'test')
-rw-r--r-- | test/json.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/json.cpp b/test/json.cpp index 67e23e01..73958b5e 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -13,9 +13,9 @@ namespace floormat { static chunk make_test_chunk() { - auto metal1 = loader.tile_atlas("share/game/images/metal1.tga", {2, 2}), - metal2 = loader.tile_atlas("share/game/images/metal2.tga", {2, 2}), - tiles = loader.tile_atlas("share/game/images/tiles.tga", {8, 5}); + auto metal1 = loader.tile_atlas("metal1.tga", {2, 2}), + metal2 = loader.tile_atlas("metal2.tga", {2, 2}), + tiles = loader.tile_atlas("tiles.tga", {8, 5}); constexpr auto N = TILE_MAX_DIM; chunk c; for (auto& [x, k, pt] : c) { @@ -33,7 +33,7 @@ bool app::test_json() // NOLINT(readability-convert-member-functions-to-static) { const std::filesystem::path output_dir = "../test/."; { - auto atlas = loader.tile_atlas("share/game/images/metal1.tga", {2, 2}); + auto atlas = loader.tile_atlas("metal1.tga", {2, 2}); json_helper::to_json(atlas, output_dir/"atlas.json"); } { |