summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coord-circle.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop the now unused circle_iterator.Adam Borowski2013-12-021-3/+0
| | | | It turns out it was only an implementation detail of radius_iterator.
* Eradicate C_SQUARE/SH_SQUARE.Adam Borowski2013-11-051-14/+2
| | | | | circle_def can now be replaced by just a center + radius instead of a complex object.
* Shave some words off a few datatypes.Samuel Bronson2013-10-171-4/+4
| | | | (I wonder if this saves even one kilobyte?)
* More PURE, and introduce REALLYPURE as well.Samuel Bronson2013-03-241-5/+5
|
* Bring sanity to enums by making them diffable/patchable.Adam Borowski2010-06-081-2/+2
|
* Fix horrible coord-circle origin hack.Robert Vollmert2010-03-281-5/+7
| | | | | | | | | | | It's now tracking whether to check map_bounds explicitly; this is enabled or not depending on the used constructor. Fixes issue #1191 (crash on Shoals 5 when drawing water tiles near (0,0), where (0,0) had been magically detected. I'm not confident this doesn't cause other issues, however, since it seems too easy.
* Some coord-circle.h documentation.Robert Vollmert2009-11-131-3/+17
|
* Add translating constructor to circle_def.Robert Vollmert2009-11-131-0/+3
|
* Add method to intersect rectangles.Robert Vollmert2009-11-131-0/+5
| | | | | Also define rectangle RECT_MAP_BOUNDS and add containment check to rect_def.
* Reimplement radius_iterator on the basis of circle_def.Robert Vollmert2009-11-131-17/+2
|
* Create coord-circle.cc containing circle_def.Robert Vollmert2009-11-081-0/+76
circle_def unifies the shapes that a radius_iterator can iterate over. It's meant to replace bounds_func in losparam.h and eventually provide a base for radius_iterator.