diff options
author | Stijn Buys <ingar@osirion.org> | 2012-01-22 18:36:29 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-01-22 18:36:29 +0000 |
commit | 847c8a634635d63406df032bbbc38a1fb7c52aca (patch) | |
tree | bf8d65a4422be4d14b9e7517261857585bd0725e /src | |
parent | 3c8f200dd83d18839c8205ed630a104d67e0807d (diff) |
Changed default key binds for the map and the inventory windows,
added default key binds for quick save and quick load.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/keyboard.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index c2b3827..62032b8 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -121,11 +121,11 @@ Keyboard::Keyboard() add_key("f", SDLK_f, 'f', "+strafedown"); add_key("g", SDLK_g, 'g'); add_key("h", SDLK_h, 'h'); - add_key("i", SDLK_i, 'i'); + add_key("i", SDLK_i, 'i', "ui_inventory"); add_key("j", SDLK_j, 'j'); add_key("k", SDLK_k, 'k'); add_key("l", SDLK_l, 'l'); - add_key("m", SDLK_m, 'm'); + add_key("m", SDLK_m, 'm', "ui_map"); key = add_key("n", SDLK_n, 'n', "target_next"); key->assign(Key::Shift, "target_prev"); key->assign(Key::Ctrl, "target_none"); @@ -182,11 +182,11 @@ Keyboard::Keyboard() #ifdef _WIN32 key->assign(Key::Alt, "quit"); #endif - add_key("f5", SDLK_F5, 0, "ui_inventory"); - add_key("f6", SDLK_F6, 0, "ui_map"); + add_key("f5", SDLK_F5, 0, "savegame"); + add_key("f6", SDLK_F6); add_key("f7", SDLK_F7); add_key("f8", SDLK_F8); - add_key("f9", SDLK_F9); + add_key("f9", SDLK_F9, 0, "loadgame"); add_key("f10", SDLK_F10); add_key("f11", SDLK_F11); add_key("f12", SDLK_F12); |