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 6250ec5297..041165287f 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 86f7cd248d..489f8e85ef 100644 --- a/src/openrct2-ui/windows/EditorObjectSelection.cpp +++ b/src/openrct2-ui/windows/EditorObjectSelection.cpp @@ -108,10 +108,12 @@ static constexpr const ObjectPageDesc ObjectSelectionPages[] = { { STR_OBJECT_SELECTION_WATER, SPR_TAB_WATER, false }, // Currently hidden until new save format arrives: - // { STR_OBJECT_SELECTION_TERRAIN_SURFACES, SPR_G2_TAB_LAND, false }, - // { STR_OBJECT_SELECTION_TERRAIN_EDGES, SPR_G2_TAB_LAND, false }, - // { STR_OBJECT_SELECTION_STATIONS, SPR_TAB_PARK, false }, + // { STR_OBJECT_SELECTION_TERRAIN_SURFACES, SPR_G2_TAB_LAND, true }, + // { STR_OBJECT_SELECTION_TERRAIN_EDGES, SPR_G2_TAB_LAND, true }, + // { 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_G2_PATH_RAILINGS_TAB, false }, }; #pragma region Widgets diff --git a/src/openrct2/sprites.h b/src/openrct2/sprites.h index 64d72de1cd..0965ea5fd0 100644 --- a/src/openrct2/sprites.h +++ b/src/openrct2/sprites.h @@ -864,7 +864,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,