Skip to content

Commit

Permalink
Rename MaxSmallSceneryObjects to kMaxSmallSceneryObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Hopkinson committed Jun 6, 2024
1 parent c63efa6 commit 2a93766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/openrct2/rct2/Limits.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions src/openrct2/rct2/RCT2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand All @@ -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,
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 2a93766

Please sign in to comment.