summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cluautil.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix Shoal:$ generation bugs: stairs could be surrounded by deep water, hut ↵Darshan Shaligram2010-01-051-6/+2
| | | | | | entrances could be blocked by rock. shoal-hut.lua test generates 1k Shoal:$ levels and verifies that the levels pass sanity tests.
* lmark.synchronized_markers(): apply one marker's effects to multiple points ↵Darshan Shaligram2009-10-311-13/+12
| | | | | | | | | | | | | | | 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 whitespace fixes.David Lawrence Ramsey2009-10-311-1/+1
|
* Move more utility code from dlua to cluautil.Robert Vollmert2009-10-211-0/+23
|
* Move clua_register_metatable to cluautil.Robert Vollmert2009-10-211-0/+23
|
* Move more macros and functions to cluautil.cc.Robert Vollmert2009-10-211-0/+17
|
* Move utility functions from clua.cc to cluautil.cc.Robert Vollmert2009-10-211-0/+60
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.