Skip to content

Commit

Permalink
Hexen: show transparent lines at top and bottom of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
JNechaevsky committed Aug 3, 2024
1 parent ae2fc6e commit f11ab88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hexen/r_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,13 @@ void R_DrawTLColumn(void)
fixed_t frac, fracstep;
int heightmask = dc_texheight - 1; // [crispy]

// [crispy] Show transparent lines at top and bottom of screen.
/*
if (!dc_yl)
dc_yl = 1;
if (dc_yh == viewheight - 1)
dc_yh = viewheight - 2;
*/

count = dc_yh - dc_yl;
if (count < 0)
Expand Down Expand Up @@ -257,10 +260,13 @@ void R_DrawAltTLColumn(void)
fixed_t frac, fracstep;
int heightmask = dc_texheight - 1; // [crispy]

// [crispy] Show transparent lines at top and bottom of screen.
/*
if (!dc_yl)
dc_yl = 1;
if (dc_yh == viewheight - 1)
dc_yh = viewheight - 2;
*/

count = dc_yh - dc_yl;
if (count < 0)
Expand Down

0 comments on commit f11ab88

Please sign in to comment.