1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Update constexpr with k prefix

This commit is contained in:
matheusvb3
2025-02-11 20:26:22 -03:00
parent 54404e4c8d
commit 6c1be793fb

View File

@@ -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;
}