separate option to toggle hilite_pile

Beta tester report.

The use of use_inverse meant that you couldn't selectively
choose to hilite pets but not piles. Add its own option.
This commit is contained in:
nhmall
2015-06-22 15:51:43 -04:00
parent 3ba5def8f1
commit 5df350d548
7 changed files with 28 additions and 12 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
/* NetHack 3.6 mhmap.c $NHDT-Date: 1434803886 2015/06/20 12:38:06 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.55 $ */
/* NetHack 3.6 mhmap.c $NHDT-Date: 1435002695 2015/06/22 19:51:35 $ $NHDT-Branch: master $:$NHDT-Revision: 1.56 $ */
/* Copyright (C) 2001 by Alex Kompel */
/* NetHack may be freely redistributed. See license for details. */
@@ -790,7 +790,8 @@ onPaint(HWND hWnd)
DeleteDC(hdcPetMark);
}
#ifdef USE_PILEMARK
if ((glyph != NO_GLYPH) && (special & MG_OBJPILE)) {
if ((glyph != NO_GLYPH)
&& (special & MG_OBJPILE) && iflags.hilite_pile) {
/* apply pilemark transparently over other image */
HDC hdcPileMark;
HBITMAP bmPileMarkOld;