1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Rename MaxSmallSceneryObjects to kMaxSmallSceneryObjects

This commit is contained in:
Harry Hopkinson
2024-06-06 20:40:46 +01:00
parent c63efa658f
commit 2a937660a3
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ namespace RCT2::Limits
constexpr uint16_t kTD6MaxTrackElements = 8192;
constexpr uint8_t MaxSmallSceneryObjects = 252;
constexpr uint8_t kMaxSmallSceneryObjects = 252;
constexpr uint8_t MaxLargeSceneryObjects = 128;
constexpr uint8_t MaxWallSceneryObjects = 128;
constexpr uint8_t MaxBannerObjects = 32;

View File

@@ -31,7 +31,7 @@ namespace RCT2
// clang-format off
constexpr uint16_t RCT2_OBJECT_ENTRY_COUNT =
Limits::MaxRideObjects +
Limits::MaxSmallSceneryObjects +
Limits::kMaxSmallSceneryObjects +
Limits::MaxLargeSceneryObjects +
Limits::MaxWallSceneryObjects +
Limits::MaxBannerObjects +
@@ -47,7 +47,7 @@ namespace RCT2
// clang-format off
constexpr int32_t RCT2ObjectEntryGroupCounts[] = {
Limits::MaxRideObjects,
Limits::MaxSmallSceneryObjects,
Limits::kMaxSmallSceneryObjects,
Limits::MaxLargeSceneryObjects,
Limits::MaxWallSceneryObjects,
Limits::MaxBannerObjects,
@@ -821,7 +821,7 @@ namespace RCT2
struct
{
RCTObjectEntry RideObjects[Limits::MaxRideObjects];
RCTObjectEntry SceneryObjects[Limits::MaxSmallSceneryObjects];
RCTObjectEntry SceneryObjects[Limits::kMaxSmallSceneryObjects];
RCTObjectEntry LargeSceneryObjects[Limits::MaxLargeSceneryObjects];
RCTObjectEntry WallSceneryObjects[Limits::MaxWallSceneryObjects];
RCTObjectEntry BannerObjects[Limits::MaxBannerObjects];