mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +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:
@@ -261,7 +261,7 @@ namespace ObjectFactory
|
||||
auto fs = OpenRCT2::FileStream(path, OpenRCT2::FILE_MODE_OPEN);
|
||||
auto chunkReader = SawyerChunkReader(&fs);
|
||||
|
||||
rct_object_entry entry = fs.ReadValue<rct_object_entry>();
|
||||
RCTObjectEntry entry = fs.ReadValue<RCTObjectEntry>();
|
||||
|
||||
if (entry.GetType() != ObjectType::ScenarioText)
|
||||
{
|
||||
@@ -293,7 +293,7 @@ namespace ObjectFactory
|
||||
}
|
||||
|
||||
std::unique_ptr<Object> CreateObjectFromLegacyData(
|
||||
IObjectRepository& objectRepository, const rct_object_entry* entry, const void* data, size_t dataSize)
|
||||
IObjectRepository& objectRepository, const RCTObjectEntry* entry, const void* data, size_t dataSize)
|
||||
{
|
||||
Guard::ArgumentNotNull(entry, GUARD_LINE);
|
||||
Guard::ArgumentNotNull(data, GUARD_LINE);
|
||||
@@ -528,7 +528,7 @@ namespace ObjectFactory
|
||||
{
|
||||
auto originalName = originalId.substr(9, 8);
|
||||
|
||||
rct_object_entry entry = {};
|
||||
RCTObjectEntry entry = {};
|
||||
entry.flags = std::stoul(originalId.substr(0, 8), nullptr, 16);
|
||||
entry.checksum = std::stoul(originalId.substr(18, 8), nullptr, 16);
|
||||
entry.SetType(objectType);
|
||||
|
||||
Reference in New Issue
Block a user