1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Re-introduce basic scenario text objects

This commit is contained in:
Aaron van Geffen
2024-10-27 14:53:27 +01:00
parent 7b614f2287
commit f7ae40bac8
7 changed files with 90 additions and 20 deletions

View File

@@ -38,6 +38,7 @@
#include "PathAdditionObject.h"
#include "PeepNamesObject.h"
#include "RideObject.h"
#include "ScenarioTextObject.h"
#include "SceneryGroupObject.h"
#include "SmallSceneryObject.h"
#include "StationObject.h"
@@ -363,6 +364,7 @@ namespace OpenRCT2::ObjectFactory
result = std::make_unique<WaterObject>();
break;
case ObjectType::ScenarioText:
result = std::make_unique<ScenarioTextObject>();
break;
case ObjectType::TerrainSurface:
result = std::make_unique<TerrainSurfaceObject>();
@@ -414,6 +416,8 @@ namespace OpenRCT2::ObjectFactory
return ObjectType::ParkEntrance;
if (s == "water")
return ObjectType::Water;
if (s == "scenario_text")
return ObjectType::ScenarioText;
if (s == "terrain_surface")
return ObjectType::TerrainSurface;
if (s == "terrain_edge")