summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/luaterp.cc
Commit message (Collapse)AuthorAgeFilesLines
* Rename lua interpreter context (doy).Robert Vollmert2009-11-241-1/+1
|
* Auto-clear more while luaterp is runningMatthew Cline2009-11-241-0/+12
|
* luaterp (&^T): load files via terp_file optionMatthew Cline2009-11-151-0/+17
| | | | | | | You can now specify Lua files to be loaded for use in the wizard Lua interpreter via "terp_file = file_path" in your init file. These files will be run in the context of dlua, as opposed to the clua context of files included with "lua_file = file_path".
* Quick how-to-exit message for wizard Lua interpreter. (rob, zelgadis)Jude Brown2009-11-141-0/+1
|
* Improve error handling in lua interpreter.Robert Vollmert2009-11-031-4/+1
| | | | | | | | | lua_pcall is now passing 0 for errfunc so the plain error message comes out. Also, remove the call to lua_gc on error since that was causing further errors. This is probably not the right way to do things but hopefully an improvement for now.
* Add whitespace fixes.David Lawrence Ramsey2009-10-311-2/+2
|
* Initialize __echo in lua interpreter.Robert Vollmert2009-10-301-2/+1
|
* Fix handling of empty input lines.Robert Vollmert2009-10-291-3/+3
|
* Luaterp: introductory comments and renaming.Robert Vollmert2009-10-281-2/+8
| | | | | | | | To use, set "delay_message_clear = true" and call wizard mode Ctrl+T. To echo return values from statements, prefix them with '=' and define the global __echo. (__echo = crawl.mpr will work for single return values.)
* Convert to cancelable_get_line_autohist.Robert Vollmert2009-10-281-3/+4
|
* A lot more functional, now, though still deficient.Robert Vollmert2009-10-281-12/+107
|
* Partial lua interpreter.Robert Vollmert2009-10-281-0/+33