summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test/los_csc.lua
Commit message (Collapse)AuthorAgeFilesLines
* Split debug lua bindings out to new library "debug".Robert Vollmert2009-10-201-4/+4
|
* Move cell_see_cell from dgn_lib to los_lib.Robert Vollmert2009-10-191-2/+2
|
* Split and correct grid_see_grid.Robert Vollmert2009-10-081-0/+60
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.