1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Replace snakes in Class names OpenRCT2/N*-P* (#19227)

* Replace snakes in Class names OpenRCT2/N*-P*

* Rename PODDate (and TimeOfDay for good measure)

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
Duncan
2023-01-20 05:24:44 +00:00
committed by GitHub
parent e110c631f1
commit 9deed6d98a
45 changed files with 266 additions and 280 deletions

View File

@@ -139,7 +139,7 @@ std::vector<ObjectEntryDescriptor> SceneryGroupObject::ReadItems(IStream* stream
while (stream->ReadValue<uint8_t>() != 0xFF)
{
stream->Seek(-1, STREAM_SEEK_CURRENT);
auto entry = stream->ReadValue<rct_object_entry>();
auto entry = stream->ReadValue<RCTObjectEntry>();
items.emplace_back(entry);
}
return items;
@@ -219,7 +219,7 @@ std::vector<ObjectEntryDescriptor> SceneryGroupObject::ReadJsonEntries(IReadObje
try
{
rct_object_entry entry = {};
RCTObjectEntry entry = {};
entry.flags = std::stoul(entryName.substr(DatEntryFlagsStart, DatEntryFlagsLength), nullptr, 16);
std::memcpy(entry.name, entryName.c_str() + DatEntryNameStart, DAT_NAME_LENGTH);
entry.checksum = 0;