summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cmd-keys.h
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-12 10:57:06 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-12 10:57:06 -0400
commitba3409b66cc051ae155dc79646f8cb958c4b1152 (patch)
treecb2215c4f9686174cbfd439028c68b0b73003156 /crawl-ref/source/cmd-keys.h
parent0f8d0247443b40339d0a74fb722f003ed6e5c0ee (diff)
downloadcrawl-ref-ba3409b66cc051ae155dc79646f8cb958c4b1152.tar.gz
crawl-ref-ba3409b66cc051ae155dc79646f8cb958c4b1152.zip
New command: show weapons in viewport.
If a monster has a weapon, and you press ctrl-t (by default), you will see, instead of its normal glyph, the glyph for the weapon it is holding. Since this information is already available with 'x' and even more easily in tiles, it's just an interface improvement, and as far as I can tell in my tests there is no information leaked.
Diffstat (limited to 'crawl-ref/source/cmd-keys.h')
-rw-r--r--crawl-ref/source/cmd-keys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/cmd-keys.h b/crawl-ref/source/cmd-keys.h
index bfe6ae0739..d5b71d4bad 100644
--- a/crawl-ref/source/cmd-keys.h
+++ b/crawl-ref/source/cmd-keys.h
@@ -119,6 +119,7 @@
{'(', CMD_CYCLE_QUIVER_BACKWARD},
{')', CMD_CYCLE_QUIVER_FORWARD},
{CONTROL('V'), CMD_TOGGLE_VIEWPORT_MONSTER_HP},
+{CONTROL('T'), CMD_TOGGLE_VIEWPORT_WEAPONS},
{'\\', CMD_DISPLAY_KNOWN_OBJECTS},
{'}', CMD_DISPLAY_RUNES},
{'\'', CMD_WEAPON_SWAP},