summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/pattern.h
Commit message (Collapse)AuthorAgeFilesLines
* Detemplatize text_pattern.Adam Borowski2012-10-311-90/+12
| | | | | It is included everywhere, complex templates drag down compilation. And what's the point of a template that's instantiated exactly once?
* Fix a number of gcc -Wextra warnings.Adam Borowski2012-10-241-1/+1
| | | | | One case is an ambiguous constructor, which I'd say should be an error rather than a warning.
* Saner rc list options, including reset.Neil Moore2012-09-141-0/+8
| | | | | | | | | We now support "listopt =" to clear the list, and support "-=" with many more options. We also warn when "listopt = foo" is interpreted to mean "append", because that is likely to change in 0.12. These changes are intended to go into 0.11, but we'll need to update the options guide first.
* Use std namespace.Raphael Langella2012-08-261-8/+8
| | | | | | | | | | | | | 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.
* Drop unused plain glob support.Adam Borowski2012-06-231-11/+0
| | | | | | | Since a long time ago, platforms with no POSIX regexes available will instead build contrib PCRE. Other contribs are always needed as well, so there's no gain here. And I guess we rely on patterns being regular expressions internally, too.
* Waypoint search.Raphael Langella2011-06-031-0/+1
| | | | | | | | Searching for a single digit yields the content of the stash located at the waypoint. Searching for * returns the content of all the waypoints. Since waypoints are often used to mark player's stash, it is very useful to quickly check the content of a stash (or all of them).
* Drop remnants of the DOS port.Adam Borowski2011-04-081-1/+1
| | | | | | | | | It's broken since 0.5 (where it "just" had a long-unfixed bug with infinite mana), in 0.6 doesn't even compile and in 0.8 took a number of other tedious to port blows. If no one stepped up to revive it, no one probably ever will. DOS is an ancient coprolith, too, and can't really handle the bloat Crawl has. As a side effect, I made *h and /h work on Windows.
* Extract pattern templates to pattern.h.Robert Vollmert2010-01-201-0/+155