1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Refactor object and network constants to kCamelCase

This commit is contained in:
Harry Hopkinson
2024-08-11 21:21:24 +01:00
committed by GitHub
parent 8ebacc1821
commit 4744c7416d
26 changed files with 106 additions and 111 deletions

View File

@@ -272,7 +272,7 @@ namespace OpenRCT2::ObjectFactory
result = CreateObject(entry.GetType());
result->SetDescriptor(ObjectEntryDescriptor(entry));
utf8 objectName[DAT_NAME_LENGTH + 1] = { 0 };
utf8 objectName[kDatNameLength + 1] = { 0 };
ObjectEntryGetNameFixed(objectName, sizeof(objectName), &entry);
LOG_VERBOSE(" entry: { 0x%08X, \"%s\", 0x%08X }", entry.flags, objectName, entry.checksum);
@@ -307,7 +307,7 @@ namespace OpenRCT2::ObjectFactory
{
result->SetDescriptor(ObjectEntryDescriptor(*entry));
utf8 objectName[DAT_NAME_LENGTH + 1];
utf8 objectName[kDatNameLength + 1];
ObjectEntryGetNameFixed(objectName, sizeof(objectName), entry);
auto readContext = ReadObjectContext(objectRepository, objectName, !gOpenRCT2NoGraphics, nullptr);