Skip to content

Commit

Permalink
Lighten menu drop shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 27, 2024
1 parent 6978431 commit 0d6866b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/i_colors.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ byte nearestwhite;
byte *black10;
byte *black25;
byte *black40;
byte *black45;
byte *black75;
byte *gold4;
byte *white5;
Expand Down Expand Up @@ -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];
Expand Down
1 change: 0 additions & 1 deletion src/i_colors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
2 changes: 1 addition & 1 deletion src/v_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0d6866b

Please sign in to comment.