summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
Commit message (Collapse)AuthorAgeFilesLines
* Trim unnecessary #includes.Adam Borowski2010-01-131-8/+0
|
* Make merged slime creatures light green, acid blobs light cyan.Adam Borowski2010-01-131-0/+6
| | | | | | You can override that, both the colour and the glyph. The code is exceedingly hairy (the check is tripled!), thanks to glyphs sometimes stored as character:colour, sometimes as type:colour.
* Ignore obscured items in the UIStefan O'Rear2009-12-301-1/+1
| | | | I probably missed a few spots.
* Fix ugly things/butterflies going black while Misled.Jude Brown2009-12-271-0/+8
|
* New (rakshasa) unique: Mara, Lord of Ilusions.Jude Brown2009-12-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This re-uses several ideas from the Emerald Eye FR, and implements the spell "Mislead": this grants the "Misled" status effect to the player, and causes on-level monsters to appear (glyph, name and tile) to be other monsters. Only their appearance is changed. Healing potions and rain remove this status effect. Mara also has a beefed-up version of the Rakshasa clone spell: it instead creates an "exact" clone (slightly altered spells list, and non-unique status for his clones). Only two will ever be created at once. Finally, he has the spell "Summon Player Ghost". This spell creates a ghost of the player (though marked as a summon, meaning that it (shouldn't) register a milestone, though it will be treated as a self-ghost kill) that is hostile. Only one of these should be existant at any one point in time. I'm pretty sure that I haven't broken anything, but would definitely appreciate someone sanity-checking this commit. Known minor issue: Kirke's summon ugly things being cast while having the Misled status causes them to show up with no glyph.
* Merge halo.cc into areas.cc.Robert Vollmert2009-11-211-1/+1
|
* Merge get_symbol and get_show_glyph.Robert Vollmert2009-11-151-30/+10
|
* Replace get_show_symbol by get_show_glyph.Robert Vollmert2009-11-151-6/+9
|
* Add get_feat_symbol.Robert Vollmert2009-11-151-0/+5
|
* Add get_item_symbol to showsymb.Robert Vollmert2009-11-151-0/+5
|
* Remove one version of get_screen_glyph.Robert Vollmert2009-11-151-7/+2
|
* Convert get_mons_glyph to return a glyph struct.Robert Vollmert2009-11-151-5/+6
|
* Convert get_item_glyph to return a glyph struct.Robert Vollmert2009-11-151-4/+5
| | | | Also don't use get_symbol.
* Remove grid_character_at.Robert Vollmert2009-11-151-9/+0
|
* Move feature colouring into show_def from get_symbol.Robert Vollmert2009-11-151-105/+0
|
* Untangle map memory and get_symbol.Robert Vollmert2009-11-141-16/+2
|
* Remove a few obsolete includes.Robert Vollmert2009-11-101-1/+0
| | | | Also add a few previously indirect includes.
* Revert "Make get_symbol() a little clearer."Robert Vollmert2009-11-081-21/+16
| | | | | | | This reverts commit c4a0e05b9d3328834444e374a89d354ee0536396. Haven't managed to find out what's wrong with that one, but it breaks map memory badly.
* Remove unneeded colour argument from a variant of get_symbol.Robert Vollmert2009-11-081-2/+1
|
* Make get_symbol() a little clearer.Robert Vollmert2009-11-081-16/+21
|
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-4/+5
| | | | | | | | 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.
* Generalize feature colouring to use any actor halo.Robert Vollmert2009-11-081-1/+2
| | | | This may be too expensive with haloers() implemented as now.
* Rename some halo functions.Robert Vollmert2009-11-081-1/+1
|
* Add a general halo interface to actor.Robert Vollmert2009-11-081-1/+1
| | | | | Also convert the TSO halo to use this. actor::haloed() is still specific to the player TSO halo.
* Replace mons_neutral with monsters::neutral.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* showsymb.cc: Fix compilation errror.Matthew Cline2009-11-061-0/+2
|
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-1/+1
|
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Remove mons_friendly_real and mons_wont_attack_real.Vsevolod Kozlov2009-11-061-1/+1
| | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Move get_show_symbol to showsymb.cc.Robert Vollmert2009-11-061-0/+14
|
* Simplify.Robert Vollmert2009-11-061-14/+14
|
* Add missing showsymb.cc and showsymb.h.Robert Vollmert2009-11-061-0/+263
Also split out feature colouring into separate function.