summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert LOS algorithm to use coord_def instead of separate x,y.Robert Vollmert2009-10-111-3/+2
|
* Declare ray_def::footprint const.Robert Vollmert2009-10-101-1/+1
|
* Fix bug in ray_def::footprint.Robert Vollmert2009-10-101-4/+6
| | | | footprint was trampling on the ray's starting position.
* Move shoot_ray into ray_def.Robert Vollmert2009-10-101-24/+24
|
* Initialize ray.full_idx to -1 and remove outdated(?) valgrind intialization ↵Robert Vollmert2009-10-091-3/+2
| | | | lines.
* Comment and formatting.Robert Vollmert2009-10-091-14/+12
|
* Split LOS code from view.cc.Robert Vollmert2009-10-081-0/+345
los.cc: basic raycasting algorithm; losight(), see_grid() etc. ray.cc: ray_def implementation. mon-los.cc: monster_los This includes adding a bunch of #includes; there's probably some obsolete includes of view.h now.