summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.h
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-04-08 20:43:00 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-04-12 20:51:15 -0400
commit766729b656dec57abae4f0d41367a2f00e5b4ec4 (patch)
tree65c5f86f3a245549667627e151e81195cd43dcdb /crawl-ref/source/mon-behv.h
parent53eb3cf6e3870b5bbce99d3221f34cd08e16d034 (diff)
downloadcrawl-ref-766729b656dec57abae4f0d41367a2f00e5b4ec4.tar.gz
crawl-ref-766729b656dec57abae4f0d41367a2f00e5b4ec4.zip
Move mon death stuff from mon-stuff.cc to mon-death.cc.
Touches a lot of files since their #includes have to be edited. (Pushing now since it shouldn't break anything and keeping it updated is nasty.)
Diffstat (limited to 'crawl-ref/source/mon-behv.h')
-rw-r--r--crawl-ref/source/mon-behv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-behv.h b/crawl-ref/source/mon-behv.h
index 9da719caa7..dcaf659034 100644
--- a/crawl-ref/source/mon-behv.h
+++ b/crawl-ref/source/mon-behv.h
@@ -20,6 +20,17 @@ enum mon_event_type
ME_HURT, // lost some HP (by any mean)
};
+struct level_exit
+{
+ coord_def target;
+ bool unreachable;
+
+ level_exit(coord_def t = coord_def(-1, -1), bool u = true)
+ : target(t), unreachable(u)
+ {
+ }
+};
+
class monster;
struct coord_def;