summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2012-08-16 14:33:57 -0600
committerDracoOmega <draco_omega@live.com>2014-01-28 02:31:35 -0330
commit6f26326460c1aac973fdf3b69076c0a179df68fa (patch)
tree5615cc3ad61e3bc534a3e96b1430295c7b6590a5 /crawl-ref/source/mon-act.h
parentf2ee4041714a42f9b9d64681cee6b63b0269c73b (diff)
downloadcrawl-ref-6f26326460c1aac973fdf3b69076c0a179df68fa.tar.gz
crawl-ref-6f26326460c1aac973fdf3b69076c0a179df68fa.zip
Implement Portal Projectile for marksnagas in place of Leda's.
For whatever reason, extra-stable footing doesn't apply to liquefied ground, so that part of the original rationale fails; the new replacement is partly motivated by my observation that in a lot of scenarios where marksnagas turn up, the rest of the nagas in the pack tend to block their lines of fire - so this helps make them effective even in those scenarios. This is a variation of the implementation I've had floating around for a while (20f9716) updated for more modern Crawl.
Diffstat (limited to 'crawl-ref/source/mon-act.h')
-rw-r--r--crawl-ref/source/mon-act.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-act.h b/crawl-ref/source/mon-act.h
index 303999b601..9115e72561 100644
--- a/crawl-ref/source/mon-act.h
+++ b/crawl-ref/source/mon-act.h
@@ -6,6 +6,8 @@
#ifndef MONACT_H
#define MONACT_H
+struct bolt;
+
class MonsterActionQueueCompare
{
public:
@@ -19,6 +21,8 @@ bool mon_can_move_to_pos(const monster* mons, const coord_def& delta,
bool just_check = false);
bool mons_can_move_towards_target(const monster* mon);
+bool handle_throw(monster* mons, bolt &beem, bool teleport, bool check_only);
+
void handle_monsters(bool with_noise = false);
void handle_monster_move(monster* mon);