mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-14 14:31:53 +00:00
25 lines
756 B
C
25 lines
756 B
C
|
|
||
|
#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);
|
||
|
}
|