summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_mapgrd.cc
Commit message (Collapse)AuthorAgeFilesLines
* Axe a buttload of useless #includes.Adam Borowski2013-11-031-1/+0
| | | | | Can't test Android, MSVC or Mac, but a very brief glance at the diff suggests it's unlikely they're affected.
* Remove unnecessary includes from header files.Jay3.14152012-10-231-0/+1
| | | | | | | | | | For most header files, this only saves on having to recompile a small number of source files, but there are also a few headers where small changes would now take significantly less time. This is most obvious for the Tiles build for which the dependencies have been greatly reduced, so that the only additional includes when compared to console are strictly library or tile related.
* Drop a bunch of parentheses from return statements.Adam Borowski2012-08-081-1/+1
| | | | | This is incomplete, partially because of me getting bored, partially because of doubts about the point of leaving simple addition/etc in parentheses.
* Remove parentheses around return (simple_function_call).Adam Borowski2012-07-051-4/+4
| | | | For way too paranoid and underinclusive values of "simple".
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-4/+4
|
* Drop pointless braces after if/for/while everywhere.Adam Borowski2012-04-201-2/+0
|
* Change mapgrd and mapbld funcs to be 0-indexed.Enne Walker2009-11-291-2/+2
| | | | | | | | | All the other dgn and map functions in Crawl are 0-indexed, so this makes everything more consistent. I've changed all the uses in the master branch, but if you're using these functions in another branch (dpeg and due), then you'll need to adjust all your coordinates to match.
* Move userdata templates to cluautil.h.Robert Vollmert2009-10-211-1/+1
|
* Complete rename to mapgrd.Robert Vollmert2009-10-211-15/+15
| | | | | | Previously, I had renamed only the C++-side of things. Also update documentation.
* cosmetic: strip trailing whitespaceSteven Noonan2009-10-201-3/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Move grd_lib out of clua.cc into l_mapgrd.cc.Robert Vollmert2009-10-201-0/+109
Rest of commit comment only as accurate as my understanding... Renaming from grd to mapgrd to avoid confusion with grd == env.grid: This grd is the maplines-section of a vault definition. Also move mapgrd_lib from clua to dlua since it's only used for dungeon building. clua and dlua need more descriptive names.