From 7867213a01fcabb1f05b1836c2ca59dc3bb2132f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 Jan 2024 13:54:53 +0100 Subject: rename tile_atlas -> ground_atlas --- editor/update.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editor/update.cpp') diff --git a/editor/update.cpp b/editor/update.cpp index e80a5318..1140ad47 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -1,6 +1,6 @@ #include "app.hpp" #include "src/world.hpp" -#include "src/tile-atlas.hpp" +#include "src/ground-atlas.hpp" #include "src/anim-atlas.hpp" #include "main/clickable.hpp" #include "floormat/events.hpp" @@ -17,10 +17,10 @@ namespace floormat { void app::maybe_initialize_chunk_(const chunk_coords_& pos, chunk& c) { - auto floor1 = loader.tile_atlas("floor-tiles", {44, 4}, pass_mode::pass); - auto floor2 = loader.tile_atlas("metal1", {2, 2}, pass_mode::pass); - auto wall1 = loader.tile_atlas("wood2", {2, 1}, pass_mode::blocked); - auto wall2 = loader.tile_atlas("wood1", {2, 1}, pass_mode::blocked); + auto floor1 = loader.ground_atlas("floor-tiles", { 44, 4 }, pass_mode::pass); + auto floor2 = loader.ground_atlas("metal1", { 2, 2 }, pass_mode::pass); + auto wall1 = loader.ground_atlas("wood2", { 2, 1 }, pass_mode::blocked); + auto wall2 = loader.ground_atlas("wood1", { 2, 1 }, pass_mode::blocked); auto door = loader.anim_atlas("door-close", loader.SCENERY_PATH); auto table = loader.anim_atlas("table", loader.SCENERY_PATH); auto control_panel = loader.anim_atlas("control-panel", loader.SCENERY_PATH); -- cgit v1.2.3