diff options
Diffstat (limited to 'main/update.cpp')
-rw-r--r-- | main/update.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |