diff --git a/data/language/english_uk.txt b/data/language/english_uk.txt index 00b93db9bc..13c0d8236b 100644 --- a/data/language/english_uk.txt +++ b/data/language/english_uk.txt @@ -3827,3 +3827,5 @@ STR_5487 :{SMALLFONT}{BLACK}Show recent messages STR_5488 :No entrance STR_5489 :{SMALLFONT}{BLACK}Show only tracked guests STR_5490 :Disable audio on focus loss +STR_5491 :Inventions list +STR_5492 :Scenario options diff --git a/src/localisation/string_ids.h b/src/localisation/string_ids.h index 942ccc6b97..5ae91dcca2 100644 --- a/src/localisation/string_ids.h +++ b/src/localisation/string_ids.h @@ -2027,6 +2027,9 @@ enum { STR_AUDIO_FOCUS = 5490, + STR_DEBUG_DROPDOWN_INVENTIONS_LIST = 5491, + STR_DEBUG_DROPDOWN_SCENARIO_OPTIONS = 5492, + // Have to include resource strings (from scenarios and objects) for the time being now that language is partially working STR_COUNT = 32768 }; diff --git a/src/windows/top_toolbar.c b/src/windows/top_toolbar.c index ed1e58b86b..c55bad4f31 100644 --- a/src/windows/top_toolbar.c +++ b/src/windows/top_toolbar.c @@ -100,7 +100,9 @@ typedef enum { typedef enum { DDIDX_CONSOLE = 0, DDIDX_TILE_INSPECTOR = 1, - DDIDX_OBJECT_SELECTION = 2 + DDIDX_OBJECT_SELECTION = 2, + DDIDX_INVENTIONS_LIST = 3, + DDIDX_SCENARIO_OPTIONS = 4 } TOP_TOOLBAR_DEBUG_DDIDX; enum { @@ -2845,6 +2847,8 @@ 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; + gDropdownItemsFormat[3] = STR_DEBUG_DROPDOWN_INVENTIONS_LIST; + gDropdownItemsFormat[4] = STR_DEBUG_DROPDOWN_SCENARIO_OPTIONS; window_dropdown_show_text( w->x + widget->left, @@ -2852,7 +2856,7 @@ void top_toolbar_init_debug_menu(rct_window* w, rct_widget* widget) { widget->bottom - widget->top + 1, w->colours[1] | 0x80, 0, - 3 + 5 ); RCT2_GLOBAL(0x9DEBA2, uint16) = 0; @@ -2873,6 +2877,12 @@ void top_toolbar_debug_menu_dropdown(short dropdownIndex) { window_close_all(); window_editor_object_selection_open(); break; + case DDIDX_INVENTIONS_LIST: + window_editor_inventions_list_open(); + break; + case DDIDX_SCENARIO_OPTIONS: + window_editor_scenario_options_open(); + break; } } }