summaryrefslogtreecommitdiff
path: root/setup/keyboard.h
diff options
context:
space:
mode:
authorSimon Howard2009-06-05 16:58:48 +0000
committerSimon Howard2009-06-05 16:58:48 +0000
commite3e71290f86c785a29ec6b9eeb609c7625776255 (patch)
tree81f1836604fd90202bc68dd5ade35baf3e50696e /setup/keyboard.h
parentb30d83c55a749994d95ebe4d7320db6db3bd43da (diff)
downloadchocolate-doom-e3e71290f86c785a29ec6b9eeb609c7625776255.tar.gz
chocolate-doom-e3e71290f86c785a29ec6b9eeb609c7625776255.tar.bz2
chocolate-doom-e3e71290f86c785a29ec6b9eeb609c7625776255.zip
Add key binding variables for automap and weapon keys.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1551
Diffstat (limited to 'setup/keyboard.h')
-rw-r--r--setup/keyboard.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/setup/keyboard.h b/setup/keyboard.h
index 19ce7147..29ff2a1a 100644
--- a/setup/keyboard.h
+++ b/setup/keyboard.h
@@ -35,6 +35,8 @@ extern int key_speed;
extern int joybspeed;
extern int vanilla_keyboard_mapping;
+// Menu keys:
+
extern int key_menu_activate;
extern int key_menu_up;
extern int key_menu_down;
@@ -60,6 +62,32 @@ extern int key_menu_gamma;
extern int key_menu_incscreen;
extern int key_menu_decscreen;
+// Automap keys:
+
+extern int key_map_north;
+extern int key_map_south;
+extern int key_map_east;
+extern int key_map_west;
+extern int key_map_zoomin;
+extern int key_map_zoomout;
+extern int key_map_toggle;
+extern int key_map_maxzoom;
+extern int key_map_follow;
+extern int key_map_grid;
+extern int key_map_mark;
+extern int key_map_clearmark;
+
+// Weapon keys:
+
+extern int key_weapon1;
+extern int key_weapon2;
+extern int key_weapon3;
+extern int key_weapon4;
+extern int key_weapon5;
+extern int key_weapon6;
+extern int key_weapon7;
+extern int key_weapon8;
+
void ConfigKeyboard(void);
#endif /* #ifndef SETUP_KEYBOARD_H */