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

Rename MaxResearchedRideTypeQuads to kMaxResearchedRideTypeQuads

This commit is contained in:
Harry-Hopkinson
2024-06-06 08:22:00 +00:00
parent b148761513
commit 5608073622
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ namespace RCT2::Limits
constexpr uint16_t MaxEntitiesRCTCExtended = 15000; // Used in files marked with “classic flag” 0xF
constexpr uint32_t kMaxTileElements = 0x30000;
constexpr uint16_t kMaxAnimatedObjects = 2000;
constexpr uint8_t MaxResearchedRideTypeQuads = 8; // With 32 bits per uint32_t, this means there is room for
constexpr uint8_t kMaxResearchedRideTypeQuads = 8; // With 32 bits per uint32_t, this means there is room for
// 256 types.
constexpr uint8_t MaxResearchedRideEntryQuads = 8; // With 32 bits per uint32_t, this means there is room for
// 256 entries.

View File

@@ -865,7 +865,7 @@ namespace RCT2
uint8_t GuestCountChangeModifier;
uint8_t CurrentResearchLevel;
uint8_t Pad01357400[4];
uint32_t ResearchedRideTypes[Limits::MaxResearchedRideTypeQuads];
uint32_t ResearchedRideTypes[Limits::kMaxResearchedRideTypeQuads];
uint32_t ResearchedRideEntries[Limits::MaxResearchedRideEntryQuads];
uint32_t ResearchedTrackTypesA[128];
uint32_t ResearchedTrackTypesB[128];