mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-09 18:01:35 +00:00
25 lines
835 B
C++
25 lines
835 B
C++
|
|
#pragma once
|
|
|
|
#include "r_defs.h"
|
|
|
|
namespace swrenderer
|
|
{
|
|
struct FWallCoords;
|
|
struct FWallTmapVals;
|
|
|
|
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, const FWallTmapVals &WallT);
|
|
void PrepLWall(fixed_t *lwall, double walxrepeat, int x1, int x2, const FWallTmapVals &WallT);
|
|
}
|