mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Rename two shortcut string ids that did not follow conventions
This commit is contained in:
@@ -15,7 +15,7 @@ namespace OpenRCT2
|
||||
{
|
||||
enum : StringId
|
||||
{
|
||||
// Interface
|
||||
// General
|
||||
STR_ADJUST_LARGER_LAND_TIP = 2379,
|
||||
STR_ADJUST_SMALLER_LAND_TIP = 2378,
|
||||
STR_BROKEN = 3124,
|
||||
@@ -60,8 +60,7 @@ namespace OpenRCT2
|
||||
STR_WINDOW_TITLE_TIP = 829,
|
||||
STR_WHITE_STRING = 5139,
|
||||
|
||||
// Input
|
||||
STR_ADVANCE_TO_NEXT_TICK = 6268,
|
||||
// Colour dropdown tooltips
|
||||
STR_COLOUR_AQUAMARINE_TIP = 5526,
|
||||
STR_COLOUR_AQUA_DARK_TIP = 6569,
|
||||
STR_COLOUR_BLACK_TIP = 5516,
|
||||
@@ -118,9 +117,11 @@ namespace OpenRCT2
|
||||
STR_COLOUR_VOID_TIP = 6574,
|
||||
STR_COLOUR_WHITE_TIP = 5518,
|
||||
STR_COLOUR_YELLOW_TIP = 5534,
|
||||
STR_SEND_MESSAGE = 5493,
|
||||
|
||||
// Shortcuts
|
||||
STR_SHORTCUT_ADJUST_LAND = 2511,
|
||||
STR_SHORTCUT_ADJUST_WATER = 2512,
|
||||
STR_SHORTCUT_ADVANCE_TO_NEXT_TICK = 6268,
|
||||
STR_SHORTCUT_BACKSPACE = 2533,
|
||||
STR_SHORTCUT_BUILD_NEW_RIDE = 2515,
|
||||
STR_SHORTCUT_BUILD_PATHS = 2514,
|
||||
@@ -233,6 +234,7 @@ namespace OpenRCT2
|
||||
STR_SHORTCUT_SEE_THROUGH_STAFF_TOGGLE = 6487,
|
||||
STR_SHORTCUT_SEE_THROUGH_VEGETATION_TOGGLE = 6484,
|
||||
STR_SHORTCUT_SEE_THROUGH_VEHICLES_TOGGLE = 6485,
|
||||
STR_SHORTCUT_SEND_MESSAGE = 5493,
|
||||
STR_SHORTCUT_SHOW_FINANCIAL_INFORMATION = 2516,
|
||||
STR_SHORTCUT_SHOW_GUEST_LIST = 2520,
|
||||
STR_SHORTCUT_SHOW_MULTIPLAYER = 5812,
|
||||
|
||||
@@ -799,7 +799,7 @@ void ShortcutManager::RegisterDefaultShortcuts()
|
||||
RegisterShortcut(ShortcutId::InterfaceSceneryPicker, STR_SHORTCUT_OPEN_SCENERY_PICKER, ShortcutOpenSceneryPicker);
|
||||
RegisterShortcut(
|
||||
ShortcutId::InterfaceDisableClearance, STR_SHORTCUT_TOGGLE_CLEARANCE_CHECKS, ShortcutToggleClearanceChecks);
|
||||
RegisterShortcut(ShortcutId::InterfaceMultiplayerChat, STR_SEND_MESSAGE, "C", []() {
|
||||
RegisterShortcut(ShortcutId::InterfaceMultiplayerChat, STR_SHORTCUT_SEND_MESSAGE, "C", []() {
|
||||
if (!(gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) && ChatAvailable())
|
||||
{
|
||||
ChatToggle();
|
||||
@@ -897,7 +897,7 @@ void ShortcutManager::RegisterDefaultShortcuts()
|
||||
|
||||
// Debug
|
||||
RegisterShortcut(ShortcutId::DebugToggleConsole, STR_CONSOLE, "`", ShortcutToggleConsole);
|
||||
RegisterShortcut(ShortcutId::DebugAdvanceTick, STR_ADVANCE_TO_NEXT_TICK, []() {
|
||||
RegisterShortcut(ShortcutId::DebugAdvanceTick, STR_SHORTCUT_ADVANCE_TO_NEXT_TICK, []() {
|
||||
if (!(gScreenFlags & (SCREEN_FLAGS_TITLE_DEMO | SCREEN_FLAGS_SCENARIO_EDITOR | SCREEN_FLAGS_TRACK_MANAGER)))
|
||||
{
|
||||
gDoSingleUpdate = true;
|
||||
|
||||
Reference in New Issue
Block a user