diff options
author | Esteban I. Ruiz Moreno <exio4.com@gmail.com> | 2013-03-31 00:30:32 -0300 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-08-10 12:18:25 +0200 |
commit | 2c31b79235dd83de753fce5890c5797e149048b8 (patch) | |
tree | 86dac00e356f00d89a48bde28b3b052214e8168c /src/guiKeyChangeMenu.cpp | |
parent | c013c73f338b1c2227662458ebc650883f83271c (diff) | |
download | minetest-2c31b79235dd83de753fce5890c5797e149048b8.tar.gz minetest-2c31b79235dd83de753fce5890c5797e149048b8.tar.bz2 minetest-2c31b79235dd83de753fce5890c5797e149048b8.zip |
Add zoom, tweakable with zoom_fov, default key: Z (like optifine)
Diffstat (limited to 'src/guiKeyChangeMenu.cpp')
-rw-r--r-- | src/guiKeyChangeMenu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiKeyChangeMenu.cpp b/src/guiKeyChangeMenu.cpp index 785e921f7..07137d1bc 100644 --- a/src/guiKeyChangeMenu.cpp +++ b/src/guiKeyChangeMenu.cpp @@ -59,6 +59,7 @@ enum GUI_ID_KEY_INVENTORY_BUTTON, GUI_ID_KEY_DUMP_BUTTON, GUI_ID_KEY_RANGE_BUTTON, + GUI_ID_KEY_ZOOM_BUTTON, // other GUI_ID_CB_AUX1_DESCENDS, GUI_ID_CB_DOUBLETAP_JUMP, @@ -414,5 +415,6 @@ void GUIKeyChangeMenu::init_keys() this->add_key(GUI_ID_KEY_NOCLIP_BUTTON, wgettext("Toggle noclip"), "keymap_noclip"); this->add_key(GUI_ID_KEY_RANGE_BUTTON, wgettext("Range select"), "keymap_rangeselect"); this->add_key(GUI_ID_KEY_DUMP_BUTTON, wgettext("Print stacks"), "keymap_print_debug_stacks"); + this->add_key(GUI_ID_KEY_ZOOM_BUTTON, wgettext("Zoom"), "keymap_zoom"); } |