mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com> Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com> Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com> Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
This commit is contained in:
@@ -92,10 +92,8 @@ bool ObjectEntryDescriptor::operator==(const ObjectEntryDescriptor& rhs) const
|
||||
{
|
||||
return Entry == rhs.Entry;
|
||||
}
|
||||
else
|
||||
{
|
||||
return Type == rhs.Type && Identifier == rhs.Identifier;
|
||||
}
|
||||
|
||||
return Type == rhs.Type && Identifier == rhs.Identifier;
|
||||
}
|
||||
|
||||
bool ObjectEntryDescriptor::operator!=(const ObjectEntryDescriptor& rhs) const
|
||||
@@ -159,12 +157,12 @@ std::string Object::GetString(int32_t language, ObjectStringID index) const
|
||||
|
||||
ObjectEntryDescriptor Object::GetScgWallsHeader() const
|
||||
{
|
||||
return ObjectEntryDescriptor("rct2.scgwalls");
|
||||
return ObjectEntryDescriptor("rct2.scenery_group.scgwalls");
|
||||
}
|
||||
|
||||
ObjectEntryDescriptor Object::GetScgPathXHeader() const
|
||||
{
|
||||
return ObjectEntryDescriptor("rct2.scgpathx");
|
||||
return ObjectEntryDescriptor("rct2.scenery_group.scgpathx");
|
||||
}
|
||||
|
||||
rct_object_entry Object::CreateHeader(const char name[DAT_NAME_LENGTH + 1], uint32_t flags, uint32_t checksum)
|
||||
|
||||
Reference in New Issue
Block a user