summaryrefslogtreecommitdiff
path: root/src/guiKeyChangeMenu.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2011-11-27 05:01:38 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:54 +0200
commitf42c57d9a885450014cadd56a0eaf7c79eefebf4 (patch)
tree2ad93e18ac16b4b8c362a58ce046cb18be4d3e00 /src/guiKeyChangeMenu.h
parent82a460ec90b4537926f31603219504bce8817ac2 (diff)
downloadminetest-f42c57d9a885450014cadd56a0eaf7c79eefebf4.tar.gz
minetest-f42c57d9a885450014cadd56a0eaf7c79eefebf4.tar.bz2
minetest-f42c57d9a885450014cadd56a0eaf7c79eefebf4.zip
Add IDropAction and related stuff
Diffstat (limited to 'src/guiKeyChangeMenu.h')
-rw-r--r--src/guiKeyChangeMenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guiKeyChangeMenu.h b/src/guiKeyChangeMenu.h
index 2e8773a77..a3d8b4743 100644
--- a/src/guiKeyChangeMenu.h
+++ b/src/guiKeyChangeMenu.h
@@ -45,6 +45,7 @@ enum
GUI_ID_KEY_CHAT_BUTTON,
GUI_ID_KEY_CMD_BUTTON,
GUI_ID_KEY_SNEAK_BUTTON,
+ GUI_ID_KEY_DROP_BUTTON,
GUI_ID_KEY_INVENTORY_BUTTON,
GUI_ID_KEY_DUMP_BUTTON,
GUI_ID_KEY_RANGE_BUTTON
@@ -82,6 +83,7 @@ private:
gui::IGUIButton *use;
gui::IGUIButton *sneak;
gui::IGUIButton *jump;
+ gui::IGUIButton *dropbtn;
gui::IGUIButton *inventory;
gui::IGUIButton *fly;
gui::IGUIButton *fast;
@@ -98,6 +100,7 @@ private:
KeyPress key_use;
KeyPress key_sneak;
KeyPress key_jump;
+ KeyPress key_drop;
KeyPress key_inventory;
KeyPress key_fly;
KeyPress key_fast;