summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewmap.cc
Commit message (Collapse)AuthorAgeFilesLines
* Trim unnecessary #includes.Adam Borowski2010-01-131-1/+0
|
* Remove redundant check in _reset_travel_colours.Robert Vollmert2010-01-131-4/+1
|
* enable walkability colors on the level map again for water/lavaJesse Luehrs2009-12-071-1/+4
|
* Use place_name, not custom _level_description_string.Jude Brown2009-12-051-33/+3
|
* Do out-of-LOS staircase emphasis when drawing.Robert Vollmert2009-12-041-2/+10
| | | | | This fixes emphasised stair colours being out of date until they come into LOS again.
* Move map colouring to function get_map_col.Robert Vollmert2009-12-021-13/+10
|
* Fix tiles build.Jude Brown2009-12-021-3/+3
|
* Group features in feature list.Robert Vollmert2009-12-011-14/+44
|
* Unify colour handling in env.show and env.map_knowledge.Robert Vollmert2009-12-011-93/+39
| | | | | | | | | Colour is now always precomputed, and only possibly overridden by travel information on display. It's quite unclear that storing the colour in env.show and env.map_knowledge is the right thing to do, but at least it's handled consistently now.
* Convert feature list to use formatted_string.Robert Vollmert2009-12-011-28/+28
|
* Colour excluded stairs pink in level map title.Robert Vollmert2009-11-281-22/+30
| | | | Also increase maximal feature list width to 20.
* A first version of features in the level map title.Robert Vollmert2009-11-271-30/+94
| | | | | They're not sorted yet, and the implementation is deficient in quite a few ways, but it's a start.
* Move level map title out of _draw_level_map.Robert Vollmert2009-11-271-33/+31
| | | | Also move the wizard position output in there.
* Make emphasise() and is_unknown_stair() refer to map_knowledge.Robert Vollmert2009-11-201-3/+4
| | | | They are no longer passed a "remembered feature" as parameter.
* Simplify determination of feat_value.Robert Vollmert2009-11-201-7/+1
| | | | map_knowledge now always stores the player-known features.
* Replace observe_cell by you.see_cell.Robert Vollmert2009-11-131-2/+2
|
* Add wiz-mode arbitrary radius exclude command.Robert Vollmert2009-11-121-0/+11
| | | | | | | This is quite a hack: Hitting 'R' on the level map in wizard mode will silently read a number that specifies the exclude radius. If you have an idea for making this nicer, please improve or tell me.
* Rename FeawnCharles Otto2009-11-081-1/+1
| | | | | In most places Feawn is now referred to as "Fedhas," its long name (used in the religion screen) is "Fedhas Madash"
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-13/+14
| | | | | | | | map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.
* Replace global see_cell by observe_cell and disambiguate old uses.Robert Vollmert2009-11-061-2/+2
| | | | | | | Calls to plain see_cell(pos) were replaced with either observe_cell(pos) or you.see_cell(pos). observe_cell where related to drawing the interface and messaging, you.see_cell for game mechanics, and one or the other in less clear cases (targetting, say).
* Unify mesmerisation code.Robert Vollmert2009-11-051-19/+3
| | | | | | | | There were several places that had copies of the same code, checking whether mesmerisation blocked movement to a given target. The various mesmerisation functions have become methods of player and were moved into behold.cc.
* Split up view.cc.Robert Vollmert2009-11-041-0/+1188