From 0d6866b63ee95d988d2dc160ecf314e19cb69f72 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Wed, 27 Nov 2024 17:56:27 +1100 Subject: [PATCH] Lighten menu drop shadows --- src/i_colors.c | 2 -- src/i_colors.h | 1 - src/m_menu.c | 2 +- src/v_video.c | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/i_colors.c b/src/i_colors.c index be8b63247..d1b72785f 100644 --- a/src/i_colors.c +++ b/src/i_colors.c @@ -122,7 +122,6 @@ byte nearestwhite; byte *black10; byte *black25; byte *black40; -byte *black45; byte *black75; byte *gold4; byte *white5; @@ -181,7 +180,6 @@ void FindNearestColors(byte *palette) black10 = &tinttab10[nearestblack << 8]; black25 = &tinttab25[nearestblack << 8]; black40 = &tinttab40[nearestblack << 8]; - black45 = &tinttab45[nearestblack << 8]; black75 = &tinttab75[nearestblack << 8]; gold4 = &tinttab4[nearestgold << 8]; white5 = &tinttab5[nearestwhite << 8]; diff --git a/src/i_colors.h b/src/i_colors.h index 87151de20..7e1997b68 100644 --- a/src/i_colors.h +++ b/src/i_colors.h @@ -109,7 +109,6 @@ extern byte nearestwhite; extern byte *black10; extern byte *black25; extern byte *black40; -extern byte *black45; extern byte *black75; extern byte *gold4; extern byte *white5; diff --git a/src/m_menu.c b/src/m_menu.c index eb1a53175..03f5443a8 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4560,7 +4560,7 @@ void M_Drawer(void) for (int i = 0; i < MAXSCREENAREA; i++) if (tempscreen[i] == nearestblack) - screens[0][i] = black45[screens[0][i]]; + screens[0][i] = black40[screens[0][i]]; else if (tempscreen[i] != PINK) screens[0][i] = tempscreen[i]; diff --git a/src/v_video.c b/src/v_video.c index bc4b16e0c..1f916110e 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -1005,7 +1005,7 @@ void V_DrawHelpPatch(patch_t *patch) *dest = nearestcolors[source[srccol >> FRACBITS]]; dest += SCREENWIDTH; dot = dest + SCREENWIDTH + 2; - *dot = black45[*dot]; + *dot = black40[*dot]; srccol += DYI; }