From a090d68933631157cbcf09bf165f1a7b9e598fb9 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sun, 18 Aug 2024 11:20:27 +0200 Subject: [PATCH] Reorder Map window tool widgets (#22541) * Reorder Map window sandbox mode widgets * Add custom icon for map gen and peep spawn buttons * Resize map window when toggling sandbox mode * Compensate minimap size for hidden scrollbars --- distribution/changelog.txt | 1 + resources/g2/icons/map_gen_button.png | Bin 0 -> 2570 bytes resources/g2/icons/peep_spawn.png | Bin 0 -> 2093 bytes resources/g2/sprites.json | 6 ++ src/openrct2-ui/windows/Map.cpp | 138 +++++++++++++++----------- src/openrct2/sprites.h | 4 +- 6 files changed, 90 insertions(+), 59 deletions(-) create mode 100644 resources/g2/icons/map_gen_button.png create mode 100644 resources/g2/icons/peep_spawn.png diff --git a/distribution/changelog.txt b/distribution/changelog.txt index c1df46b317..de52ad483e 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -11,6 +11,7 @@ - Change: [#22490] The tool to change land and construction rights has been moved out of the Map window. - Change: [#22490] In sandbox mode, changing land or construction rights now acts as buying or selling. - Change: [#22491] Scrollbars are now hidden if the scrollable widget is not actually overflowing. +- Change: [#22541] In editor/sandbox mode, tool widgets now appear on the side of the map window, instead of the bottom. - Fix: [#21908] Errors showing up when placing/moving track design previews. - Fix: [#22307] Hover tooltips in financial charts are not invalidated properly. - Fix: [#22316] Potential crash when switching the drawing engine while the game is running. diff --git a/resources/g2/icons/map_gen_button.png b/resources/g2/icons/map_gen_button.png new file mode 100644 index 0000000000000000000000000000000000000000..4a3e069d68c03bed04ca817cfc67a15656f97a4c GIT binary patch literal 2570 zcmbVNeQX-%8Gq9)BPmT#>uIz@Dh$?=jluzE%vUJ$z#|?ZxH(T`WgR^qXN>rG8Fw+n zL`90b(v@m-a}~Nc8dI6%ZB#*(myro+sA7`Uu?lVZgKc#3TC3rYuB8&oyw0m`@A(5Y zQ<6nJy?4Ct-S2&V&-47A_u+d}CtQc_{`}nlfJ2kVoF~!m{rr94Q|Q_G`5V6j;I2PU z9iN^+%iCOHg+hVjn8RTw2scIf83rycE*6WWYPHsEUhQ`Kg8_~KyA^odLcf0`5|O4d zST1iZE_+w1fqH{!we#y6Wrs@OvkIYGob^cyl(NL&tBa0C(buZN?pm(bEpPUlE(r*z zK*|mZgkS{<8hKG?Wn|Eja6OD01h}mN$2AoIcmW6q1W+W(N+boPvTU`kdcA9*P$!#x zw^ZU94GBJ?u!}LT)EZE_pvsrUse+YRb}UxhOLd~$3e>tGsZoNt6jnmzri^~*fH`lj z6e!hTt(|Rlm)gCR_05LJ4n_zd4gqNfC<_8(N$jdB{S7;8`||5dxnF2LrP^(_2kUkaa0?hhlnqD=5!G_WUda*l<Ya_K{!Ke(y_$$p*U(!CrBznv$7dF6pq{E{dz+#3kPj-pTVQ` zBpmcy_}D^{CKgUiQwtHw9F*H1l^so6kbxM@lCpFx8fPqNn|#}@1V3L-ZH99q=)#_zNvxXca$8htQiF`z+*XlC9#`rqyG5y&56Z%$Yb#rqyvqv1h?a zGgLC1V8bvj<1Lai@HA_aBWHJ_h$V(*!CROfe!hVKW!K{wa@^FHSZqkauoLqrjNOFX6wOSZNzm9y znt`X26g@GI+*I(+osaC_*5KZ-An@36d=Nf5Ab@ zG7FP25``R&ks%sO#6xn~Fp(AqjKU-$=DpkY!sD?_#u=83Q}m?MCPz_g!r>rNUq6c* zNwYd=A`R+M%4|@ZgLqIqW;E!>3}d8`HkkJIJ0W$N*LH7z5bZZodfga>wo+tpR6RW{_NGcFzPse`j|V4a>Ic zz(P`decR*|FDxCD@4gP-Bm;LA!H(I~9F2_LM(!OL183P3nWV=P}r^9XUO^6 zJAY^L-RS%+3-FUUznfZWj*N$B)H5+T9}dR1mK|ZR|J7{!+sE3_9vt;Hemd-{Xff=} zbR3yZqQ3jNOIxp_uDvzs9G^bY{_YEp#h=#R<_Qk-uY4D2Y-Cx#ptwKi4_tq(Dk~gt{PkbYefs;8if3NKuT52SFR$g7JxAs%f4h9) z%L~tsuf7#JHFfRqqmR!u_rJJ0|6uyS`T1XBPfn$Ey~DK>|K~M1al(1&t52T$FMEon A`Tzg` literal 0 HcmV?d00001 diff --git a/resources/g2/icons/peep_spawn.png b/resources/g2/icons/peep_spawn.png new file mode 100644 index 0000000000000000000000000000000000000000..615b3a7c435c7bad0c617e3bc83220cbaa650e53 GIT binary patch literal 2093 zcmb_dZEO@p7+ykza)=s;DT0P|s}ZbwJNt1TyY{U0uCxtY+q6eo{2|WH%=I?C+g*0I z+!Zirkr+cFB_$AzCJh)HEcTZqMq=vUk{~}wED>XZCZGmCnkMi=;yHU?mhvGXUb444 zv(G&5^SxP;Ke<&yRxSv!rITPGXHzu8G&L7&hz5zr>SVw$W85ESra9KYF|IF^1W7wi zGDiDuhxG35OrhO_NX1<9OKej?qXaqPLAH>~nyyxeaV1`jKKs)G$Ce=8V2o?=1G4?e zZZ>W?gjItgj{uO^h#G`p7?#y=6u!VpKvD!C3n0vkq85@g5MnDojs|paTI)${u7snb z7?<%pTN8wQJ|E1>LCYBsL{(JZ(X4}pfi)n8C6yp*M}z^dAYJES1cZ1ArBwy!5Jf|g>iUF*hWy_8>&s5Z z7NQ*gMpdz{hjavZC{qqqQbZoAVUdqYX;~%;Mp(gBwl2q@9~;arWc5{H$|yrZP!y>= zq$_zvjYzzXA~G+Bfr9mD6kr+qelA%=Yd2ilyy40h(o1$$p0Wm8a)kzw@Aepn{5BJ+ zpge8dp&s`Yxw1Z=A(ZqU%`b;>t+bbi4rv*nwYv{{33rq4!d>?kuRx4I6iGa$UEq~a zI?d}cz&wr+StlS2NF-fN{&w*pYFG`ZRXaYI_)2L|2ATte?w|tq;OX3-H_JK~rE~k& z^?#-#`1@wrXTo9&mfkJcV`(!>Q*`6@A8UsO9n_8;V$w=E^iXN5-+PiCNUwHpO|=$_ z#rlSZ=6JrVaSe*B&$l)1S=oHB@5O@$rw`S49cz|PY}he@;*$(B8JEwvz0+HS^ZU_- zuEyD8?oZ2^t9=bO&QBJXGsUiWamR+@9=Evfx#HxB;-%TSvBwY5C`-Ja&R*u_D;Lvr z@O4L`CAIPVfy0+qkFbxu{nq|B6I(|Tr*7;!XR^up^q0-wT+8qI{du(SouwOluCh;! zE(nAzHeXh%jd_Ry!mTy;O4`71M|`v>&E4yM-OCv{OZw79qC6t71su4 zPQ4GVZ3}O&`{eZLkESNh9*I10;l1nn+*s3=ncio&Z3g2fre>e({4*H~!m(byHLPO+lM!&4uY`?MzI)^7_a>0`#_5 literal 0 HcmV?d00001 diff --git a/resources/g2/sprites.json b/resources/g2/sprites.json index e696d4e681..8f321ccdb6 100644 --- a/resources/g2/sprites.json +++ b/resources/g2/sprites.json @@ -307,6 +307,12 @@ "x": 2, "y": 2 }, + { + "path": "icons/map_gen_button.png" + }, + { + "path": "icons/peep_spawn.png" + }, { "path": "icons/colour_invisible.png" }, diff --git a/src/openrct2-ui/windows/Map.cpp b/src/openrct2-ui/windows/Map.cpp index ae5044c624..77c490133d 100644 --- a/src/openrct2-ui/windows/Map.cpp +++ b/src/openrct2-ui/windows/Map.cpp @@ -69,19 +69,30 @@ namespace OpenRCT2::Ui::Windows return getPracticalMapSize() * 2; } + static bool isEditorOrSandbox() + { + return (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) || GetGameState().Cheats.SandboxMode; + } + static constexpr StringId WINDOW_TITLE = STR_MAP_LABEL; static constexpr int32_t WH = 259; static constexpr int32_t WW = 245; - static constexpr uint16_t kReservedHSpace = 6; + static constexpr uint16_t kReservedHSpace = 4; static constexpr uint16_t kReservedTopSpace = 46; - static constexpr uint16_t kScenarioEditorReservedSpace = 72; - static constexpr uint16_t kRidesTabReservedSpace = 4 * kListRowHeight + 4; - static constexpr uint16_t kDefaultReservedSpace = 14; + static constexpr uint16_t kEditorReservedHSpace = 26; + static constexpr uint16_t kEditorReservedVSpace = 18; + static constexpr uint16_t kRidesTabReservedVSpace = 4 * kListRowHeight + 4; + static constexpr uint16_t kDefaultReservedVSpace = 14; + + static uint16_t GetReservedRightSpace() + { + return isEditorOrSandbox() ? kEditorReservedHSpace : kReservedHSpace; + } static int32_t getMapOffset(int16_t width) { - return (width - getMiniMapWidth() - kReservedHSpace - kScrollBarWidth) / 2; + return (width - getMiniMapWidth() - GetReservedRightSpace() - kScrollBarWidth) / 2; } // Some functions manipulate coordinates on the map. These are the coordinates of the pixels in the @@ -111,27 +122,27 @@ namespace OpenRCT2::Ui::Windows WIDX_MAP_SIZE_SPINNER_X_UP, WIDX_MAP_SIZE_SPINNER_X_DOWN, WIDX_SET_LAND_RIGHTS, - WIDX_BUILD_PARK_ENTRANCE, WIDX_PEOPLE_STARTING_POSITION, + WIDX_BUILD_PARK_ENTRANCE, WIDX_MAP_GENERATOR }; // clang-format off -static Widget window_map_widgets[] = { - WINDOW_SHIM(WINDOW_TITLE, WW, WH), - MakeWidget ({ 0, 43}, {245, 215}, WindowWidgetType::Resize, WindowColour::Secondary ), - MakeRemapWidget ({ 3, 17}, { 31, 27}, WindowWidgetType::ColourBtn, WindowColour::Secondary, SPR_TAB, STR_SHOW_PEOPLE_ON_MAP_TIP ), - MakeRemapWidget ({ 34, 17}, { 31, 27}, WindowWidgetType::ColourBtn, WindowColour::Secondary, SPR_TAB, STR_SHOW_RIDES_STALLS_ON_MAP_TIP ), - MakeWidget ({ 3, 46}, {239, 180}, WindowWidgetType::Scroll, WindowColour::Secondary, SCROLL_BOTH ), - MakeSpinnerWidgets({102, 229}, { 50, 12}, WindowWidgetType::Spinner, WindowColour::Secondary, STR_COMMA16 ), // NB: 3 widgets - MakeWidget ({153, 230}, { 20, 12}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_G2_LINK_CHAIN), STR_MAINTAIN_SQUARE_MAP_TOOLTIP ), - MakeSpinnerWidgets({174, 229}, { 50, 12}, WindowWidgetType::Spinner, WindowColour::Secondary, STR_POP16_COMMA16 ), // NB: 3 widgets - MakeWidget ({ 4, 1}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_BUY_LAND_RIGHTS), STR_SELECT_PARK_OWNED_LAND_TIP ), - MakeWidget ({ 4, 1}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_PARK_ENTRANCE), STR_BUILD_PARK_ENTRANCE_TIP ), - MakeWidget ({ 28, 1}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, 0xFFFFFFFF, STR_SET_STARTING_POSITIONS_TIP ), - MakeWidget ({110, 189}, {131, 14}, WindowWidgetType::Button, WindowColour::Secondary, STR_MAPGEN_WINDOW_TITLE, STR_MAP_GENERATOR_TIP ), - kWidgetsEnd, -}; + static Widget window_map_widgets[] = { + WINDOW_SHIM(WINDOW_TITLE, WW, WH), + MakeWidget ({ 0, 43}, {245, 215}, WindowWidgetType::Resize, WindowColour::Secondary ), + MakeRemapWidget ({ 3, 17}, { 31, 27}, WindowWidgetType::ColourBtn, WindowColour::Secondary, SPR_TAB, STR_SHOW_PEOPLE_ON_MAP_TIP ), + MakeRemapWidget ({ 34, 17}, { 31, 27}, WindowWidgetType::ColourBtn, WindowColour::Secondary, SPR_TAB, STR_SHOW_RIDES_STALLS_ON_MAP_TIP), + MakeWidget ({ 3, 46}, {239, 180}, WindowWidgetType::Scroll, WindowColour::Secondary, SCROLL_BOTH ), + MakeSpinnerWidgets({102, 229}, { 50, 12}, WindowWidgetType::Spinner, WindowColour::Secondary, STR_COMMA16 ), // NB: 3 widgets + MakeWidget ({153, 230}, { 20, 12}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_G2_LINK_CHAIN), STR_MAINTAIN_SQUARE_MAP_TOOLTIP ), + MakeSpinnerWidgets({174, 229}, { 50, 12}, WindowWidgetType::Spinner, WindowColour::Secondary, STR_POP16_COMMA16 ), // NB: 3 widgets + MakeWidget ({ 4, 46}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_BUY_LAND_RIGHTS), STR_SELECT_PARK_OWNED_LAND_TIP ), + MakeWidget ({ 4, 70}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_G2_PEEP_SPAWN), STR_SET_STARTING_POSITIONS_TIP ), + MakeWidget ({ 28, 94}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_PARK_ENTRANCE), STR_BUILD_PARK_ENTRANCE_TIP ), + MakeWidget ({110, 118}, { 24, 24}, WindowWidgetType::FlatBtn, WindowColour::Secondary, ImageId(SPR_G2_MAP_GEN_BTN), STR_MAP_GENERATOR_TIP ), + kWidgetsEnd, + }; // clang-format on // These represent a coefficient for the map size to be multiplied @@ -204,8 +215,11 @@ static Widget window_map_widgets[] = { uint16_t _landRightsToolSize; int32_t _firstColumnWidth; std::vector _mapImageData; - bool _mapWidthAndHeightLinked{ true }; + + bool _mapWidthAndHeightLinked = true; bool _recalculateScrollbars = false; + bool _adjustedForSandboxMode = false; + enum class ResizeDirection { Both, @@ -366,6 +380,12 @@ static Widget window_map_widgets[] = { Invalidate(); + if (_adjustedForSandboxMode != isEditorOrSandbox()) + { + SetInitialWindowDimensions(); + ResetMaxWindowDimensions(); + } + // Update tab animations list_information_type++; switch (selected_tab) @@ -504,7 +524,16 @@ static Widget window_map_widgets[] = { ScreenSize OnScrollGetSize(int32_t scrollIndex) override { - return ScreenSize(getMiniMapWidth(), getMiniMapWidth()); + auto size = ScreenSize(getMiniMapWidth(), getMiniMapWidth()); + + // Adjust for hidden scrollbars if needed + auto& mapArea = widgets[WIDX_MAP]; + if (size.width >= mapArea.width()) + size.width -= kScrollBarWidth; + if (size.height >= mapArea.height()) + size.height -= kScrollBarWidth; + + return size; } void OnScrollMouseDown(int32_t scrollIndex, const ScreenCoordsXY& screenCoords) override @@ -576,6 +605,9 @@ static Widget window_map_widgets[] = { if (WindowFindByClass(WindowClass::LandRights)) pressed_widgets |= (1uLL << WIDX_SET_LAND_RIGHTS); + if (WindowFindByClass(WindowClass::Mapgen)) + pressed_widgets |= (1uLL << WIDX_MAP_GENERATOR); + // Set disabled widgets auto& gameState = GetGameState(); SetWidgetDisabled(WIDX_MAP_SIZE_LINK, gameState.MapSize.x != gameState.MapSize.y); @@ -599,15 +631,14 @@ static Widget window_map_widgets[] = { widgets[WIDX_MAP_SIZE_SPINNER_X_DOWN].top = height - 14; widgets[WIDX_MAP_SIZE_SPINNER_X_DOWN].bottom = height - 5; - widgets[WIDX_SET_LAND_RIGHTS].top = height - 70; - widgets[WIDX_SET_LAND_RIGHTS].bottom = height - 70 + 23; - widgets[WIDX_BUILD_PARK_ENTRANCE].top = height - 46; - widgets[WIDX_BUILD_PARK_ENTRANCE].bottom = height - 46 + 23; - widgets[WIDX_PEOPLE_STARTING_POSITION].top = height - 46; - widgets[WIDX_PEOPLE_STARTING_POSITION].bottom = height - 46 + 23; - - widgets[WIDX_MAP_GENERATOR].top = height - 69; - widgets[WIDX_MAP_GENERATOR].bottom = height - 69 + 13; + widgets[WIDX_SET_LAND_RIGHTS].left = width - 26; + widgets[WIDX_SET_LAND_RIGHTS].right = width - 2; + widgets[WIDX_BUILD_PARK_ENTRANCE].left = width - 26; + widgets[WIDX_BUILD_PARK_ENTRANCE].right = width - 2; + widgets[WIDX_PEOPLE_STARTING_POSITION].left = width - 26; + widgets[WIDX_PEOPLE_STARTING_POSITION].right = width - 2; + widgets[WIDX_MAP_GENERATOR].left = width - 26; + widgets[WIDX_MAP_GENERATOR].right = width - 2; // Disable all scenario editor related widgets for (int32_t i = WIDX_MAP_SIZE_SPINNER_Y; i <= WIDX_MAP_GENERATOR; i++) @@ -615,10 +646,8 @@ static Widget window_map_widgets[] = { widgets[i].type = WindowWidgetType::Empty; } - if ((gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) || GetGameState().Cheats.SandboxMode) + if (isEditorOrSandbox()) { - // Always show set land rights button - widgets[WIDX_SET_LAND_RIGHTS].type = WindowWidgetType::FlatBtn; ShowDefaultScenarioEditorButtons(); } if (_recalculateScrollbars) @@ -633,16 +662,7 @@ static Widget window_map_widgets[] = { DrawWidgets(dpi); DrawTabImages(dpi); - // People starting position (scenario editor only) - if (widgets[WIDX_PEOPLE_STARTING_POSITION].type != WindowWidgetType::Empty) - { - auto screenCoords = windowPos - + ScreenCoordsXY{ widgets[WIDX_PEOPLE_STARTING_POSITION].left + 12, - widgets[WIDX_PEOPLE_STARTING_POSITION].top + 18 }; - GfxDrawSprite(dpi, ImageId(SPR_6410, COLOUR_BRIGHT_RED, COLOUR_LIGHT_BROWN), screenCoords); - } - - if (!(gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) && !GetGameState().Cheats.SandboxMode) + if (!isEditorOrSandbox()) { // Render the map legend if (selected_tab == PAGE_RIDES) @@ -1068,8 +1088,14 @@ static Widget window_map_widgets[] = { void ShowDefaultScenarioEditorButtons() { + widgets[WIDX_SET_LAND_RIGHTS].type = WindowWidgetType::FlatBtn; widgets[WIDX_BUILD_PARK_ENTRANCE].type = WindowWidgetType::FlatBtn; widgets[WIDX_PEOPLE_STARTING_POSITION].type = WindowWidgetType::FlatBtn; + + // Only show this in the scenario editor, even when in sandbox mode. + if (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) + widgets[WIDX_MAP_GENERATOR].type = WindowWidgetType::FlatBtn; + widgets[WIDX_MAP_SIZE_SPINNER_Y].type = WindowWidgetType::Spinner; widgets[WIDX_MAP_SIZE_SPINNER_Y_UP].type = WindowWidgetType::Button; widgets[WIDX_MAP_SIZE_SPINNER_Y_DOWN].type = WindowWidgetType::Button; @@ -1078,10 +1104,6 @@ static Widget window_map_widgets[] = { widgets[WIDX_MAP_SIZE_SPINNER_X_UP].type = WindowWidgetType::Button; widgets[WIDX_MAP_SIZE_SPINNER_X_DOWN].type = WindowWidgetType::Button; - // Only show this in the scenario editor, even when in sandbox mode. - if (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) - widgets[WIDX_MAP_GENERATOR].type = WindowWidgetType::Button; - // Push width (Y) and height (X) to the common formatter arguments for the map size spinners to use auto& gameState = GetGameState(); auto ft = Formatter::Common(); @@ -1152,19 +1174,19 @@ static Widget window_map_widgets[] = { uint16_t GetReservedBottomSpace() { - if ((gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) || GetGameState().Cheats.SandboxMode) - return kScenarioEditorReservedSpace; + if (isEditorOrSandbox()) + return kEditorReservedVSpace; else if (selected_tab == PAGE_RIDES) - return kRidesTabReservedSpace; + return kRidesTabReservedVSpace; else - return kDefaultReservedSpace; + return kDefaultReservedVSpace; } void SetInitialWindowDimensions() { // The initial mini map size should be able to show a reasonably sized map auto initSize = std::clamp(getPracticalMapSize(), 100, 254) * 2; - width = initSize + kReservedHSpace; + width = initSize + GetReservedRightSpace(); height = initSize + kReservedTopSpace + GetReservedBottomSpace(); auto scrollbarSize = getPracticalMapSize() > 254 ? kScrollBarWidth : 2; @@ -1174,22 +1196,24 @@ static Widget window_map_widgets[] = { auto maxWindowHeight = ContextGetHeight() - 68; width = std::min(width, ContextGetWidth()); height = std::min(height, maxWindowHeight); + + _adjustedForSandboxMode = isEditorOrSandbox(); } void ResetMaxWindowDimensions() { - max_width = std::clamp(getMiniMapWidth() + kReservedHSpace, WW, ContextGetWidth()); + max_width = std::clamp(getMiniMapWidth() + GetReservedRightSpace(), WW, ContextGetWidth()); max_height = std::clamp( getMiniMapWidth() + kReservedTopSpace + GetReservedBottomSpace(), WH, ContextGetHeight() - 68); - auto scrollbarSize = getMiniMapWidth() + kReservedHSpace > ContextGetWidth() ? kScrollBarWidth : 2; + auto scrollbarSize = getMiniMapWidth() + GetReservedRightSpace() > ContextGetWidth() ? kScrollBarWidth : 2; max_width += scrollbarSize; max_height += scrollbarSize; } void ResizeMiniMap() { - widgets[WIDX_MAP].right = width - 4; + widgets[WIDX_MAP].right = width - GetReservedRightSpace(); widgets[WIDX_MAP].bottom = height - 1 - GetReservedBottomSpace(); } diff --git a/src/openrct2/sprites.h b/src/openrct2/sprites.h index 1adf4c0bef..a9db46e683 100644 --- a/src/openrct2/sprites.h +++ b/src/openrct2/sprites.h @@ -537,8 +537,6 @@ enum : ImageIndex SPR_HEIGHT_MARKER_BASE = 5769, - SPR_6410 = 6410, - SPR_PEEP_PICKUP_COUNT = 12, SPR_PEEP_PICKUP_GUEST_START = 6813, SPR_PEEP_PICKUP_HANDYMAN_START = 11289, @@ -971,6 +969,8 @@ enum : ImageIndex SPR_G2_ARROW_UP, SPR_G2_ARROW_DOWN, SPR_G2_RELOAD, + SPR_G2_MAP_GEN_BTN, + SPR_G2_PEEP_SPAWN, SPR_G2_ICON_PALETTE_INVISIBLE, SPR_G2_ICON_PALETTE_INVISIBLE_PRESSED,