summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-08 21:23:15 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-08 21:23:15 +0000
commit89cc8c5fc577431da1bf48c79be1726d3ec095ba (patch)
treed7f42f14bb9ae940045551484295f103afc1d60d /crawl-ref/source/items.cc
parent6760ab3170033b2ecceb6ced51e2de7a5d78d6fe (diff)
downloadcrawl-ref-89cc8c5fc577431da1bf48c79be1726d3ec095ba.tar.gz
crawl-ref-89cc8c5fc577431da1bf48c79be1726d3ec095ba.zip
Tiles:
* (Re?)allow mouseclicks in menus (Tiles, only): L-click = scroll down, R-click = Esc * Clear last_clicked_grid if you move your mouse. * When entering a new level, draw the map before handling monster shouts. Enne, please review the changes. Thanks! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9386 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 50fca9f162..566fb08874 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1252,7 +1252,13 @@ void pickup()
if (keyin != 'a')
{
- mprf(MSGCH_PROMPT, "Pick up %s? (y/n/a/*?g,/q)",
+ std::string prompt = "Pick up %s? ("
+#ifdef USE_TILE
+ "Left-click to enter menu, or press "
+#endif
+ "y/n/a/*?g,/q)";
+
+ mprf(MSGCH_PROMPT, prompt.c_str(),
get_message_colour_tags(mitm[o], DESC_NOCAP_A,
MSGCH_PROMPT).c_str());