summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_crawl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add an option to draw the player cursor manually.Robert Vollmert2009-11-281-2/+0
| | | | | | | | | | | | | Set use_fake_player_cursor = true to use this. This allows defaulting the cursor to off, which means less cursor blinking say when travelling. This patch also moves the cursor control closer to where it's used, so that the cursor is only turned on for actual input prompts. I've definitely missed some prompts here: almost anything that prompts for a single character and reads it using getch() will not have a cursor with use_fake_player_cursor set at the moment.
* Fix crawl.process_keys(), add crawl.redraw_stats()Matthew Cline2009-11-241-0/+57
|
* craw.more_autoclear()Matthew Cline2009-11-241-0/+13
|
* Lua wrapper for god_speaks (again, dlua).Jude Brown2009-11-201-0/+29
|
* you.is_tiles(): check if build is tiles or notMatthew Cline2009-11-191-0/+12
|
* Remove a few obsolete includes.Robert Vollmert2009-11-101-1/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-1/+1
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* lmark.synchronized_markers(): apply one marker's effects to multiple points ↵Darshan Shaligram2009-10-311-1/+1
| | | | | | | | | | | | | | | 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.
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+1
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Fix build with -DDGAMELAUNCH (Napkin).Darshan Shaligram2009-10-241-0/+1
|
* Move more macros and functions to cluautil.cc.Robert Vollmert2009-10-211-1/+1
|
* cosmetic: strip trailing whitespaceSteven Noonan2009-10-201-2/+2
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Move clua crawl_lib from clua to l_crawl.cc.Robert Vollmert2009-10-201-1/+592
| | | | To avoid name clashes, rename dlua libs from *_lib to *_dlib.
* Simplify make_name binding and silence int cast warning.Robert Vollmert2009-10-201-14/+13
|
* A wrapper for itemname:make_name().Jude Brown2009-10-201-0/+27
| | | | | | | | | | | | Seed is always stuff:random_int(), but "all caps", "maxlen" and "start" are specifiable, though default to false, -1, and 0 (as per make_name()). As each parameter is a different type (bool, int and char), it would be good if the wrapper looked at type instead of parameter position, but this will do for now. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Reduce #includes in dlua.cc.Robert Vollmert2009-10-191-1/+5
|
* Split file_lib out.Robert Vollmert2009-10-191-0/+3
| | | | | Move lua library headers to separate l_libs.h, fixing another compilation error...
* Split out crawl_lib from dlua.cc.Robert Vollmert2009-10-191-0/+51
Also fix error in previous commit.