qzdoom/src/swrenderer/line/r_wallsetup.h

25 lines
756 B
C
Raw Normal View History

2017-01-01 09:28:35 +00:00
#pragma once
#include "r_defs.h"
namespace swrenderer
{
struct FWallCoords;
extern short walltop[MAXWIDTH];
extern short wallbottom[MAXWIDTH];
extern short wallupper[MAXWIDTH];
extern short walllower[MAXWIDTH];
extern float swall[MAXWIDTH];
extern fixed_t lwall[MAXWIDTH];
extern double lwallscale;
int R_CreateWallSegmentY(short *outbuf, double z1, double z2, const FWallCoords *wallc);
int R_CreateWallSegmentYSloped(short *outbuf, const secplane_t &plane, const FWallCoords *wallc, seg_t *line, bool xflip);
int R_CreateWallSegmentY(short *outbuf, double z, const FWallCoords *wallc);
void PrepWall(float *swall, fixed_t *lwall, double walxrepeat, int x1, int x2);
void PrepLWall(fixed_t *lwall, double walxrepeat, int x1, int x2);
}