From 6bddd131daf1edb79821b91b3cbcacd7b8ed1142 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Wed, 17 Apr 2019 14:51:48 +0100 Subject: [PATCH 1/2] Undefine toaster's old define to flip full-brightness default status for planes --- src/r_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_plane.c b/src/r_plane.c index e36c34aa4..16ce85b9a 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -43,7 +43,7 @@ //#define QUINCUNX // good night sweet prince -#define SHITPLANESPARENCY +//#define SHITPLANESPARENCY //SoM: 3/23/2000: Use Boom visplane hashing. #define MAXVISPLANES 512 From 3203dc5d4b1f1869eaf1eb693d9108de67daac1a Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Wed, 17 Apr 2019 16:46:32 +0100 Subject: [PATCH 2/2] Remove old code altogether at Nev3r's request --- src/r_plane.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/r_plane.c b/src/r_plane.c index 16ce85b9a..0ef4c2c05 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -42,9 +42,6 @@ // Quincunx antialiasing of flats! //#define QUINCUNX -// good night sweet prince -//#define SHITPLANESPARENCY - //SoM: 3/23/2000: Use Boom visplane hashing. #define MAXVISPLANES 512 @@ -804,11 +801,7 @@ void R_DrawSinglePlane(visplane_t *pl) else // Opaque, but allow transparent flat pixels spanfunc = splatfunc; -#ifdef SHITPLANESPARENCY - if (spanfunc == splatfunc || (pl->extra_colormap && pl->extra_colormap->fog)) -#else if (!pl->extra_colormap || !(pl->extra_colormap->fog & 2)) -#endif light = (pl->lightlevel >> LIGHTSEGSHIFT); else light = LIGHTLEVELS-1; @@ -862,11 +855,7 @@ void R_DrawSinglePlane(visplane_t *pl) else // Opaque, but allow transparent flat pixels spanfunc = splatfunc; -#ifdef SHITPLANESPARENCY - if (spanfunc == splatfunc || (pl->extra_colormap && pl->extra_colormap->fog)) -#else if (!pl->extra_colormap || !(pl->extra_colormap->fog & 2)) -#endif light = (pl->lightlevel >> LIGHTSEGSHIFT); else light = LIGHTLEVELS-1;