summaryrefslogtreecommitdiffhomepage
path: root/test/serializer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-05 06:30:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-05 06:30:59 +0100
commit960e346159dbf152d9847f0998e1e717fb7dbfef (patch)
tree6aab5985d1a2f20542e152d70c9be46bbed0025e /test/serializer.cpp
parent4ad635e8dfe21d2dd0e0582c44379dde26ca57a8 (diff)
src: add pass_mode field to tile_atlas
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r--test/serializer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp
index 8a22d0e5..9f382602 100644
--- a/test/serializer.cpp
+++ b/test/serializer.cpp
@@ -11,9 +11,9 @@ namespace Path = Corrade::Utility::Path;
static chunk make_test_chunk()
{
- auto metal1 = loader.tile_atlas("metal1", {2, 2}),
- metal2 = loader.tile_atlas("metal2", {2, 2}),
- tiles = loader.tile_atlas("tiles", {8, 5});
+ auto metal1 = loader.tile_atlas("metal1", {2, 2}, pass_mode::pass),
+ metal2 = loader.tile_atlas("metal2", {2, 2}, pass_mode::blocked),
+ tiles = loader.tile_atlas("tiles", {8, 5}, pass_mode::pass);
constexpr auto N = TILE_MAX_DIM;
chunk c;
for (auto [x, k, pt] : c)