diff --git a/data/language/english_uk.txt b/data/language/english_uk.txt index e6683e72b9..d36b4912e4 100644 --- a/data/language/english_uk.txt +++ b/data/language/english_uk.txt @@ -3704,3 +3704,4 @@ STR_5367 :Fast STR_5368 :Reset crash status STR_5369 :Park parameters... STR_5370 :{SMALLFONT}{BLACK}Click this button to modify park{NEWLINE}parameters like restrictions,{NEWLINE}guest generation and money. +STR_5371 :Object Selection \ No newline at end of file diff --git a/src/localisation/string_ids.h b/src/localisation/string_ids.h index 199cea90fd..139104e3a2 100644 --- a/src/localisation/string_ids.h +++ b/src/localisation/string_ids.h @@ -1510,6 +1510,8 @@ enum { STR_DEBUG_TIP = 5311, STR_DEBUG_DROPDOWN_CONSOLE = 5312, STR_DEBUG_DROPDOWN_TILE_INSPECTOR = 5313, + STR_DEBUG_DROPDOWN_OBJECT_SELECTION = 5371, + STR_TILE_INSPECTOR_TITLE = 5314, STR_TILE_INSPECTOR_TERRAIN_START = 5315, STR_TILE_INSPECTOR_TERRAIN_EDGE_START = 5331, diff --git a/src/windows/top_toolbar.c b/src/windows/top_toolbar.c index 7079828796..23e9e336f3 100644 --- a/src/windows/top_toolbar.c +++ b/src/windows/top_toolbar.c @@ -97,7 +97,8 @@ typedef enum { typedef enum { DDIDX_CONSOLE = 0, - DDIDX_TILE_INSPECTOR = 1 + DDIDX_TILE_INSPECTOR = 1, + DDIDX_OBJECT_SELECTION = 2 } TOP_TOOLBAR_DEBUG_DDIDX; #pragma region Toolbar_widget_ordering @@ -2779,6 +2780,7 @@ void top_toolbar_fastforward_menu_dropdown(short dropdownIndex) { void top_toolbar_init_debug_menu(rct_window* w, rct_widget* widget) { gDropdownItemsFormat[0] = STR_DEBUG_DROPDOWN_CONSOLE; gDropdownItemsFormat[1] = STR_DEBUG_DROPDOWN_TILE_INSPECTOR; + gDropdownItemsFormat[2] = STR_DEBUG_DROPDOWN_OBJECT_SELECTION; window_dropdown_show_text( w->x + widget->left, @@ -2786,7 +2788,7 @@ void top_toolbar_init_debug_menu(rct_window* w, rct_widget* widget) { widget->bottom - widget->top + 1, w->colours[1] | 0x80, 0, - 2 + 3 ); RCT2_GLOBAL(0x9DEBA2, uint16) = 0; @@ -2803,6 +2805,10 @@ void top_toolbar_debug_menu_dropdown(short dropdownIndex) { case DDIDX_TILE_INSPECTOR: window_tile_inspector_open(); break; + case DDIDX_OBJECT_SELECTION: + window_close_all(); + window_editor_object_selection_open(); + break; } } }