summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.h
Commit message (Collapse)AuthorAgeFilesLines
* Gozag: Gold sense.Steve Melenchuk2014-05-071-0/+1
| | | | You passively detect gold on entering a level.
* Simplify.Adam Borowski2013-12-061-1/+2
| | | | | SHOW_ITEM_NONE was uninitialized, will reuse whatever glyph comes at the previous enum (currently "invis exposed"), probably should assert.
* Manually fix a few more instances of return (...)Neil Moore2013-11-151-1/+1
| | | | | These weren't caught by util/unbrace because they weren't at the beginning of the line.
* Give runes their own default glyph (φ for now)Samuel Bronson2013-07-011-0/+1
|
* Remove unnecessary includes from header files.Jay3.14152012-10-231-2/+0
| | | | | | | | | | 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.
* Update stair emphasis on level load. (#2583)Robert Vollmert2010-09-151-0/+1
| | | | | | This fixes more stair highlighting misbehaviour. In particular, the stair you came down wasn't updated on the previous level until you saw it again.
* Rename class "monsters" to "monster".Robert Vollmert2010-09-051-1/+1
|
* Remove env.show in favor of using env.map_knowledgeLuca Barbieri2010-07-291-19/+2
| | | | | | | | | | | | | | Currently env.show stores information about the LOS rectangle, while env.map_knowledge stores the rest of the map. This unnecessarily complicates the code, makes serialization harder, and makes it hard to change the LOS model. This code uses map_knowledge for both kinds of data. Regressions are quite possible. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Add CMD_SHOW_TERRAIN (key '|') to show just terrain.Robert Vollmert2010-03-021-2/+3
|
* Remove obsolete env.show.backup.Robert Vollmert2010-03-021-3/+0
|
* Fix clean_map so it only affects level-map display and does not actually ↵Darshan Shaligram2010-01-211-0/+1
| | | | | | erase map monster memory (Napkin). ^C (clear map) no longer erases immobile monsters from memory (dpeg).
* Do out-of-LOS staircase emphasis when drawing.Robert Vollmert2009-12-041-2/+2
| | | | | This fixes emphasised stair colours being out of date until they come into LOS again.
* Unify colour handling in env.show and env.map_knowledge.Robert Vollmert2009-12-011-0/+4
| | | | | | | | | 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.
* Remove union in show_type.Robert Vollmert2009-11-201-6/+4
| | | | | | | | | show_type can now separately store feature type, item type and monster class. env.show and env.map_knowledge are guaranteed to have filled object.feat, so player terrain knowledge is available now. This is a bit of a hack.
* Fix information leakage in detect creatures.Robert Vollmert2009-11-161-1/+1
| | | | | | | | | | Also fix tiles giving more information than console version. There's now mons_detected_base, which assigns a base monster type to every monster type based on the default displayed glyph. It just takes the first entry for a given glyph based on the mon-data.h order, so this may need tweaking in some cases.
* Rename fixary.h and fixvec.h.Robert Vollmert2009-11-151-1/+1
|
* Merge monster_grid into show_def.Robert Vollmert2009-11-141-1/+1
|
* Move get_show_symbol to showsymb.cc.Robert Vollmert2009-11-061-3/+0
|
* Split up view.cc.Robert Vollmert2009-11-041-12/+4
|
* show: Quiet Valgrind warningsMatthew Cline2009-11-041-1/+1
|
* Get rid of multiple-meaning "int object" in env.show.Robert Vollmert2009-11-041-0/+98
env.show is now a class show_def that stores tagged unions of type show_type. For the moment, there's also env.show_los for use in LOS determination, but that should become an array of boolean at some point. This breaks save compatibility. Tiles and console version build and appear to work fine, but this kind of change is likely to have some side-effects.