summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coord-circle.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-03-24 16:30:31 -0400
committerSamuel Bronson <naesten@gmail.com>2013-03-24 16:30:31 -0400
commit9826b8029a10c3c3d1cb9e2299811d8720510f26 (patch)
tree00ba9151944569787cf4475b55fdc387b0a0172b /crawl-ref/source/coord-circle.h
parentfe444ccd2c5713bbae4402149d67ae468dfd33dc (diff)
downloadcrawl-ref-9826b8029a10c3c3d1cb9e2299811d8720510f26.tar.gz
crawl-ref-9826b8029a10c3c3d1cb9e2299811d8720510f26.zip
More PURE, and introduce REALLYPURE as well.
Diffstat (limited to 'crawl-ref/source/coord-circle.h')
-rw-r--r--crawl-ref/source/coord-circle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/coord-circle.h b/crawl-ref/source/coord-circle.h
index 9228934cb9..eff4f9c35a 100644
--- a/crawl-ref/source/coord-circle.h
+++ b/crawl-ref/source/coord-circle.h
@@ -29,8 +29,8 @@ public:
rect_def(const coord_def &min_, const coord_def &max_)
: min(min_), max(max_) {}
- bool contains(const coord_def& p) const;
- rect_def intersect(const rect_def& other) const;
+ bool contains(const coord_def& p) const PURE;
+ rect_def intersect(const rect_def& other) const PURE;
rectangle_iterator iter() const;
};
@@ -71,9 +71,9 @@ public:
// Circle around given origin of specified shape and size.
circle_def(const coord_def &origin_, int param, circle_type ctype = C_SQUARE);
- bool contains(const coord_def &p) const;
- const rect_def& get_bbox() const;
- const coord_def& get_center() const;
+ bool contains(const coord_def &p) const PURE;
+ const rect_def& get_bbox() const PURE;
+ const coord_def& get_center() const PURE;
circle_iterator iter() const;