summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.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/mstuff2.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/mstuff2.h')
-rw-r--r--crawl-ref/source/mstuff2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mstuff2.h b/crawl-ref/source/mstuff2.h
index 25cc10a3bf..ac2877a041 100644
--- a/crawl-ref/source/mstuff2.h
+++ b/crawl-ref/source/mstuff2.h
@@ -65,6 +65,9 @@ void setup_mons_cast(const monsters *monster, bolt &pbolt, int spell_cast);
* *********************************************************************** */
bool mons_throw(struct monsters *monster, struct bolt &pbolt, int hand_used);
+bool mons_thrown_object_destroyed( item_def *item, int x, int y,
+ bool returning, int midx );
+
// last updated 07jan2001 (gdl)
/* ***********************************************************************
* called from: monstuff