From 89cc8c5fc577431da1bf48c79be1726d3ec095ba Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 8 Mar 2009 21:23:15 +0000 Subject: 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 --- crawl-ref/source/items.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/items.cc') 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()); -- cgit v1.2.3-54-g00ecf