summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cluautil.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix Shoal:$ generation bugs: stairs could be surrounded by deep water, hut ↵Darshan Shaligram2010-01-051-2/+6
| | | | | | entrances could be blocked by rock. shoal-hut.lua test generates 1k Shoal:$ levels and verifies that the levels pass sanity tests.
* Lua builder funcs act on map_lines, not grd.Enne Walker2009-11-021-1/+3
| | | | | | | This lets regular vaults use the same Lua functions that layout vaults do. Convert functions in l_dgnbld that acted on grd. Update layout vaults to use these new functions. Also, remove l_dgn_bf, as all of its functionality is now in l_dgnbld.
* lmark.synchronized_markers(): apply one marker's effects to multiple points ↵Darshan Shaligram2009-10-311-1/+17
| | | | | | | | | | | | | | | simultaneously. synchronized_markers() takes a marker, and a list of method names to override, and returns a set of markers that fire simultaneously, to allow, say, fog machines that fire at random intervals, but always fire in unison. lm_mslav.lua has details. volcano.des has an example volcano entry vault that uses this. Allow fetching a list of Lua markers/marker positions by property value. Renamed dgn.find_marker_prop -> dgn.find_marker_position_by_prop. s/helper/listener/ for fog machine listeners.
* Add lua binding for inspecting env.show.Robert Vollmert2009-10-271-0/+3
|
* Move more utility code from dlua to cluautil.Robert Vollmert2009-10-211-0/+2
|
* Move userdata templates to cluautil.h.Robert Vollmert2009-10-211-1/+80
|
* Move clua_register_metatable to cluautil.Robert Vollmert2009-10-211-1/+11
|
* Move more macros and functions to cluautil.cc.Robert Vollmert2009-10-211-1/+63
|
* Move utility functions from clua.cc to cluautil.cc.Robert Vollmert2009-10-211-0/+22
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.