From 6b875a0919b9932eca9ed877552c34ecb220b7d8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 23 Oct 2022 13:08:48 +0200 Subject: some random stuff --- main/update.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/update.cpp') diff --git a/main/update.cpp b/main/update.cpp index 172b2ebd..ebd1881b 100644 --- a/main/update.cpp +++ b/main/update.cpp @@ -2,20 +2,20 @@ namespace floormat { -//#define TEST_NO_BINDINGS +//#define FM_NO_BINDINGS void app::make_test_chunk(chunk& c) { constexpr auto N = TILE_MAX_DIM; for (auto [x, k, pt] : c) { -#ifdef TEST_NO_BINDINGS +#if defined FM_NO_BINDINGS const auto& atlas = floor1; #else const auto& atlas = pt.x != pt.y && (pt.x == N/2 || pt.y == N/2) ? floor2 : floor1; #endif x.ground_image = { atlas, k % atlas->num_tiles() }; } -#ifdef TEST_NO_BINDINGS +#ifdef FM_NO_BINDINGS const auto& wall1 = floor1, wall2 = floor1; #endif constexpr auto K = N/2; -- cgit v1.2.3