Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-22 18:36:29 +0000
committerStijn Buys <ingar@osirion.org>2012-01-22 18:36:29 +0000
commit847c8a634635d63406df032bbbc38a1fb7c52aca (patch)
treebf8d65a4422be4d14b9e7517261857585bd0725e
parent3c8f200dd83d18839c8205ed630a104d67e0807d (diff)
Changed default key binds for the map and the inventory windows,
added default key binds for quick save and quick load.
-rw-r--r--src/client/keyboard.cc10
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);