mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Small path additions cleanup (#20076)
* Split off path addition paint calls * Replace occurences of “path bit” with “path addition” * Replace occurences of “footpath item“ with “path addition”
This commit is contained in:
committed by
GitHub
parent
8c165dd455
commit
58baa85a27
@@ -24,7 +24,6 @@
|
||||
#include "AudioObject.h"
|
||||
#include "BannerObject.h"
|
||||
#include "EntranceObject.h"
|
||||
#include "FootpathItemObject.h"
|
||||
#include "FootpathObject.h"
|
||||
#include "FootpathRailingsObject.h"
|
||||
#include "FootpathSurfaceObject.h"
|
||||
@@ -33,6 +32,7 @@
|
||||
#include "Object.h"
|
||||
#include "ObjectLimits.h"
|
||||
#include "ObjectList.h"
|
||||
#include "PathAdditionObject.h"
|
||||
#include "RideObject.h"
|
||||
#include "SceneryGroupObject.h"
|
||||
#include "SmallSceneryObject.h"
|
||||
@@ -345,8 +345,8 @@ namespace ObjectFactory
|
||||
case ObjectType::Paths:
|
||||
result = std::make_unique<FootpathObject>();
|
||||
break;
|
||||
case ObjectType::PathBits:
|
||||
result = std::make_unique<FootpathItemObject>();
|
||||
case ObjectType::PathAdditions:
|
||||
result = std::make_unique<PathAdditionObject>();
|
||||
break;
|
||||
case ObjectType::SceneryGroup:
|
||||
result = std::make_unique<SceneryGroupObject>();
|
||||
@@ -393,7 +393,7 @@ namespace ObjectFactory
|
||||
if (s == "footpath_banner")
|
||||
return ObjectType::Banners;
|
||||
if (s == "footpath_item")
|
||||
return ObjectType::PathBits;
|
||||
return ObjectType::PathAdditions;
|
||||
if (s == "scenery_small")
|
||||
return ObjectType::SmallScenery;
|
||||
if (s == "scenery_large")
|
||||
|
||||
Reference in New Issue
Block a user