summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-27 17:57:40 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-27 17:57:40 +0100
commit9368f57866c8d62ed9927410e2a2230e0a1c3b54 (patch)
tree25df4e8d7de1d8fdd68e29d28612b7871de1c890 /crawl-ref/source/mgen_data.cc
parent21e5d28ecd75a26f2f3aa6ba871bdcf0ad61870b (diff)
downloadcrawl-ref-9368f57866c8d62ed9927410e2a2230e0a1c3b54.tar.gz
crawl-ref-9368f57866c8d62ed9927410e2a2230e0a1c3b54.zip
Remove header includes from mon-place.h.
Diffstat (limited to 'crawl-ref/source/mgen_data.cc')
-rw-r--r--crawl-ref/source/mgen_data.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/mgen_data.cc b/crawl-ref/source/mgen_data.cc
new file mode 100644
index 0000000000..23553f056d
--- /dev/null
+++ b/crawl-ref/source/mgen_data.cc
@@ -0,0 +1,10 @@
+#include "AppHdr.h"
+
+#include "mgen_data.h"
+
+#include "coord.h"
+
+bool mgen_data::use_position() const
+{
+ return (in_bounds(pos));
+}