1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Add flag to mark an object as a compatibility object

This commit is contained in:
Gymnasiast
2022-08-10 23:47:13 +02:00
parent 753e931165
commit af167552fb
9 changed files with 51 additions and 2 deletions

View File

@@ -198,6 +198,15 @@ void Object::SetAuthors(std::vector<std::string>&& authors)
_authors = std::move(authors);
}
bool Object::IsCompatibilityObject() const
{
return _isCompatibilityObject;
}
void Object::SetIsCompatibilityObject(const bool on)
{
_isCompatibilityObject = on;
}
bool RCTObjectEntry::IsEmpty() const
{
uint64_t a, b;