1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Rename Num_LL_CSG_Entries to kNumLlCsgEntries

This commit is contained in:
Harry-Hopkinson
2024-06-05 20:31:57 +00:00
committed by Harry Hopkinson
parent c201a3bf18
commit e12c18a1f4
3 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ bool RCT1DataPresentAtLocation(u8string_view path)
bool CsgIsUsable(const Gx& csg)
{
return csg.header.total_size == RCT1::Limits::LL_CSG1_DAT_FileSize
&& csg.header.num_entries == RCT1::Limits::Num_LL_CSG_Entries;
&& csg.header.num_entries == RCT1::Limits::kNumLlCsgEntries;
}
bool CsgAtLocationIsUsable(u8string_view path)

View File

@@ -21,7 +21,7 @@ namespace RCT1::Limits
constexpr uint16_t kMaxAnimatedObjects = 1000;
constexpr uint8_t kMaxBanners = 100;
constexpr int32_t kCoordsZStep = 4;
constexpr uint32_t Num_LL_CSG_Entries = 69917;
constexpr uint32_t kNumLlCsgEntries = 69917;
constexpr uint32_t LL_CSG1_DAT_FileSize = 41402869;
constexpr uint32_t NumTerrainSurfaces = 16;
constexpr uint32_t NumTerrainEdges = 15;

View File

@@ -1517,7 +1517,7 @@ enum
SPR_G2_END,
SPR_CSG_BEGIN = SPR_G2_END,
SPR_CSG_END = SPR_CSG_BEGIN + RCT1::Limits::Num_LL_CSG_Entries,
SPR_CSG_END = SPR_CSG_BEGIN + RCT1::Limits::kNumLlCsgEntries,
G2_SPRITE_COUNT = SPR_G2_END - SPR_G2_BEGIN,