aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-05-07 14:40:13 +0200
committerPilzAdam <pilzadam@minetest.net>2013-05-07 14:48:20 +0200
commit7b41f54411bd49e231ab8255c96a9261161ae70c (patch)
tree9fba9d214e647233f54be0f89c346c6cf1d31099
parent03ab6aa24c7ca041eeff78f87df245828942e872 (diff)
downloadminetest-7b41f54411bd49e231ab8255c96a9261161ae70c.tar.gz
minetest-7b41f54411bd49e231ab8255c96a9261161ae70c.tar.bz2
minetest-7b41f54411bd49e231ab8255c96a9261161ae70c.zip
Update default controls in README and pause menu
-rw-r--r--README.txt18
-rw-r--r--src/guiPauseMenu.cpp16
2 files changed, 19 insertions, 15 deletions
diff --git a/README.txt b/README.txt
index 832928006..ae5003f77 100644
--- a/README.txt
+++ b/README.txt
@@ -30,13 +30,17 @@ This game is not finished
Default Controls
-----------------
-- WASD: Move
-- Space: Jump
-- E: Go down
-- Shift: Sneak
-- Q: Drop item
-- I: Open inventory
-- Mouse: Turn/look
+- WASD: move
+- Space: jump/climb
+- Shift: sneak/go down
+- Q: drop item
+- I: inventory
+- Mouse: turn/look
+- Mouse left: dig/punch
+- Mouse right: place/use
+- Mouse wheel: select item
+- Esc: pause menu
+- T: chat
- Settable in the configuration file, see the section below.
Paths
diff --git a/src/guiPauseMenu.cpp b/src/guiPauseMenu.cpp
index b57b4a1d1..f5d323a9b 100644
--- a/src/guiPauseMenu.cpp
+++ b/src/guiPauseMenu.cpp
@@ -168,16 +168,16 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize)
core::rect<s32> rect(0, 0, 180, 240);
rect = rect + v2s32(size.X/2 + 90, size.Y/2-rect.getHeight()/2);
wchar_t* text = wgettext("Default Controls:\n"
- "- WASD: Walk\n"
- "- Mouse left: dig/hit\n"
+ "- WASD: move\n"
+ "- Space: jump/climb\n"
+ "- Shift: sneak/go down\n"
+ "- Q: drop item\n"
+ "- I: inventory\n"
+ "- Mouse: turn/look\n"
+ "- Mouse left: dig/punch\n"
"- Mouse right: place/use\n"
"- Mouse wheel: select item\n"
- "- 0...9: select item\n"
- "- Shift: sneak\n"
- "- R: Toggle viewing all loaded chunks\n"
- "- I: Inventory menu\n"
- "- ESC: This menu\n"
- "- T: Chat\n"
+ "- T: chat\n"
);
Environment->addStaticText(text, rect, false, true, this, 258);
delete[] text;