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:
DuncanandGymnasiast authored and GitHub committed 2023-01-20 05:24:44 +00:00
1 parent e110c631f1
commit 9deed6d98a
45 files changed
+266 -280

No files matched your search

+3 -3
View File
@@ -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);