stair_item_brand is set (defaults to reverse).
Fixed compile error in clua.cc (oops).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1499 c06c8d41-db1a-0410-9941-cceddc491573
AXQJOPTECRU3ECV3ICDUR6SGBIOIZT5HIOSJ77MRLF5ECGOITMDQC
AP7CF7MQY4UBV5ZX45HGP2LWNCNA5VA664PE3BWL5V6THQ7NA7BQC
XPCGZBHHSL6MB3ORMUJI64BAERU6AZTIY6RK56BBW7SNB3IK24IAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
RVST2QHYJ757ZHK4AUJ5NGPDZ44AD6RVFVXYPKQIBJXZBDNUCHXQC
UF4ODJOCV3ZL7DXRLLOFVWHUKKJX34FO4ZM6VJAWEJ3QVP3XZ2AAC
EHSY6DVGUMI6C67WKET3GDJVLWJWGYBYQONNDK5JVT7BCTHBEZVAC
return (col & COLFLAG_FRIENDLY_MONSTER)? Options.friend_brand :
(col & COLFLAG_ITEM_HEAP)? Options.heap_brand :
(col & COLFLAG_WILLSTAB)? Options.stab_brand :
(col & COLFLAG_MAYSTAB)? Options.may_stab_brand :
(col & COLFLAG_REVERSE)? CHATTR_REVERSE :
CHATTR_NORMAL;
return (col & COLFLAG_FRIENDLY_MONSTER)? Options.friend_brand :
(col & COLFLAG_ITEM_HEAP)? Options.heap_brand :
(col & COLFLAG_WILLSTAB)? Options.stab_brand :
(col & COLFLAG_MAYSTAB)? Options.may_stab_brand :
(col & COLFLAG_STAIR_ITEM)? Options.stair_item_brand :
(col & COLFLAG_REVERSE)? CHATTR_REVERSE :
CHATTR_NORMAL;
friend_brand = CHATTR_NORMAL;
heap_brand = CHATTR_NORMAL;
stab_brand = CHATTR_NORMAL;
may_stab_brand = CHATTR_NORMAL;
no_dark_brand = true;
friend_brand = CHATTR_NORMAL;
heap_brand = CHATTR_NORMAL;
stab_brand = CHATTR_NORMAL;
may_stab_brand = CHATTR_NORMAL;
stair_item_brand = CHATTR_REVERSE;
no_dark_brand = true;
unsigned heap_brand; // Highlight heaps of items in the playing area
unsigned stab_brand; // Highlight monsters that are stabbable
unsigned may_stab_brand; // Highlight potential stab candidates
unsigned heap_brand; // Highlight heaps of items
unsigned stab_brand; // Highlight monsters that are stabbable
unsigned may_stab_brand; // Highlight potential stab candidates
unsigned stair_item_brand; // Highlight stairs covered by items.
Branding refers to displaying particular monsters (e.g. summons) or items in a
special way; special as in reversing fore- and background. There are several
branding choices (these will not work everywhere; it depends on OS and
terminal):
Branding refers to displaying particular monsters (e.g. summons) or
items in a special way; special as in reversing fore- and background.
There are several branding choices (these will not work everywhere; it
depends on OS and terminal):
may_stab_brand
Stabbing may be possible even if the monster is not asleep (if it's
confused or distracted, for instance). This option brands monsters that
you *might* be able to stab. Primarily useful for worshippers of The
Shining One. Purists may consider this unnecessarily spoily.
may_stab_brand = none
Stabbing may be possible even if the monster is not asleep (if
it's confused or distracted, for instance). This option brands
monsters that you *might* be able to stab.
stair_item_brand = reverse
Brands stairs that would otherwise be hidden by items. If you
use this brand, the items on the square are hidden by the stair
symbol (<, >, or portal) and the stair symbol is branded.