Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix compilation on gcc. | Adam Borowski | 2009-11-18 | 1 | -0/+3 |
| | |||||
* | Fix circle_def's ignoring global LOS radius. | Robert Vollmert | 2009-11-18 | 1 | -1/+2 |
| | | | | | | circle_def::contains was disregarding the los_radius field. This led to lantern of shadows not working (reported by peten on ##crawl). | ||||
* | Add translating constructor to circle_def. | Robert Vollmert | 2009-11-13 | 1 | -0/+13 |
| | |||||
* | Make circle_def aware of map bounds. | Robert Vollmert | 2009-11-13 | 1 | -0/+4 |
| | | | | | circle_def now has two modes, depending on whether origin is set. This is a little ugly. | ||||
* | Add method to intersect rectangles. | Robert Vollmert | 2009-11-13 | 1 | -0/+15 |
| | | | | | Also define rectangle RECT_MAP_BOUNDS and add containment check to rect_def. | ||||
* | Reimplement radius_iterator on the basis of circle_def. | Robert Vollmert | 2009-11-13 | 1 | -29/+10 |
| | |||||
* | coord-circle.cc: set radius_sq before use | Matthew Cline | 2009-11-11 | 1 | -1/+1 |
| | |||||
* | Create coord-circle.cc containing circle_def. | Robert Vollmert | 2009-11-08 | 1 | -0/+106 |
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. |