mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Add Objective Options to Cheats menu
This commit is contained in:
parent
cba1d48226
commit
16ca892449
4 changed files with 15 additions and 5 deletions
|
@ -3650,6 +3650,7 @@ STR_6389 :Invalid clearance
|
|||
STR_6390 :OpenRCT2 needs files from the original RollerCoaster Tycoon 2 in order to work. Please select the directory where you installed RollerCoaster Tycoon 2.
|
||||
STR_6391 :Please select your RCT2 directory
|
||||
STR_6392 :Could not find {STRING} at this path.
|
||||
STR_6393 :Objective Selection
|
||||
|
||||
#############
|
||||
# Scenarios #
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
- Feature: [#12999] .sea (RCT Classic) scenarios are now listed in the “New Scenario” dialog.
|
||||
- Feature: [#13000] objective_options command for console.
|
||||
- Feature: [#13096] Add Esperanto translation.
|
||||
- Feature: [#13164] Add 'Objective options' to Cheats menu.
|
||||
- Change: [#9568] Change lift sounds of Reverser Roller Coaster and Compact Inverted Coaster to better fitting ones.
|
||||
- Fix: [#1324] Last track piece map selection still visible when placing ride entrance or exit (original bug).
|
||||
- Fix: [#3200] Close Construction window upon selecting vehicle page.
|
||||
|
|
|
@ -165,10 +165,11 @@ enum {
|
|||
DDIDX_OBJECT_SELECTION = 2,
|
||||
DDIDX_INVENTIONS_LIST = 3,
|
||||
DDIDX_SCENARIO_OPTIONS = 4,
|
||||
// 5 is a separator
|
||||
DDIDX_ENABLE_SANDBOX_MODE = 6,
|
||||
DDIDX_DISABLE_CLEARANCE_CHECKS = 7,
|
||||
DDIDX_DISABLE_SUPPORT_LIMITS = 8,
|
||||
DDIDX_OBJECTIVE_OPTIONS = 5,
|
||||
// 6 is a separator
|
||||
DDIDX_ENABLE_SANDBOX_MODE = 7,
|
||||
DDIDX_DISABLE_CLEARANCE_CHECKS = 8,
|
||||
DDIDX_DISABLE_SUPPORT_LIMITS = 9,
|
||||
|
||||
TOP_TOOLBAR_CHEATS_COUNT
|
||||
};
|
||||
|
@ -3442,6 +3443,7 @@ static void top_toolbar_init_cheats_menu(rct_window* w, rct_widget* widget)
|
|||
ToggleOption(DDIDX_OBJECT_SELECTION, STR_DEBUG_DROPDOWN_OBJECT_SELECTION),
|
||||
ToggleOption(DDIDX_INVENTIONS_LIST, STR_DEBUG_DROPDOWN_INVENTIONS_LIST),
|
||||
ToggleOption(DDIDX_SCENARIO_OPTIONS, STR_DEBUG_DROPDOWN_SCENARIO_OPTIONS),
|
||||
ToggleOption(DDIDX_OBJECTIVE_OPTIONS, STR_CHEATS_MENU_OBJECTIVE_OPTIONS),
|
||||
Separator(),
|
||||
ToggleOption(DDIDX_ENABLE_SANDBOX_MODE, STR_ENABLE_SANDBOX_MODE),
|
||||
ToggleOption(DDIDX_DISABLE_CLEARANCE_CHECKS, STR_DISABLE_CLEARANCE_CHECKS),
|
||||
|
@ -3467,6 +3469,7 @@ static void top_toolbar_init_cheats_menu(rct_window* w, rct_widget* widget)
|
|||
dropdown_set_disabled(DDIDX_OBJECT_SELECTION, true);
|
||||
dropdown_set_disabled(DDIDX_INVENTIONS_LIST, true);
|
||||
dropdown_set_disabled(DDIDX_SCENARIO_OPTIONS, true);
|
||||
dropdown_set_disabled(DDIDX_OBJECTIVE_OPTIONS, true);
|
||||
dropdown_set_disabled(DDIDX_ENABLE_SANDBOX_MODE, true);
|
||||
}
|
||||
|
||||
|
@ -3506,6 +3509,9 @@ static void top_toolbar_cheats_menu_dropdown(int16_t dropdownIndex)
|
|||
case DDIDX_SCENARIO_OPTIONS:
|
||||
context_open_window(WC_EDITOR_SCENARIO_OPTIONS);
|
||||
break;
|
||||
case DDIDX_OBJECTIVE_OPTIONS:
|
||||
context_open_window(WC_EDTIOR_OBJECTIVE_OPTIONS);
|
||||
break;
|
||||
case DDIDX_ENABLE_SANDBOX_MODE:
|
||||
CheatsSet(CheatType::SandboxMode, !gCheatsSandboxMode);
|
||||
break;
|
||||
|
|
|
@ -3895,7 +3895,9 @@ enum
|
|||
|
||||
STR_NEEDS_RCT2_FILES = 6390,
|
||||
STR_PICK_RCT2_DIR = 6391,
|
||||
STR_COULD_NOT_FIND_AT_PATH = 6392
|
||||
STR_COULD_NOT_FIND_AT_PATH = 6392,
|
||||
|
||||
STR_CHEATS_MENU_OBJECTIVE_OPTIONS = 6393,
|
||||
|
||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
|
||||
|
|
Loading…
Reference in a new issue