summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 18:28:38 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 18:28:38 +0000
commit60bdc5258f24366aa9031738183841edafc8572b (patch)
treecffdcbe6cef4efd9d18e3f203e21cb67d075d8ad /crawl-ref/source/item_use.h
parente9c382cd386ff8f33a2927af3a7c6690abc9fdae (diff)
downloadcrawl-ref-60bdc5258f24366aa9031738183841edafc8572b.tar.gz
crawl-ref-60bdc5258f24366aa9031738183841edafc8572b.zip
Implement the returning brand for ammunition. This mostly uses the same
code as weapons of returning, but such ammunition has the same chance of being randomly destroyed when thrown as non-returning ammunition. Note that the brand is not actually generated anywhere yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3024 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index f38953bb12..e191c6833d 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -170,6 +170,8 @@ bool enchant_weapon( enchant_stat_type which_stat, bool quiet = false );
bool throw_it(bolt &pbolt, int throw_2, bool teleport=false, int acc_bonus=0,
dist *target = NULL);
+bool thrown_object_destroyed( item_def *item, int x, int y, bool returning );
+
void inscribe_item();
int launcher_shield_slowdown(const item_def &launcher,
const item_def *shield);