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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user