summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dlua.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace.Raphael Langella2012-08-261-18/+17
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-5/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Allow maps to specify different CHANCE and WEIGHT for different depth ranges ↵Darshan Shaligram2010-12-241-0/+1
| | | | (Zaba).
* Fix map transforms accessing areas outside the map grid (kilobyte).Darshan Shaligram2010-12-061-0/+1
|
* s/acr.cc/main.cc/ in comments.Adam Borowski2010-07-231-1/+1
|
* A compile option (-DDEBUG_GLOBALS) to let valgrind act on global classes.Adam Borowski2010-07-191-0/+3
| | | | | | It's not the default, even for debug builds, since it makes debugging with gdb nasty -- you have to refer to real_you->field when gdb mentions you.field. Even naming real_you just you would still force you to use "->" instead of ".".
* Remove "called from:" comments.Vsevolod Kozlov2009-11-031-2/+0
| | | | | | These were of questionable use and freshness. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Move print_?lua_stack into CLua.Robert Vollmert2009-10-211-2/+0
|
* Move more utility code from dlua to cluautil.Robert Vollmert2009-10-211-2/+0
|
* Create l_defs.h and move stuff there.Robert Vollmert2009-10-211-6/+1
| | | | | l_defs.h contains headers for things defined in the Lua functions but used elsewhere. This should probably not exist long-term.
* Move userdata templates to cluautil.h.Robert Vollmert2009-10-211-14/+0
|
* Move more macros and functions to cluautil.cc.Robert Vollmert2009-10-211-7/+0
|
* Move utility functions from clua.cc to cluautil.cc.Robert Vollmert2009-10-211-3/+2
| | | | | | | | 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.
* Split out tiles specific functions from l_dgn.cc.Robert Vollmert2009-10-201-23/+0
| | | | Also a little cleanup.
* Split some parts of lua library "dgn" out.Robert Vollmert2009-10-201-0/+7
| | | | | Specifically, item and monster-related functions to l_dgnit.cc and l_dgnmon.cc.
* Split file_lib out.Robert Vollmert2009-10-191-8/+0
| | | | | 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/+3
| | | | Also fix error in previous commit.
* Split dgn_lib out of luadgn.cc; rename luadgn to dlua.Robert Vollmert2009-10-191-0/+129