Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New Lua library: feat. | Jude Brown | 2009-11-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | Provides wrappers for all of the feat_is_XXX functions from terrain.cc, as well as a few other functions. Also provides a macro which can wrap a function to take: * a set of co-ordinates (parsed with grd(coord_def(x, y))) * a string (parsed with dungeon_feature_by_name) * an integer (cast into dungeon_feature_type, can be fetched from dgn.grid(x, y)) All of the feat library functions can be used in this manner. For example: * feat.is_wall(x, y) * feat.is_wall(dgn.grid(x, y)) * feat.is_wall(7) * feat.is_wall("rock_wall") | ||||
* | Split debug lua bindings out to new library "debug". | Robert Vollmert | 2009-10-20 | 1 | -5/+5 |
| | |||||
* | Globally replace see_grid by see_cell. | Robert Vollmert | 2009-10-17 | 1 | -1/+1 |
| | |||||
* | Correct findray test. | Robert Vollmert | 2009-10-14 | 1 | -9/+10 |
| | | | | | Now only targets cells that are not blocked by transparent walls etc. find_ray can't currently check for real visibility. | ||||
* | Add test for find_ray. | Robert Vollmert | 2009-10-14 | 1 | -0/+83 |
Tests for the existence of unobstructed rays to points within LOS. |