summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fprop.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add FPROP_NO_TIDE to tell the tide not to touch certain squares.Darshan Shaligram2010-01-171-3/+8
| | | | Wizmode &( now accepts fprop names to set the fprop on the current square.
* Code to alter/check feature properties in Lua.Jude Brown2010-01-171-0/+18
| | | | | | | | | | | | | This commit moves str_to_fprop from initfile.cc to fprop.cc. It also introduces two new dungeon Lua wrappers: fprop_changed(x, y, fprop), and fprop_at(x, y, fprop). fprop_at(x, y, fprop) will return testbits(coord_def(x, y), fprop). fprop_changed will either add the fprop to that location, or if it already exists there, it will remove it from that location. It will returrn a boolean value of true if it altered the location, and false if it did nothing.
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-0/+25
map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.