1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Refactor ShortCutIds.h constants to kCamelCase

This commit is contained in:
Harry Hopkinson
2024-09-24 21:27:00 +01:00
committed by Harry-Hopkinson
parent 2fe36661ab
commit fd750130ec
4 changed files with 230 additions and 231 deletions

View File

@@ -360,86 +360,86 @@ std::string_view ShortcutManager::GetLegacyShortcutId(size_t index)
ShortcutId::kInterfaceCloseAll,
ShortcutId::kInterfaceCancelConstruction,
ShortcutId::kInterfacePause,
ShortcutId::ViewGeneralZoomOut,
ShortcutId::ViewGeneralZoomIn,
ShortcutId::ViewGeneralRotateClockwise,
ShortcutId::ViewGeneralRotateAnticlockwise,
ShortcutId::kViewGeneralZoomOut,
ShortcutId::kViewGeneralZoomIn,
ShortcutId::kViewGeneralRotateClockwise,
ShortcutId::kViewGeneralRotateAnticlockwise,
ShortcutId::kInterfaceRotateConstruction,
ShortcutId::ViewToggleUnderground,
ShortcutId::ViewToggleBaseLand,
ShortcutId::ViewToggleVerticalLand,
ShortcutId::ViewToggleRides,
ShortcutId::ViewToggleScenery,
ShortcutId::ViewToggleSupports,
ShortcutId::ViewToggleGuests,
ShortcutId::ViewToggleLandHeightMarkers,
ShortcutId::ViewToggleTrackHeightMarkers,
ShortcutId::ViewToggleFootpathHeightMarkers,
ShortcutId::InterfaceOpenLand,
ShortcutId::InterfaceOpenWater,
ShortcutId::InterfaceOpenScenery,
ShortcutId::InterfaceOpenFootpaths,
ShortcutId::InterfaceOpenNewRide,
ShortcutId::InterfaceOpenFinances,
ShortcutId::InterfaceOpenResearch,
ShortcutId::InterfaceOpenRides,
ShortcutId::InterfaceOpenPark,
ShortcutId::InterfaceOpenGuests,
ShortcutId::InterfaceOpenStaff,
ShortcutId::InterfaceOpenMessages,
ShortcutId::InterfaceOpenMap,
ShortcutId::kViewToggleUnderground,
ShortcutId::kViewToggleBaseLand,
ShortcutId::kViewToggleVerticalLand,
ShortcutId::kViewToggleRides,
ShortcutId::kViewToggleScenery,
ShortcutId::kViewToggleSupports,
ShortcutId::kViewToggleGuests,
ShortcutId::kViewToggleLandHeightMarkers,
ShortcutId::kViewToggleTrackHeightMarkers,
ShortcutId::kViewToggleFootpathHeightMarkers,
ShortcutId::kInterfaceOpenLand,
ShortcutId::kInterfaceOpenWater,
ShortcutId::kInterfaceOpenScenery,
ShortcutId::kInterfaceOpenFootpaths,
ShortcutId::kInterfaceOpenNewRide,
ShortcutId::kInterfaceOpenFinances,
ShortcutId::kInterfaceOpenResearch,
ShortcutId::kInterfaceOpenRides,
ShortcutId::kInterfaceOpenPark,
ShortcutId::kInterfaceOpenGuests,
ShortcutId::kInterfaceOpenStaff,
ShortcutId::kInterfaceOpenMessages,
ShortcutId::kInterfaceOpenMap,
ShortcutId::kInterfaceScreenshot,
ShortcutId::kInterfaceDecreaseSpeed,
ShortcutId::kInterfaceIncreaseSpeed,
ShortcutId::InterfaceOpenCheats,
ShortcutId::kInterfaceOpenCheats,
ShortcutId::kInterfaceToggleToolbars,
ShortcutId::ViewScrollUp,
ShortcutId::ViewScrollLeft,
ShortcutId::ViewScrollDown,
ShortcutId::ViewScrollRight,
ShortcutId::kViewScrollUp,
ShortcutId::kViewScrollLeft,
ShortcutId::kViewScrollDown,
ShortcutId::kViewScrollRight,
ShortcutId::kInterfaceMultiplayerChat,
ShortcutId::kInterfaceSaveGame,
ShortcutId::InterfaceShowOptions,
ShortcutId::kInterfaceShowOptions,
ShortcutId::kInterfaceMute,
ShortcutId::InterfaceScaleToggleWindowMode,
ShortcutId::InterfaceMultiplayerShow,
ShortcutId::kInterfaceScaleToggleWindowMode,
ShortcutId::kInterfaceMultiplayerShow,
std::string_view(),
ShortcutId::DebugTogglePaintDebugWindow,
ShortcutId::ViewToggleFootpaths,
ShortcutId::WindowRideConstructionTurnLeft,
ShortcutId::WindowRideConstructionTurnRight,
ShortcutId::WindowRideConstructionDefault,
ShortcutId::WindowRideConstructionSlopeDown,
ShortcutId::WindowRideConstructionSlopeUp,
ShortcutId::WindowRideConstructionChainLift,
ShortcutId::WindowRideConstructionBankLeft,
ShortcutId::WindowRideConstructionBankRight,
ShortcutId::WindowRideConstructionPrevious,
ShortcutId::WindowRideConstructionNext,
ShortcutId::WindowRideConstructionBuild,
ShortcutId::WindowRideConstructionDemolish,
ShortcutId::kDebugTogglePaintDebugWindow,
ShortcutId::kViewToggleFootpaths,
ShortcutId::kWindowRideConstructionTurnLeft,
ShortcutId::kWindowRideConstructionTurnRight,
ShortcutId::kWindowRideConstructionDefault,
ShortcutId::kWindowRideConstructionSlopeDown,
ShortcutId::kWindowRideConstructionSlopeUp,
ShortcutId::kWindowRideConstructionChainLift,
ShortcutId::kWindowRideConstructionBankLeft,
ShortcutId::kWindowRideConstructionBankRight,
ShortcutId::kWindowRideConstructionPrevious,
ShortcutId::kWindowRideConstructionNext,
ShortcutId::kWindowRideConstructionBuild,
ShortcutId::kWindowRideConstructionDemolish,
ShortcutId::kInterfaceLoadGame,
ShortcutId::InterfaceClearScenery,
ShortcutId::ViewToggleGridlines,
ShortcutId::ViewToggleCutAway,
ShortcutId::ViewToogleFootpathIssues,
ShortcutId::InterfaceOpenTileInspector,
ShortcutId::DebugAdvanceTick,
ShortcutId::kInterfaceClearScenery,
ShortcutId::kViewToggleGridlines,
ShortcutId::kViewToggleCutAway,
ShortcutId::kViewToggleFootpathIssues,
ShortcutId::kInterfaceOpenTileInspector,
ShortcutId::kDebugAdvanceTick,
ShortcutId::kInterfaceSceneryPicker,
ShortcutId::InterfaceScaleIncrease,
ShortcutId::InterfaceScaleDecrease,
ShortcutId::WindowTileInspectorToggleInvisibility,
ShortcutId::WindowTileInspectorCopy,
ShortcutId::WindowTileInspectorPaste,
ShortcutId::WindowTileInspectorRemove,
ShortcutId::WindowTileInspectorMoveUp,
ShortcutId::WindowTileInspectorMoveDown,
ShortcutId::WindowTileInspectorIncreaseX,
ShortcutId::WindowTileInspectorDecreaseX,
ShortcutId::WindowTileInspectorIncreaseY,
ShortcutId::WindowTileInspectorDecreaseY,
ShortcutId::WindowTileInspectorIncreaseHeight,
ShortcutId::WindowTileInspectorDecreaseHeight,
ShortcutId::kInterfaceScaleIncrease,
ShortcutId::kInterfaceScaleDecrease,
ShortcutId::kWindowTileInspectorToggleInvisibility,
ShortcutId::kWindowTileInspectorCopy,
ShortcutId::kWindowTileInspectorPaste,
ShortcutId::kWindowTileInspectorRemove,
ShortcutId::kWindowTileInspectorMoveUp,
ShortcutId::kWindowTileInspectorMoveDown,
ShortcutId::kWindowTileInspectorIncreaseX,
ShortcutId::kWindowTileInspectorDecreaseX,
ShortcutId::kWindowTileInspectorIncreaseY,
ShortcutId::kWindowTileInspectorDecreaseY,
ShortcutId::kWindowTileInspectorIncreaseHeight,
ShortcutId::kWindowTileInspectorDecreaseHeight,
ShortcutId::kInterfaceDisableClearance,
};
return index < std::size(_legacyMap) ? _legacyMap[index] : std::string_view();