From 6c1be793fbde65dfa70a2d638c1946c93d5fb621 Mon Sep 17 00:00:00 2001 From: matheusvb3 <98937378+matheusvb3@users.noreply.github.com> Date: Tue, 11 Feb 2025 20:26:22 -0300 Subject: [PATCH] Update constexpr with k prefix --- .../paint/tile_element/Paint.SmallScenery.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/openrct2/paint/tile_element/Paint.SmallScenery.cpp b/src/openrct2/paint/tile_element/Paint.SmallScenery.cpp index da5acdf3e4..065a5c8c2f 100644 --- a/src/openrct2/paint/tile_element/Paint.SmallScenery.cpp +++ b/src/openrct2/paint/tile_element/Paint.SmallScenery.cpp @@ -27,7 +27,7 @@ using namespace OpenRCT2; using namespace OpenRCT2::Numerics; -static constexpr CoordsXY lengths[] = { +static constexpr CoordsXY kLengths[] = { { 12, 26 }, { 26, 12 }, { 12, 26 }, @@ -127,16 +127,16 @@ static void PaintSmallSceneryBody( { if (sceneryEntry->HasFlag(SMALL_SCENERY_FLAG_HALF_SPACE)) { - static constexpr CoordsXY sceneryHalfTileOffsets[] = { + static constexpr CoordsXY kSceneryHalfTileOffsets[] = { { 3, 3 }, { 3, 17 }, { 17, 3 }, { 3, 3 }, }; - boundBox.offset.x = sceneryHalfTileOffsets[direction].x; - boundBox.offset.y = sceneryHalfTileOffsets[direction].y; - boundBox.length.x = lengths[direction].x; - boundBox.length.y = lengths[direction].y; + boundBox.offset.x = kSceneryHalfTileOffsets[direction].x; + boundBox.offset.y = kSceneryHalfTileOffsets[direction].y; + boundBox.length.x = kLengths[direction].x; + boundBox.length.y = kLengths[direction].y; offset.x = 3; offset.y = 3; }