summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
authorHaran Pilpel <haranp@users.sourceforge.net>2010-01-25 00:42:05 +0200
committerHaran Pilpel <haranp@users.sourceforge.net>2010-01-25 00:42:05 +0200
commit553c0cd8d1dc9edb71fdb08f1d3d3be2930663ca (patch)
tree2d85a3571e2331886111dbf7a31055b405cb117a /crawl-ref/source/spl-util.h
parent9b4a7a57aebb5b58a90f5196ec3e406412e8b6b6 (diff)
downloadcrawl-ref-553c0cd8d1dc9edb71fdb08f1d3d3be2930663ca.tar.gz
crawl-ref-553c0cd8d1dc9edb71fdb08f1d3d3be2930663ca.zip
Many more changes to direction().
1. 't' is gone. 'f' now means 'fire at target'. 2. Spells now show their name when zapping. The prompt could be improved. 3. Better messaging while 'x'ing. 4. Better 'Aim:' line. 5. Object-targetted items will show items. Object-cycling (say with ';') will display information about items, once. 6. CMD_TARGET_SHOW_PROMPT now meaningless. Should be removed soon. 7. Better top prompt for some commands (e.g. Sunlight, ordering allies to attack.)
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index a1738c17a9..284c5b679d 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -114,7 +114,9 @@ bool spell_direction( dist &spelld, bolt &pbolt,
// pbolt.range if applicable, otherwise LOS_RADIUS
int range = 0,
bool needs_path = true, bool may_target_monster = true,
- bool may_target_self = false, const char *prompt = NULL,
+ bool may_target_self = false,
+ const char *target_prefix = NULL,
+ const char *prompt = NULL,
bool cancel_at_self = false );
int spell_type2skill (unsigned int which_spelltype);