summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/r_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/r_plane.c')
-rw-r--r--apps/plugins/doom/r_plane.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/doom/r_plane.c b/apps/plugins/doom/r_plane.c
index 1ea1dd9193..2d2afd7cbe 100644
--- a/apps/plugins/doom/r_plane.c
+++ b/apps/plugins/doom/r_plane.c
@@ -73,11 +73,11 @@ short *openings,*lastopening;
73// floorclip starts out SCREENHEIGHT 73// floorclip starts out SCREENHEIGHT
74// ceilingclip starts out -1 74// ceilingclip starts out -1
75 75
76short floorclip[SCREENWIDTH], ceilingclip[SCREENWIDTH]; 76short floorclip[MAX_SCREENWIDTH], ceilingclip[MAX_SCREENWIDTH];
77 77
78// spanstart holds the start of a plane span; initialized to 0 at start 78// spanstart holds the start of a plane span; initialized to 0 at start
79 79
80static int spanstart[SCREENHEIGHT]; // killough 2/8/98 80static int spanstart[MAX_SCREENHEIGHT]; // killough 2/8/98
81 81
82// 82//
83// texture mapping 83// texture mapping
@@ -89,13 +89,13 @@ static fixed_t planeheight;
89// killough 2/8/98: make variables static 89// killough 2/8/98: make variables static
90 90
91static fixed_t basexscale, baseyscale; 91static fixed_t basexscale, baseyscale;
92static fixed_t cachedheight[SCREENHEIGHT]; 92static fixed_t cachedheight[MAX_SCREENHEIGHT];
93static fixed_t cacheddistance[SCREENHEIGHT]; 93static fixed_t cacheddistance[MAX_SCREENHEIGHT];
94static fixed_t cachedxstep[SCREENHEIGHT]; 94static fixed_t cachedxstep[MAX_SCREENHEIGHT];
95static fixed_t cachedystep[SCREENHEIGHT]; 95static fixed_t cachedystep[MAX_SCREENHEIGHT];
96static fixed_t xoffs, yoffs; // killough 2/28/98: flat offsets 96static fixed_t xoffs, yoffs; // killough 2/28/98: flat offsets
97 97
98fixed_t yslope[SCREENHEIGHT], distscale[SCREENWIDTH]; 98fixed_t yslope[MAX_SCREENHEIGHT], distscale[MAX_SCREENWIDTH];
99 99
100// 100//
101// R_InitPlanes 101// R_InitPlanes