summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_feat.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-0/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* l_feat.cc was missing is_lavaPete Hurst2013-01-281-0/+2
|
* Runed doors.Adam Borowski2012-08-311-0/+2
| | | | | | They're meant to stop autoexplore, and maybe request a confirmation for being opened. This is not yet implemented, but we can use them for converting secret doors that were used for marking a place as interesting.
* Drop the code for displaying/handling/etc secret doors.Adam Borowski2012-07-111-4/+0
|
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-1/+1
|
* Simplify closing portals during the Orb run; handle portals in Pan.Adam Borowski2012-04-071-2/+0
| | | | | How can you get into Pan with the orb, is another question... the old code did try to handle them but assumed only portals there are exits through Pan.
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-4/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Remove dungeon.h #include from files that don't need it.Vsevolod Kozlov2010-12-141-1/+0
| | | | Breaks neither debug nor normal build for me, so I guess it's okay.
* Remove libutil.h from AppHdr.h and include explicitly.Robert Vollmert2010-01-201-0/+1
| | | | | | | Also extract unwind_var template to unwind.h. The latter is now included from AppHdr.h, though it needn't really be. This means it's now possible to use coord_def in libutil.h.
* Allow tiles to destroy only some items.Stefan O'Rear2009-12-301-3/+2
|
* A start at a dLua spells library.Jude Brown2009-12-251-1/+1
| | | | | | | | | | | Provides wrappers for non-player Toxic Radiance and Ozocubu's Refrigeration. These are basically just an adjustment of kill categories and messages to allow them to be used as background effects in WizLabs (Ozocubu's and Olgreb's). Hopefully a wrapper for monster (and possibly player)-cast bolt structures can also be included, which could then be accessed with the (planned) Lua traps functionality.
* Extend lua feat library for feat_is_door.Jude Brown2009-12-191-0/+2
|
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* New Lua library: feat.Jude Brown2009-11-271-0/+87
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")