1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +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:
Michael Steenbeek
2023-05-09 21:08:25 +02:00
committed by GitHub
parent 8c165dd455
commit 58baa85a27
34 changed files with 459 additions and 408 deletions

View File

@@ -19,11 +19,11 @@
#include "../ride/RideAudio.h"
#include "../util/Util.h"
#include "BannerSceneryEntry.h"
#include "FootpathItemObject.h"
#include "LargeSceneryObject.h"
#include "Object.h"
#include "ObjectList.h"
#include "ObjectRepository.h"
#include "PathAdditionObject.h"
#include "RideObject.h"
#include "SceneryGroupObject.h"
#include "SmallSceneryObject.h"
@@ -479,7 +479,7 @@ private:
UpdateSceneryGroupIndexes<LargeSceneryEntry>(ObjectType::LargeScenery);
UpdateSceneryGroupIndexes<WallSceneryEntry>(ObjectType::Walls);
UpdateSceneryGroupIndexes<BannerSceneryEntry>(ObjectType::Banners);
UpdateSceneryGroupIndexes<PathBitEntry>(ObjectType::PathBits);
UpdateSceneryGroupIndexes<PathAdditionEntry>(ObjectType::PathAdditions);
auto& list = GetObjectList(ObjectType::SceneryGroup);
for (auto* loadedObject : list)