diff --git a/data/language/en-GB.txt b/data/language/en-GB.txt index ad56e5fd90..32b136b9c7 100644 --- a/data/language/en-GB.txt +++ b/data/language/en-GB.txt @@ -2282,7 +2282,7 @@ STR_3185 :Small Scenery STR_3186 :Large Scenery STR_3187 :Walls/Fences STR_3188 :Path Signs -STR_3189 :Footpaths +STR_3189 :Legacy footpaths STR_3190 :Path Extras STR_3191 :Scenery Groups STR_3192 :Park Entrance @@ -3679,8 +3679,8 @@ STR_6436 :Toggle invisibility STR_6437 :Invisible STR_6438 :I STR_6439 :Tile Inspector: Toggle invisibility -STR_6440 :At least one footpath non-queue surface object must be selected. -STR_6441 :At least one footpath queue surface object must be selected. +STR_6440 :At least one non-queue footpath surface object must be selected. +STR_6441 :At least one queue footpath surface object must be selected. STR_6442 :At least one footpath railing object must be selected. STR_6443 :Footpath Surfaces STR_6444 :Footpath Railings diff --git a/resources/g2/icons/path_railings_tab.png b/resources/g2/icons/path_railings_tab.png new file mode 100644 index 0000000000..ffac83ff40 Binary files /dev/null and b/resources/g2/icons/path_railings_tab.png differ diff --git a/resources/g2/sprites.json b/resources/g2/sprites.json index 6343ff1cbe..ff1426de22 100644 --- a/resources/g2/sprites.json +++ b/resources/g2/sprites.json @@ -478,6 +478,10 @@ { "path": "icons/view.png" }, + { + "path": "icons/path_railings_tab.png", + "x_offset": 1 + }, { "path": "font/latin/ae-uc-small.png", "y_offset": 0, diff --git a/src/openrct2-ui/windows/EditorObjectSelection.cpp b/src/openrct2-ui/windows/EditorObjectSelection.cpp index 24c75f3bc5..b16d54e2d3 100644 --- a/src/openrct2-ui/windows/EditorObjectSelection.cpp +++ b/src/openrct2-ui/windows/EditorObjectSelection.cpp @@ -112,7 +112,7 @@ static constexpr const ObjectPageDesc ObjectSelectionPages[] = { { STR_OBJECT_SELECTION_STATIONS, SPR_TAB_PARK, true }, { STR_OBJECT_SELECTION_MUSIC, SPR_TAB_MUSIC_0, false }, { STR_OBJECT_SELECTION_FOOTPATH_SURFACES, SPR_TAB_SCENERY_PATHS, false }, - { STR_OBJECT_SELECTION_FOOTPATH_RAILINGS, SPR_TAB_SCENERY_PATHS, false }, + { STR_OBJECT_SELECTION_FOOTPATH_RAILINGS, SPR_G2_PATH_RAILINGS_TAB, false }, }; #pragma region Widgets diff --git a/src/openrct2/sprites.h b/src/openrct2/sprites.h index 6efc5e0347..785700bb57 100644 --- a/src/openrct2/sprites.h +++ b/src/openrct2/sprites.h @@ -865,7 +865,9 @@ enum SPR_G2_VIEW = SPR_G2_BEGIN + 137, - SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 138, + SPR_G2_PATH_RAILINGS_TAB = SPR_G2_BEGIN + 138, + + SPR_G2_CHAR_BEGIN = SPR_G2_BEGIN + 139, SPR_G2_AE_UPPER = SPR_G2_CHAR_BEGIN, SPR_G2_AE_LOWER = SPR_G2_CHAR_BEGIN + 1,