summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
Commit message (Expand)AuthorAgeFilesLines
* Remove some newly-dead geometry code.Neil Moore2014-01-091-15/+0
* Refactor ASSERT(a && b) againBrendan Hickey2013-11-151-1/+2
* More formatting fixes for return (...);Neil Moore2013-11-151-9/+9
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-1/+1
* Improve a comment.Neil Moore2013-09-241-2/+2
* Fix a chaos bounce crash (#5892).Neil Moore2013-09-061-8/+20
* Use std namespace.Raphael Langella2012-08-261-1/+1
* Some more return deparenthesization.Adam Borowski2012-07-051-2/+2
* Remove parentheses around return (simple_function_call).Adam Borowski2012-07-051-6/+6
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-14/+14
* Drop pointless braces after if/for/while everywhere.Adam Borowski2012-04-201-2/+0
* Whitespace fixes.Adam Borowski2011-12-111-1/+1
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-4/+4
* For functions with names starting with _, actually declare them static.Adam Borowski2010-07-061-8/+8
* "make ASSERTS=y" to force assertion checks even in non-debug builds.Adam Borowski2010-03-301-1/+1
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
* 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