Change “Use” key name to “Special”

This commit is contained in:
TeTpaAka 2017-07-29 19:24:10 +02:00 committed by paramat
parent e44f13aecb
commit 028c9f899f
4 changed files with 12 additions and 11 deletions

@ -51,6 +51,7 @@ Default controls
- -: Decrease view range - -: Decrease view range
- K: Enable/disable fly mode (needs fly privilege) - K: Enable/disable fly mode (needs fly privilege)
- J: Enable/disable fast mode (needs fast privilege) - J: Enable/disable fast mode (needs fast privilege)
- E: Move fast in fast mode
- H: Enable/disable noclip mode (needs noclip privilege) - H: Enable/disable noclip mode (needs noclip privilege)
- F1: Hide/show HUD - F1: Hide/show HUD

@ -65,7 +65,7 @@ enable_build_where_you_stand (Build inside player) bool false
# This requires the "fly" privilege on the server. # This requires the "fly" privilege on the server.
free_move (Flying) bool false free_move (Flying) bool false
# Fast movement (via use key). # Fast movement (via the "special" key).
# This requires the "fast" privilege on the server. # This requires the "fast" privilege on the server.
fast_move (Fast movement) bool false fast_move (Fast movement) bool false
@ -89,13 +89,13 @@ invert_mouse (Invert mouse) bool false
# Mouse sensitivity multiplier. # Mouse sensitivity multiplier.
mouse_sensitivity (Mouse sensitivity) float 0.2 mouse_sensitivity (Mouse sensitivity) float 0.2
# If enabled, "use" key instead of "sneak" key is used for climbing down and descending. # If enabled, "special" key instead of "sneak" key is used for climbing down and descending.
aux1_descends (Key use for climbing/descending) bool false aux1_descends (Special key for climbing/descending) bool false
# Double-tapping the jump key toggles fly mode. # Double-tapping the jump key toggles fly mode.
doubletap_jump (Double tap jump for fly) bool false doubletap_jump (Double tap jump for fly) bool false
# If disabled "use" key is used to fly fast if both fly and fast mode are enabled. # If disabled, "special" key is used to fly fast if both fly and fast mode are enabled.
always_fly_fast (Always fly and fast) bool true always_fly_fast (Always fly and fast) bool true
# The time in seconds it takes between repeated right clicks when holding the right mouse button. # The time in seconds it takes between repeated right clicks when holding the right mouse button.
@ -155,7 +155,7 @@ keymap_inventory (Inventory key) key KEY_KEY_I
# Key for moving fast in fast mode. # Key for moving fast in fast mode.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
keymap_special1 (Use key) key KEY_KEY_E keymap_special1 (Special key) key KEY_KEY_E
# Key for opening the chat window. # Key for opening the chat window.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3

@ -28,7 +28,7 @@
# type: bool # type: bool
# free_move = false # free_move = false
# Fast movement (via use key). # Fast movement (via special key).
# This requires the "fast" privilege on the server. # This requires the "fast" privilege on the server.
# type: bool # type: bool
# fast_move = false # fast_move = false
@ -59,7 +59,7 @@
# type: float # type: float
# mouse_sensitivity = 0.2 # mouse_sensitivity = 0.2
# If enabled, "use" key instead of "sneak" key is used for climbing down and descending. # If enabled, "special" key instead of "sneak" key is used for climbing down and descending.
# type: bool # type: bool
# aux1_descends = false # aux1_descends = false
@ -67,7 +67,7 @@
# type: bool # type: bool
# doubletap_jump = false # doubletap_jump = false
# If disabled "use" key is used to fly fast if both fly and fast mode are enabled. # If disabled, "special" key is used to fly fast if both fly and fast mode are enabled.
# type: bool # type: bool
# always_fly_fast = true # always_fly_fast = true
@ -141,7 +141,7 @@
# type: key # type: key
# keymap_inventory = KEY_KEY_I # keymap_inventory = KEY_KEY_I
# Key for moving fast in fast mode. # Key for moving fast in fast mode (known as "special").
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key # type: key
# keymap_special1 = KEY_KEY_E # keymap_special1 = KEY_KEY_E

@ -177,7 +177,7 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
{ {
core::rect<s32> rect(0, 0, option_w, 30); core::rect<s32> rect(0, 0, option_w, 30);
rect += topleft + v2s32(option_x, option_y); rect += topleft + v2s32(option_x, option_y);
const wchar_t *text = wgettext("\"Use\" = climb down"); const wchar_t *text = wgettext("\"Special\" = climb down");
Environment->addCheckBox(g_settings->getBool("aux1_descends"), rect, this, Environment->addCheckBox(g_settings->getBool("aux1_descends"), rect, this,
GUI_ID_CB_AUX1_DESCENDS, text); GUI_ID_CB_AUX1_DESCENDS, text);
delete[] text; delete[] text;
@ -415,7 +415,7 @@ void GUIKeyChangeMenu::init_keys()
this->add_key(GUI_ID_KEY_BACKWARD_BUTTON, wgettext("Backward"), "keymap_backward"); this->add_key(GUI_ID_KEY_BACKWARD_BUTTON, wgettext("Backward"), "keymap_backward");
this->add_key(GUI_ID_KEY_LEFT_BUTTON, wgettext("Left"), "keymap_left"); this->add_key(GUI_ID_KEY_LEFT_BUTTON, wgettext("Left"), "keymap_left");
this->add_key(GUI_ID_KEY_RIGHT_BUTTON, wgettext("Right"), "keymap_right"); this->add_key(GUI_ID_KEY_RIGHT_BUTTON, wgettext("Right"), "keymap_right");
this->add_key(GUI_ID_KEY_USE_BUTTON, wgettext("Use"), "keymap_special1"); this->add_key(GUI_ID_KEY_USE_BUTTON, wgettext("Special"), "keymap_special1");
this->add_key(GUI_ID_KEY_JUMP_BUTTON, wgettext("Jump"), "keymap_jump"); this->add_key(GUI_ID_KEY_JUMP_BUTTON, wgettext("Jump"), "keymap_jump");
this->add_key(GUI_ID_KEY_SNEAK_BUTTON, wgettext("Sneak"), "keymap_sneak"); this->add_key(GUI_ID_KEY_SNEAK_BUTTON, wgettext("Sneak"), "keymap_sneak");
this->add_key(GUI_ID_KEY_DROP_BUTTON, wgettext("Drop"), "keymap_drop"); this->add_key(GUI_ID_KEY_DROP_BUTTON, wgettext("Drop"), "keymap_drop");