Skip to content

Commit

Permalink
Rename MaxBannerObjects to kMaxBannerObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Hopkinson committed Jun 6, 2024
1 parent f5ea4a3 commit 00c8dfc
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 @@ -37,7 +37,7 @@ namespace RCT2::Limits
constexpr uint8_t kMaxSmallSceneryObjects = 252;
constexpr uint8_t kMaxLargeSceneryObjects = 128;
constexpr uint8_t kMaxWallSceneryObjects = 128;
constexpr uint8_t MaxBannerObjects = 32;
constexpr uint8_t kMaxBannerObjects = 32;
constexpr uint8_t MaxPathObjects = 16;
constexpr uint8_t MaxPathAdditionObjects = 15;
constexpr uint8_t MaxSceneryGroupObjects = 19;
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 @@ -34,7 +34,7 @@ namespace RCT2
Limits::kMaxSmallSceneryObjects +
Limits::kMaxLargeSceneryObjects +
Limits::kMaxWallSceneryObjects +
Limits::MaxBannerObjects +
Limits::kMaxBannerObjects +
Limits::MaxPathObjects +
Limits::MaxPathAdditionObjects +
Limits::MaxSceneryGroupObjects +
Expand All @@ -50,7 +50,7 @@ namespace RCT2
Limits::kMaxSmallSceneryObjects,
Limits::kMaxLargeSceneryObjects,
Limits::kMaxWallSceneryObjects,
Limits::MaxBannerObjects,
Limits::kMaxBannerObjects,
Limits::MaxPathObjects,
Limits::MaxPathAdditionObjects,
Limits::MaxSceneryGroupObjects,
Expand Down Expand Up @@ -824,7 +824,7 @@ namespace RCT2
RCTObjectEntry SceneryObjects[Limits::kMaxSmallSceneryObjects];
RCTObjectEntry LargeSceneryObjects[Limits::kMaxLargeSceneryObjects];
RCTObjectEntry WallSceneryObjects[Limits::kMaxWallSceneryObjects];
RCTObjectEntry BannerObjects[Limits::MaxBannerObjects];
RCTObjectEntry BannerObjects[Limits::kMaxBannerObjects];
RCTObjectEntry PathObjects[Limits::MaxPathObjects];
RCTObjectEntry PathAdditionObjects[Limits::MaxPathAdditionObjects];
RCTObjectEntry SceneryGroupObjects[Limits::MaxSceneryGroupObjects];
Expand Down

0 comments on commit 00c8dfc

Please sign in to comment.