From 2544d91aaa358f41d6ffccef5a9d2e1a287ffc16 Mon Sep 17 00:00:00 2001 From: AuraSpecs Date: Wed, 19 Oct 2022 15:38:30 +0200 Subject: [PATCH] Convert custom invisible paths in SV6 files to the built-in ones --- distribution/changelog.txt | 1 + src/openrct2/rct2/RCT2.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index afc34e10f8..e988831fb1 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -5,6 +5,7 @@ - Improved: [#18214] Competition scenarios have received their own section. - Improved: [#18250] Added modern style file and folder pickers on Windows. - Change: [#18230] Make the large flat to steep pieces available on the corkscrew roller coaster without cheats. +- Change: [#18381] Convert custom invisible paths to the built-in ones. - Fix: [#14312] Research ride type message incorrect. - Fix: [#17316] Sides of River Rapids’ corners overlay other parts of the track. - Fix: [#17763] Missing validation on invalid characters in file name. diff --git a/src/openrct2/rct2/RCT2.cpp b/src/openrct2/rct2/RCT2.cpp index 190b7ae51d..408404752e 100644 --- a/src/openrct2/rct2/RCT2.cpp +++ b/src/openrct2/rct2/RCT2.cpp @@ -216,6 +216,16 @@ namespace RCT2 "rct2.footpath_railings.concrete" }, { "PATHCRZY", "rct1ll.footpath_surface.tiles_green", "rct1aa.footpath_surface.queue_green", "rct2.footpath_railings.concrete" }, + + // Custom path mapping + { "PATHINVS", "openrct2.footpath_surface.invisible", "openrct2.footpath_surface.queue_invisible", + "openrct2.footpath_railings.invisible" }, + { "PATHCLR ", "openrct2.footpath_surface.invisible", "openrct2.footpath_surface.queue_invisible", + "openrct2.footpath_railings.invisible" }, + { "PAT25MKY", "openrct2.footpath_surface.invisible", "openrct2.footpath_surface.queue_invisible", + "openrct2.footpath_railings.invisible" }, + { "JAINVSFP", "openrct2.footpath_surface.invisible", "openrct2.footpath_surface.queue_invisible", + "openrct2.footpath_railings.invisible" }, }; const FootpathMapping* GetFootpathSurfaceId(const ObjectEntryDescriptor& desc, bool ideallyLoaded, bool isQueue)