summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the failure handling of mapstat and objstatgammafunk2014-07-151-1/+1
|
* Include veto reasons in mapstat.log.Neil Moore2014-07-011-1/+1
|
* objstat: Item and monster generation statisticsgammafunk2014-06-251-1/+1
| | | | | | | | The -objstat command-line option will generate iterations of the given levels, compiling stats on every item and monster generated, and average the results over the iterations. It's only available in debug builds and uses the same map specification format as -mapstat. The default number of iterations is 100.
* Clean up the mapstat function names and variablesgammafunk2014-06-241-6/+7
| | | | | | The command-line option is -mapstat, so the non-static functions use the prefix mapstat_ instead of mapgen_ now for consistency. The static functions and variables have had their mg_ prefixes removed.
* Use std namespace.Raphael Langella2012-08-261-1/+1
| | | | | | | | | | | | | 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.
* Split up debug.ccMatthew Cline2009-11-061-0/+21