1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Introduce PeepNamesObjects for 'real' names of peeps (#22758)

* Add initial PeepNamesObject implementation

* Add peep names object to default objects

* Append peep names object to object list for older saves

* Deduplicate AppendRequiredObjects functions

* Remove built-in 'real name' tables

* Increment park version; introduce kPeepNamesObjectsVersion

* Update objects dependency to v1.4.8
This commit is contained in:
Aaron van Geffen
2024-09-29 15:05:55 +02:00
committed by GitHub
parent 0f58efe198
commit 931f0705ce
31 changed files with 148 additions and 1097 deletions

View File

@@ -373,6 +373,13 @@ namespace OpenRCT2
}
}
});
if (version < kPeepNamesObjectsVersion)
{
AppendRequiredObjects(
requiredObjects, ObjectType::PeepNames, std::vector<std::string>({ "rct2.peep_names.original" }));
}
RequiredObjects = std::move(requiredObjects);
}
else