summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test/los_symm.lua
Commit message (Collapse)AuthorAgeFilesLines
* Split debug lua bindings out to new library "debug".Robert Vollmert2009-10-201-4/+4
|
* Globally replace see_grid by see_cell.Robert Vollmert2009-10-171-2/+2
|
* Split and correct grid_see_grid.Robert Vollmert2009-10-081-1/+1
| | | | | | | | | | | | | | | There's now cell_see_cell which tests for visibility correctly, albeit slowly. That's only used for placing features in the abyss currently, but needs to be improved if it gets used more. The second function used in monster movement was left as is, but renamed to can_go_straight. This remains unreliable but probably serves its purpose. The grid_see_grid test is adapted to cell_see_cell; the grid_see_grid lua binding is now actually useful. Also reduce the number of tests in los_csc and los_symm.
* Add test to compare LOS against sample maps.Robert Vollmert2009-10-071-0/+67
New test cases can be added by adding appropriate maps to debug-los.des. Also separate the LOS tests into three separate files.