Browse Source

standardizing more ini indicators

pull/8117/head
wkdgmr 8 months ago committed by Anders Jenbo
parent
commit
c92c768787
  1. 20
      Source/diablo.cpp

20
Source/diablo.cpp

@ -1841,21 +1841,21 @@ void InitKeymapActions()
nullptr, nullptr,
CanPlayerTakeAction); CanPlayerTakeAction);
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Item Highlighting", "ItemHighlighting",
N_("Item highlighting"), N_("Item highlighting"),
N_("Show/hide items on ground."), N_("Show/hide items on ground."),
SDLK_LALT, SDLK_LALT,
[] { HighlightKeyPressed(true); }, [] { HighlightKeyPressed(true); },
[] { HighlightKeyPressed(false); }); [] { HighlightKeyPressed(false); });
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Toggle Item Highlighting", "ToggleItemHighlighting",
N_("Toggle item highlighting"), N_("Toggle item highlighting"),
N_("Permanent show/hide items on ground."), N_("Permanent show/hide items on ground."),
SDLK_RCTRL, SDLK_RCTRL,
nullptr, nullptr,
[] { ToggleItemLabelHighlight(); }); [] { ToggleItemLabelHighlight(); });
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Toggle Automap", "ToggleAutomap",
N_("Toggle automap"), N_("Toggle automap"),
N_("Toggles if automap is displayed."), N_("Toggles if automap is displayed."),
SDLK_TAB, SDLK_TAB,
@ -1923,7 +1923,7 @@ void InitKeymapActions()
i + 1); i + 1);
} }
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Hide Info Screens", "HideInfoScreens",
N_("Hide Info Screens"), N_("Hide Info Screens"),
N_("Hide all info screens."), N_("Hide all info screens."),
SDLK_SPACE, SDLK_SPACE,
@ -1958,13 +1958,13 @@ void InitKeymapActions()
nullptr, nullptr,
CanPlayerTakeAction); CanPlayerTakeAction);
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Pause Game", "PauseGame",
N_("Pause Game"), N_("Pause Game"),
N_("Pauses the game."), N_("Pauses the game."),
'P', 'P',
diablo_pause_game); diablo_pause_game);
options.Keymapper.AddAction( options.Keymapper.AddAction(
"Pause Game (Alternate)", "PauseGameAlternate",
N_("Pause Game (Alternate)"), N_("Pause Game (Alternate)"),
N_("Pauses the game."), N_("Pauses the game."),
SDLK_PAUSE, SDLK_PAUSE,
@ -2427,21 +2427,21 @@ void InitPadmapActions()
nullptr, nullptr,
[&]() { return !gbIsMultiplayer && gbValidSaveFile && !IsPlayerInStore() && IsGameRunning(); }); [&]() { return !gbIsMultiplayer && gbValidSaveFile && !IsPlayerInStore() && IsGameRunning(); });
options.Padmapper.AddAction( options.Padmapper.AddAction(
"Item Highlighting", "ItemHighlighting",
N_("Item highlighting"), N_("Item highlighting"),
N_("Show/hide items on ground."), N_("Show/hide items on ground."),
ControllerButton_NONE, ControllerButton_NONE,
[] { HighlightKeyPressed(true); }, [] { HighlightKeyPressed(true); },
[] { HighlightKeyPressed(false); }); [] { HighlightKeyPressed(false); });
options.Padmapper.AddAction( options.Padmapper.AddAction(
"Toggle Item Highlighting", "ToggleItemHighlighting",
N_("Toggle item highlighting"), N_("Toggle item highlighting"),
N_("Permanent show/hide items on ground."), N_("Permanent show/hide items on ground."),
ControllerButton_NONE, ControllerButton_NONE,
nullptr, nullptr,
[] { ToggleItemLabelHighlight(); }); [] { ToggleItemLabelHighlight(); });
options.Padmapper.AddAction( options.Padmapper.AddAction(
"Hide Info Screens", "HideInfoScreens",
N_("Hide Info Screens"), N_("Hide Info Screens"),
N_("Hide all info screens."), N_("Hide all info screens."),
ControllerButton_NONE, ControllerButton_NONE,
@ -2476,7 +2476,7 @@ void InitPadmapActions()
nullptr, nullptr,
CanPlayerTakeAction); CanPlayerTakeAction);
options.Padmapper.AddAction( options.Padmapper.AddAction(
"Pause Game", "PauseGame",
N_("Pause Game"), N_("Pause Game"),
N_("Pauses the game."), N_("Pauses the game."),
ControllerButton_NONE, ControllerButton_NONE,

Loading…
Cancel
Save