Skip to content
Permalink
Browse files

Change “Use” key name to “Special”

  • Loading branch information...
TeTpaAka authored and paramat committed Jul 29, 2017
1 parent e44f13a commit 028c9f899f291402cd839fd56ec571b4dee43df3
Showing with 12 additions and 11 deletions.
  1. +1 −0 README.txt
  2. +5 −5 builtin/settingtypes.txt
  3. +4 −4 minetest.conf.example
  4. +2 −2 src/guiKeyChangeMenu.cpp
@@ -51,6 +51,7 @@ Default controls
- -: Decrease view range
- K: Enable/disable fly mode (needs fly privilege)
- J: Enable/disable fast mode (needs fast privilege)
- E: Move fast in fast mode
- H: Enable/disable noclip mode (needs noclip privilege)

- 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.
free_move (Flying) bool false

# Fast movement (via use key).
# Fast movement (via the "special" key).
# This requires the "fast" privilege on the server.
fast_move (Fast movement) bool false

@@ -89,13 +89,13 @@ invert_mouse (Invert mouse) bool false
# Mouse sensitivity multiplier.
mouse_sensitivity (Mouse sensitivity) float 0.2

# If enabled, "use" key instead of "sneak" key is used for climbing down and descending.
aux1_descends (Key use for climbing/descending) bool false
# If enabled, "special" key instead of "sneak" key is used for climbing down and descending.
aux1_descends (Special key for climbing/descending) bool false

# Double-tapping the jump key toggles fly mode.
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

# 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.
# 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.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
@@ -28,7 +28,7 @@
# type: bool
# free_move = false

# Fast movement (via use key).
# Fast movement (via special key).
# This requires the "fast" privilege on the server.
# type: bool
# fast_move = false
@@ -59,15 +59,15 @@
# type: float
# 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
# aux1_descends = false

# Double-tapping the jump key toggles fly mode.
# type: bool
# 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
# always_fly_fast = true

@@ -141,7 +141,7 @@
# type: key
# 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
# type: key
# keymap_special1 = KEY_KEY_E
@@ -177,7 +177,7 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, option_w, 30);
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,
GUI_ID_CB_AUX1_DESCENDS, 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_LEFT_BUTTON, wgettext("Left"), "keymap_left");
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_SNEAK_BUTTON, wgettext("Sneak"), "keymap_sneak");
this->add_key(GUI_ID_KEY_DROP_BUTTON, wgettext("Drop"), "keymap_drop");

0 comments on commit 028c9f8

Please sign in to comment.
You can’t perform that action at this time.