summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgngrd.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.David Lawrence Ramsey2009-11-061-2/+2
|
* Ensure that, if Jiyva is dead, no Jiyva altars can be placed in vaults.David Lawrence Ramsey2009-11-061-1/+9
|
* Get rid of multiple-meaning "int object" in env.show.Robert Vollmert2009-11-041-2/+2
| | | | | | | | | | | | | env.show is now a class show_def that stores tagged unions of type show_type. For the moment, there's also env.show_los for use in LOS determination, but that should become an array of boolean at some point. This breaks save compatibility. Tiles and console version build and appear to work fine, but this kind of change is likely to have some side-effects.
* Restore lua binding for in_bounds.Robert Vollmert2009-11-031-0/+10
| | | | It's now in the more fitting l_dgngrd.cc.
* Lua distance bindings, Volcano tweaks, FogMachine message tweaks.Jude Brown2009-11-011-0/+9
| | | | | | | | | | New binding for coord.cc's distance functions (dgn.distance(x1, y1, x2, y2)), lua function "point_in_radius", accepts two dgn.point functions and a radius and returns true if point1 is in radius around point2. Extensive tweaks to FogMachine warning messages: most now accept a "see function" as the final parameter, which should take two parameters: an x and a y. The function should return true if the player can "see" this point. Finally, tweaks to Volcanoes: utilise see_function and dgn.point_in_radius to provide better warning for lake. Utilise greensnark's new slave/master system for chaining FogMachines together in Bunker and Village. Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
* Splitting up stuff.cc.Robert Vollmert2009-10-301-1/+2
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Rename Chronos to Cheibriados. (Jude Brown)David Ploog2009-10-231-1/+1
|
* Allow vaults to place altars of Chronos.David Ploog2009-10-221-1/+1
|
* Move more macros and functions to cluautil.cc.Robert Vollmert2009-10-211-1/+2
|
* Move utility functions from clua.cc to cluautil.cc.Robert Vollmert2009-10-211-0/+1
| | | | | | | | cluautil.cc should eventually contain all of the functions for passing objects from and to lua, at least the shared ones. Also cut down on clua.cc include list.
* cosmetic: strip trailing whitespaceSteven Noonan2009-10-201-15/+15
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Move clua crawl_lib from clua to l_crawl.cc.Robert Vollmert2009-10-201-1/+1
| | | | To avoid name clashes, rename dlua libs from *_lib to *_dlib.
* Split out grid and feature-related bindings.Robert Vollmert2009-10-201-0/+245