Update default controls in README and pause menu

This commit is contained in:
PilzAdam 2013-05-07 14:40:13 +02:00
parent 03ab6aa24c
commit 7b41f54411
2 changed files with 19 additions and 15 deletions

View File

@ -30,13 +30,17 @@ This game is not finished
Default Controls Default Controls
----------------- -----------------
- WASD: Move - WASD: move
- Space: Jump - Space: jump/climb
- E: Go down - Shift: sneak/go down
- Shift: Sneak - Q: drop item
- Q: Drop item - I: inventory
- I: Open inventory - Mouse: turn/look
- 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. - Settable in the configuration file, see the section below.
Paths Paths

View File

@ -168,16 +168,16 @@ void GUIPauseMenu::regenerateGui(v2u32 screensize)
core::rect<s32> rect(0, 0, 180, 240); core::rect<s32> rect(0, 0, 180, 240);
rect = rect + v2s32(size.X/2 + 90, size.Y/2-rect.getHeight()/2); rect = rect + v2s32(size.X/2 + 90, size.Y/2-rect.getHeight()/2);
wchar_t* text = wgettext("Default Controls:\n" wchar_t* text = wgettext("Default Controls:\n"
"- WASD: Walk\n" "- WASD: move\n"
"- Mouse left: dig/hit\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 right: place/use\n"
"- Mouse wheel: select item\n" "- Mouse wheel: select item\n"
"- 0...9: select item\n" "- T: chat\n"
"- Shift: sneak\n"
"- R: Toggle viewing all loaded chunks\n"
"- I: Inventory menu\n"
"- ESC: This menu\n"
"- T: Chat\n"
); );
Environment->addStaticText(text, rect, false, true, this, 258); Environment->addStaticText(text, rect, false, true, this, 258);
delete[] text; delete[] text;