summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cmd-keys.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-10 15:58:46 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-10 15:58:46 +0000
commit1d23ad9eae6203fcabc6b1f9a933174bc907f2a9 (patch)
tree8182fbaccc51eecf655ed3feda605e4fff97ad67 /crawl-ref/source/cmd-keys.h
parent383d392c17f076384fc37e631b6506739ca634fe (diff)
downloadcrawl-ref-1d23ad9eae6203fcabc6b1f9a933174bc907f2a9.tar.gz
crawl-ref-1d23ad9eae6203fcabc6b1f9a933174bc907f2a9.zip
Add an inventory-like region for the Tiles version to make spells
clickable. '_' toggles between inventory and spell display. Actual tiles are still missing, but everything works as it should. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10648 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cmd-keys.h')
-rw-r--r--crawl-ref/source/cmd-keys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/cmd-keys.h b/crawl-ref/source/cmd-keys.h
index 6f7a32c19f..d680c708ed 100644
--- a/crawl-ref/source/cmd-keys.h
+++ b/crawl-ref/source/cmd-keys.h
@@ -1,5 +1,6 @@
#ifdef USE_TILE
{'-', CMD_EDIT_PLAYER_TILE},
+{'_', CMD_TOGGLE_SPELL_DISPLAY},
#endif
{'b', CMD_MOVE_DOWN_LEFT},
{'h', CMD_MOVE_LEFT},
@@ -87,7 +88,9 @@
{'%', CMD_RESISTS_SCREEN},
{',', CMD_PICKUP},
{':', CMD_MAKE_NOTE},
+#ifndef USE_TILE
{'_', CMD_READ_MESSAGES},
+#endif
{';', CMD_INSPECT_FLOOR},
{'^', CMD_DISPLAY_RELIGION},
{'#', CMD_CHARACTER_DUMP},