mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Rename MaxTileElements to kMaxTileElements
This commit is contained in:
committed by
Harry Hopkinson
parent
76ca291a65
commit
a4d6f6a377
@@ -13,7 +13,7 @@
|
||||
namespace RCT1::Limits
|
||||
{
|
||||
using namespace RCT12::Limits;
|
||||
constexpr uint16_t MaxTileElements = 0xC000;
|
||||
constexpr uint16_t kMaxTileElements = 0xC000;
|
||||
constexpr uint16_t MaxEntities = 5000;
|
||||
constexpr uint8_t kMaxTrainsPerRide = 12;
|
||||
constexpr uint8_t MaxMapSize = 128;
|
||||
|
||||
@@ -731,7 +731,7 @@ namespace RCT1
|
||||
uint32_t Ticks;
|
||||
uint32_t RandomA;
|
||||
uint32_t RandomB;
|
||||
RCT12TileElement TileElements[Limits::MaxTileElements];
|
||||
RCT12TileElement TileElements[Limits::kMaxTileElements];
|
||||
uint32_t UnkCounter;
|
||||
Entity Entities[Limits::MaxEntities];
|
||||
uint16_t NextEntityIndex;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace RCT2::Limits
|
||||
constexpr uint8_t kDowntimeHistorySize = 8;
|
||||
constexpr uint16_t MaxEntities = 10000;
|
||||
constexpr uint16_t MaxEntitiesRCTCExtended = 15000; // Used in files marked with “classic flag” 0xF
|
||||
constexpr uint32_t MaxTileElements = 0x30000;
|
||||
constexpr uint32_t kMaxTileElements = 0x30000;
|
||||
constexpr uint16_t MaxAnimatedObjects = 2000;
|
||||
constexpr uint8_t MaxResearchedRideTypeQuads = 8; // With 32 bits per uint32_t, this means there is room for
|
||||
// 256 types.
|
||||
|
||||
@@ -842,7 +842,7 @@ namespace RCT2
|
||||
uint32_t ScenarioSrand1;
|
||||
|
||||
// SC6[5]
|
||||
RCT12TileElement TileElements[Limits::MaxTileElements];
|
||||
RCT12TileElement TileElements[Limits::kMaxTileElements];
|
||||
|
||||
// SC6[6]
|
||||
uint32_t NextFreeTileElementPointerIndex;
|
||||
|
||||
Reference in New Issue
Block a user