From d74df1b763979d281f76f3f30543aee8d8a638b7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 Jan 2024 14:29:53 +0100 Subject: rename floor -> ground --- test/bitmask.cpp | 2 +- test/loader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/bitmask.cpp b/test/bitmask.cpp index ef8f3b1c..0fae6a23 100644 --- a/test/bitmask.cpp +++ b/test/bitmask.cpp @@ -23,7 +23,7 @@ static_assert(data_nbytes == 128); void bitmask_test() { - auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s); + auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s, false); auto bitmask = anim_atlas::make_bitmask(img); fm_assert(img.pixelSize() == 4 && (size_t)img.size().product() >= data_nbytes); #ifdef DO_GENERATE diff --git a/test/loader.cpp b/test/loader.cpp index 88fa2b32..f400ecb3 100644 --- a/test/loader.cpp +++ b/test/loader.cpp @@ -8,7 +8,7 @@ namespace floormat { void test_app::test_loader() { - (void)loader.ground_atlases("floor.json"); + (void)loader.ground_atlases("ground.json"); fm_assert(loader.ground_atlas("texel")->pass_mode() == pass_mode::blocked); fm_assert(loader.ground_atlas("metal1")->pass_mode() == pass_mode::pass); loader.sceneries(); -- cgit v1.2.3