1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +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

@@ -435,6 +435,11 @@ namespace OpenRCT2::Editor
return { ObjectType::TerrainEdge, STR_AT_LEAST_ONE_TERRAIN_EDGE_OBJECT_MUST_BE_SELECTED };
}
if (!EditorCheckObjectGroupAtLeastOneSelected(ObjectType::PeepNames))
{
return { ObjectType::PeepNames, STR_AT_LEAST_ONE_PEEP_NAMES_OBJECT_MUST_BE_SELECTED };
}
if (!isTrackDesignerManager)
{
if (!EditorCheckObjectGroupAtLeastOneSelected(ObjectType::ParkEntrance))