summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
Commit message (Expand)AuthorAgeFilesLines
* Add formatting fixes.David Lawrence Ramsey2009-11-211-2/+2
* Convert reflect_grid to SquareArray.Robert Vollmert2009-11-081-12/+12
* Put DJGPP's round() into a #define so other builds don't suffer.Adam Borowski2009-11-061-2/+2
* Standard <cmath> has no round().Adam Borowski2009-11-061-2/+2
* A variety of changes to make the reflection code more robust.Robert Vollmert2009-11-051-20/+76
* Add get_degrees and set_degrees to ray_def; reenable chaos bolt munging.Robert Vollmert2009-11-031-0/+11
* Split up ray_def::bounce and implement better corner handling.Robert Vollmert2009-11-031-58/+144
* Improve reflections when starting in a corner.Robert Vollmert2009-11-031-8/+8
* Move regress next to advance.Robert Vollmert2009-11-031-9/+9
* Also assert validity in ray_def::pos().Robert Vollmert2009-11-031-0/+1
* Fix a bug with corner rays.Robert Vollmert2009-11-031-7/+28
* Add function to fudge corner ray into a non-solid cell.Robert Vollmert2009-11-031-0/+22
* Split _mirror into point and direction parts.Robert Vollmert2009-11-031-10/+22
* Add round_vec.Robert Vollmert2009-11-031-3/+8
* Bug fixes.Robert Vollmert2009-11-031-1/+1
* ray_def::bounce now guarantees it leaves the ray in a clear tile.Robert Vollmert2009-11-031-12/+7
* Add pre- and post-asserts to ray_def::regress.Robert Vollmert2009-11-031-0/+2
* Fix bugs in diagonal corridor reflections.Robert Vollmert2009-11-031-2/+2
* Move reflection line choice into separate function.Robert Vollmert2009-11-031-45/+52
* Implement diagonal corridor reflections.Robert Vollmert2009-11-031-3/+13
* Possibly fix diagonal corridor asserts.Robert Vollmert2009-11-031-1/+2
* Fix diagonal corner case leaving the ray on the boundary.Robert Vollmert2009-11-031-0/+1
* Refine ray_def assertions.Robert Vollmert2009-11-031-3/+22
* Make ray.cc ASSERTs a little safer.Robert Vollmert2009-11-021-10/+32
* Some changes to the reflection details.Robert Vollmert2009-11-011-15/+25
* Permit rays to go from diamond directly to diamond.Robert Vollmert2009-11-011-1/+1
* Implement reflection (except for the diagonal corridor case).Robert Vollmert2009-11-011-12/+145
* Simplify geom2d ray advance code.Robert Vollmert2009-11-011-5/+6
* Add a bunch of ASSERTs to ray.cc.Robert Vollmert2009-11-011-1/+43
* Change ray_def bouncing interface.Robert Vollmert2009-11-011-1/+1
* Some geom2d changes.Robert Vollmert2009-11-011-3/+3
* Make nextcell and movehalfcell methods of geom::ray.Robert Vollmert2009-11-011-4/+4
* ray_def introductory comment.Robert Vollmert2009-11-011-2/+10
* Change corner handling.Robert Vollmert2009-11-011-3/+29
* Replace ray_def by a version using "diamond rays".Robert Vollmert2009-11-011-181/+18
* Remove get/set_degrees from ray_def.Robert Vollmert2009-11-011-41/+0
* Remove ray antialiasing.Robert Vollmert2009-11-011-38/+3
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
* Remove obsolete copy of footprint().Robert Vollmert2009-10-181-21/+0
* Naming consistency.Robert Vollmert2009-10-171-3/+3
* Rewrite find_ray to use precomputed cellrays.Robert Vollmert2009-10-161-1/+1
* Replace quadrants by signs.Robert Vollmert2009-10-141-81/+45
* Clean up.Robert Vollmert2009-10-141-4/+4
* Make advance direction and quadrants explicit as enums.Robert Vollmert2009-10-111-45/+44
* More ray_def simplification.Robert Vollmert2009-10-111-32/+18
* Some more ray_def cleanup.Robert Vollmert2009-10-111-19/+18
* Simplify quadrant mirroring in ray_def::raw_advance.Robert Vollmert2009-10-111-8/+8
* Use floor() instead of static_cast<int> for rounding.Robert Vollmert2009-10-111-5/+25
* Move _find_next_intercept into ray_def.Robert Vollmert2009-10-111-85/+82
* Formatting.Robert Vollmert2009-10-111-9/+9