gzdoom-gles/src/swrenderer/things/r_decal.h

33 lines
1.1 KiB
C
Raw Normal View History

//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
2016-12-30 07:31:02 +00:00
#pragma once
struct side_t;
class DBaseDecal;
namespace swrenderer
{
struct drawseg_t;
2017-01-11 17:10:51 +00:00
class RenderDecal
{
public:
2017-01-12 20:29:19 +00:00
static void RenderDecals(side_t *wall, drawseg_t *draw_segment, int wallshade, float lightleft, float lightstep, seg_t *curline, const FWallCoords &wallC, bool foggy, FDynamicColormap *basecolormap);
2017-01-11 17:10:51 +00:00
private:
2017-01-12 20:29:19 +00:00
static void Render(side_t *wall, DBaseDecal *first, drawseg_t *clipper, int wallshade, float lightleft, float lightstep, seg_t *curline, FWallCoords wallC, bool foggy, FDynamicColormap *basecolormap, int pass);
2017-01-11 17:10:51 +00:00
static void DrawColumn(int x, FTexture *WallSpriteTile, float maskedScaleY, bool sprflipvert, const short *mfloorclip, const short *mceilingclip);
};
2016-12-30 07:31:02 +00:00
}