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:
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 winmap.c $NHDT-Date: 1433806622 2015/06/08 23:37:02 $ $NHDT-Branch: master $:$NHDT-Revision: 1.22 $ */
|
||||
/* NetHack 3.6 winmap.c $NHDT-Date: 1435002689 2015/06/22 19:51:29 $ $NHDT-Branch: master $:$NHDT-Revision: 1.24 $ */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -127,7 +127,7 @@ int glyph, bkglyph;
|
||||
#ifdef TEXTCOLOR
|
||||
if ((special & MG_PET) && iflags.hilite_pet)
|
||||
color += CLR_MAX;
|
||||
if ((special & MG_OBJPILE) && iflags.use_inverse)
|
||||
if ((special & MG_OBJPILE) && iflags.hilite_pile)
|
||||
*co_ptr = color;
|
||||
#endif
|
||||
if (!map_info->is_tile)
|
||||
|
||||
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user