summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.