From d112932e1efaa6588ed7276021847a28eb596900 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Tue, 7 Sep 2010 03:16:54 +0000 Subject: + All linedef flags added + Translucent line/wall drawing supported + Jumpover/Blockfloater flag behavior implemented + Puff behavior implemented + Some changes to PIT_AttackRadius + Some changes to PIT_ChangeSector Subversion-branch: /branches/strife-branch Subversion-revision: 2030 --- src/strife/r_segs.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/strife/r_segs.c') diff --git a/src/strife/r_segs.c b/src/strife/r_segs.c index d6e5e156..bd655654 100644 --- a/src/strife/r_segs.c +++ b/src/strife/r_segs.c @@ -158,6 +158,14 @@ R_RenderMaskedSegRange if (fixedcolormap) dc_colormap = fixedcolormap; + + // villsa [STRIFE] render as transparent (25% or 75%?) + if(curline->linedef->flags & ML_TRANSPARENT1) + colfunc = fuzzcolfunc; + + // villsa [STRIFE] render as transparent (25% or 75%?) + if(curline->linedef->flags & ML_TRANSPARENT2) + colfunc = R_DrawMVisTLColumn; // draw the columns for (dc_x = x1 ; dc_x <= x2 ; dc_x++) @@ -188,6 +196,8 @@ R_RenderMaskedSegRange } spryscale += rw_scalestep; } + + colfunc = basecolfunc; // villsa [STRIFE] reset draw routines } -- cgit v1.2.3