Rename ScenarioText object type to ScenarioMeta

This commit is contained in:
Aaron van Geffen committed 2025-05-16 12:54:14 +02:00
1 parent 0779b9f0ab
commit 2d8d1e3eee
17 files changed
+204 -206

No files matched your search

+5 -5
View File
@@ -41,7 +41,7 @@
#include "PeepAnimationsObject.h"
#include "PeepNamesObject.h"
#include "RideObject.h"
#include "ScenarioTextObject.h"
#include "ScenarioMetaObject.h"
#include "SceneryGroupObject.h"
#include "SmallSceneryObject.h"
#include "StationObject.h"
@@ -272,7 +272,7 @@ namespace OpenRCT2::ObjectFactory
RCTObjectEntry entry = fs.ReadValue<RCTObjectEntry>();
if (entry.GetType() != ObjectType::scenarioText)
if (entry.GetType() != ObjectType::scenarioMeta)
{
result = CreateObject(entry.GetType());
result->SetDescriptor(ObjectEntryDescriptor(entry));
@@ -366,8 +366,8 @@ namespace OpenRCT2::ObjectFactory
case ObjectType::water:
result = std::make_unique<WaterObject>();
break;
case ObjectType::scenarioText:
result = std::make_unique<ScenarioTextObject>();
case ObjectType::scenarioMeta:
result = std::make_unique<ScenarioMetaObject>();
break;
case ObjectType::terrainSurface:
result = std::make_unique<TerrainSurfaceObject>();
@@ -416,7 +416,7 @@ namespace OpenRCT2::ObjectFactory
{ "scenery_group", ObjectType::sceneryGroup },
{ "park_entrance", ObjectType::parkEntrance },
{ "water", ObjectType::water },
{ "scenario_text", ObjectType::scenarioText },
{ "scenario_meta", ObjectType::scenarioMeta },
{ "terrain_surface", ObjectType::terrainSurface },
{ "terrain_edge", ObjectType::terrainEdge },
{ "station", ObjectType::station },