summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make a bunch of functions static or non-existant.Adam Borowski2011-08-171-1/+0
|
* Implement #2374: Don't prompt for cloud-excluded staircases.Johanna Ploog2011-01-111-0/+1
|
* Implement #1960: Allow traveling across radius 1 excluded stairs.Johanna Ploog2011-01-111-0/+1
|
* Fix exclusion LOS not being updated properly. (#2513)Robert Vollmert2010-09-091-1/+1
|
* Rename class "monsters" to "monster".Robert Vollmert2010-09-051-3/+3
|
* Rename chars used as numbers to int8_t/uint8_t. Fix some other type usage.Adam Borowski2010-07-301-1/+1
| | | | | | | | | | This should help against the signed char problems, and is good for code readability. Now, if you have a char, it's either an untyped in-memory byte, or a symbol inside a string. Small numbers are instead [u]int8_t, ints, an enum type, or, in so many cases, bools. I didn't touch any of the tiles code, as it's currently broken and I don't want to risk making it unbroken harder.
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
|
* Also list cloud type for fog generator exclusion annotations.Johanna Ploog2010-01-101-3/+3
| | | | | | Increases minor version by one as travel_exclude now stores a string rather than the monster type, which is more versatile and can also be used for cloud names.
* Fix exclusions not being listed on the overmap screen.Johanna Ploog2010-01-051-1/+1
|
* Optionally defer set_exclude updates.Robert Vollmert2009-12-021-1/+3
| | | | | This is a bit of a hack to get around cloud autoexclusions each resulting in a floodfind through _exclude_update.
* Travel exclude speedupMatthew Cline2009-11-151-7/+58
| | | | | | | | | | Speed up is_excluded() by making the class exclude_set, which caches the set of excluded points, calculating the set only when exclusions are added or removed (or when an old level is loaded). NOTE: This recomputes the set of excluded points once upon entering level-map mode and once upon exiting it. If this takes to long on slow machines, this can be improved.
* Shortcut indirect include.Robert Vollmert2009-11-081-1/+1
|
* Move exclusion marshalling code to exclude.cc.Robert Vollmert2009-10-271-0/+5
|
* Move most exclusion code from travel.cc to exclude.cc.Robert Vollmert2009-10-271-0/+39
|
* Move autoexclude code from misc.cc to exclude.cc.Robert Vollmert2009-10-271-0/+9