summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/process_desc.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-1/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* 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.
* Use std namespace.Raphael Langella2012-08-261-7/+6
| | | | | | | | | | | | | 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 inline functions static.Adam Borowski2012-08-091-2/+2
| | | | | | | | | This avoids unnecessary non-inlined copies. Also, we had a few large functions that had no reason for inlining, let's have them be regular ones. I also made "static inline" always use the same order, for easier grepping.
* Drop pointless braces after if/for/while everywhere.Adam Borowski2012-04-201-2/+0
|
* Rename translate.cc to lang-fake.cc, to avoid confusion.Adam Borowski2012-04-021-12/+12
| | | | I intend to name actual per-language C++ files lang-en.cc, lang-pl.cc
* Preserve indentation when wrapping a line.Adam Borowski2012-04-021-2/+2
| | | | | | | | | | | | | Quotation marks are considered to be indentation, so paragraphs are wrapped like this: “Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”
* An ugly hack to put descriptions through filters as well.Adam Borowski2012-03-301-11/+13
| | | | Sadly, menus, especially columned, break too much.
* Truncate descriptions rather than omitting them.Neil Moore2011-12-151-7/+18
| | | | | | | | | | If it would not fit, print "..." instead of the last visible line; this line might be overwritten by the toggle message (console), or might push the toggle message off the screen (tiles). This should really only happen in FULLDEBUG mode with small terminals. Fixes #5055.
* Fix tiles builds.Adam Borowski2011-12-061-0/+2
|
* Shorten the name of describe-templates.hAdam Borowski2011-12-061-0/+137
Its length makes "ls" use few wide columns.