diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-14 03:22:37 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-14 03:22:37 +0200 |
commit | 96b90b26cc339a2f12eacc082b4d597cbedadfce (patch) | |
tree | 8b243af35716b2247662a781ad2733f459ff0517 /crawl-ref/source/throw.h | |
parent | f5e878c9838646399aaa13d392554dd389ed8899 (diff) | |
download | crawl-ref-96b90b26cc339a2f12eacc082b4d597cbedadfce.tar.gz crawl-ref-96b90b26cc339a2f12eacc082b4d597cbedadfce.zip |
Move monster throw code as well.
It rides the same cow as player throwing -- and both deserve to be shot and
redone from scratch, with a stress on making the formulas sane.
Diffstat (limited to 'crawl-ref/source/throw.h')
-rw-r--r-- | crawl-ref/source/throw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/throw.h b/crawl-ref/source/throw.h index 6741076cd1..b99ca570f2 100644 --- a/crawl-ref/source/throw.h +++ b/crawl-ref/source/throw.h @@ -53,4 +53,7 @@ int launcher_final_speed(const item_def &launcher, const item_def *shield, bool scaled = true); void merge_ammo_in_inventory(int slot); + +void setup_monster_throw_beam(monster* mons, struct bolt &beam); +bool mons_throw(monster* mons, struct bolt &beam, int msl); #endif |