mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Eliminate extra vars from FWallCoords
- cx1, cx2, cy1, and cy2 are not used anywhere, so get rid of them. - Also annotated the comments to indicate the corresponding arrays in the Build engine.
This commit is contained in:
parent
e6a1d6b516
commit
fbb5689f29
1 changed files with 4 additions and 7 deletions
11
src/r_bsp.h
11
src/r_bsp.h
|
@ -33,14 +33,11 @@
|
|||
|
||||
struct FWallCoords
|
||||
{
|
||||
fixed_t tx1, tx2; // x coords at left, right of wall in view space
|
||||
fixed_t ty1, ty2; // y coords at left, right of wall in view space
|
||||
fixed_t tx1, tx2; // x coords at left, right of wall in view space rx1,rx2
|
||||
fixed_t ty1, ty2; // y coords at left, right of wall in view space ry1,ry2
|
||||
|
||||
fixed_t cx1, cx2; // x coords at left, right of wall in camera space
|
||||
fixed_t cy1, cy2; // y coords at left, right of wall in camera space
|
||||
|
||||
short sx1, sx2; // x coords at left, right of wall in screen space
|
||||
fixed_t sz1, sz2; // depth at left, right of wall in screen space
|
||||
short sx1, sx2; // x coords at left, right of wall in screen space xb1,xb2
|
||||
fixed_t sz1, sz2; // depth at left, right of wall in screen space yb1,yb2
|
||||
|
||||
bool Init(int x1, int y1, int x2, int y2, int too_close);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue