summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-18 18:02:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-18 18:02:50 +0000
commitf0f421c33bf731481df19d98b4c24c57a007d9f7 (patch)
tree08b009dc8d903bb1a1d6fadf04137a79a33494de /crawl-ref/source/beam.h
parent0c2b9c3ea74546bf1046df0a107188c768dfa324 (diff)
downloadcrawl-ref-f0f421c33bf731481df19d98b4c24c57a007d9f7.tar.gz
crawl-ref-f0f421c33bf731481df19d98b4c24c57a007d9f7.zip
* Force ?immolation to never burn scrolls, whether in inventory or on
the floor. * List new amount of charges when recharging identified wands. * Tweak some checks for travel_path to be on the safe side. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6834 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 55ab6c6703..e062a78c5e 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -188,7 +188,8 @@ int explosion( bolt &pbolt, bool hole_in_the_middle = false,
bool explode_in_wall = false,
bool stop_at_statues = true,
bool stop_at_walls = true,
- bool show_more = true);
+ bool show_more = true,
+ bool affect_items = true);
// last updated 22jan2001 {gdl}
/* ***********************************************************************
@@ -239,7 +240,8 @@ bool zapping( zap_type ztype, int power, struct bolt &pbolt,
bool player_tracer( zap_type ztype, int power, struct bolt &pbolt,
int range = 0 );
-int affect(bolt &beam, const coord_def& p, item_def *item = NULL);
+int affect(bolt &beam, const coord_def& p, item_def *item = NULL,
+ bool affect_items = true);
void beam_drop_object( bolt &beam, item_def *item, const coord_def& where );