summaryrefslogtreecommitdiffhomepage
path: root/test/serializer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 13:54:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:11:47 +0100
commit7867213a01fcabb1f05b1836c2ca59dc3bb2132f (patch)
tree44af754bed0278c8bf3435df6278bd291c3043e5 /test/serializer.cpp
parent74cf06b6b217eff32a547cf73f051f27e6b80919 (diff)
rename tile_atlas -> ground_atlas
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r--test/serializer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp
index bf31e7f5..c768023e 100644
--- a/test/serializer.cpp
+++ b/test/serializer.cpp
@@ -4,7 +4,7 @@
#include "src/scenery.hpp"
#include "src/critter.hpp"
#include "src/light.hpp"
-#include "src/tile-atlas.hpp"
+#include "src/ground-atlas.hpp"
#include "src/anim-atlas.hpp"
#include "src/tile-iterator.hpp"
#include <Corrade/Utility/Path.h>
@@ -18,7 +18,7 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch)
chunk& c = w[ch];
c.mark_modified();
auto metal2 = loader.wall_atlas("empty", false);
- auto tiles = loader.tile_atlas("tiles", {8, 5}, pass_mode::pass);
+ auto tiles = loader.ground_atlas("tiles", { 8, 5 }, pass_mode::pass);
constexpr auto N = TILE_MAX_DIM;
for (auto [x, k, pt] : c)
x.ground() = { tiles, variant_t(k % tiles->num_tiles()) };