summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los_def.cc
Commit message (Collapse)AuthorAgeFilesLines
* Hack player::los for arena.Robert Vollmert2009-11-211-4/+15
| | | | | | This should fix recent arena display problems. Also fix los_def::in_bounds to translate coordinates.
* Add los_def::get_bounds.Robert Vollmert2009-11-131-0/+5
|
* Formatting; use better constant.Robert Vollmert2009-11-081-1/+1
|
* env_show_grid is now only used inside the LOS code.Robert Vollmert2009-11-081-1/+2
| | | | | It's also called los_grid, and is a SquareArray of boolean since it doesn't need to store "objects" any more.
* Replace bounds_func with circle_def.Robert Vollmert2009-11-081-13/+13
| | | | | | | The various LOS objects and functions now accept a circle_def instead of a bounds_func. This is a little less generic, but should eventually help with iterating over coordinates in any los_def.
* Split los_def implementation out into los_def.cc.Robert Vollmert2009-11-071-0/+79