2017-01-01 09:28:35 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "r_defs.h"
|
|
|
|
|
|
|
|
namespace swrenderer
|
|
|
|
{
|
|
|
|
struct FWallCoords;
|
2017-01-03 17:57:48 +00:00
|
|
|
struct FWallTmapVals;
|
2017-01-01 09:28:35 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2017-01-03 17:57:48 +00:00
|
|
|
void PrepWall(float *swall, fixed_t *lwall, double walxrepeat, int x1, int x2, const FWallTmapVals &WallT);
|
|
|
|
void PrepLWall(fixed_t *lwall, double walxrepeat, int x1, int x2, const FWallTmapVals &WallT);
|
2017-01-01 09:28:35 +00:00
|
|
|
}
|