summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fprop.h
Commit message (Collapse)AuthorAgeFilesLines
* Add FPROP_NO_TIDE to tell the tide not to touch certain squares.Darshan Shaligram2010-01-171-6/+11
| | | | 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/+1
| | | | | | | | | | | | | 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.
* Remove FPROP_FORCE_EXCLUDE.Robert Vollmert2009-12-021-1/+1
| | | | | It's not used anymore, and has issues, such as revealing information on the level map.
* Counterpart fprop for NO_RTELE_INTO: NO_CTELE_INTO.Jude Brown2009-11-231-1/+3
| | | | | | | | | | | | NO_CTELE_INTO causes grid-cells marked as such to reject controlled teleport into them, with the message: "A strong magical force throws you back!". NO_TELE_INTO combines both of these flags (NO_RTELE_INTO and NO_CTELE_INTO) to prevent both controlled and random teleports into a specific cell. Also document both of these.
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-0/+23
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.