diff options
Diffstat (limited to 'apps/plugins/doom/r_plane.c')
-rw-r--r-- | apps/plugins/doom/r_plane.c | 14 |
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 | ||
76 | short floorclip[SCREENWIDTH], ceilingclip[SCREENWIDTH]; | 76 | short 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 | ||
80 | static int spanstart[SCREENHEIGHT]; // killough 2/8/98 | 80 | static 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 | ||
91 | static fixed_t basexscale, baseyscale; | 91 | static fixed_t basexscale, baseyscale; |
92 | static fixed_t cachedheight[SCREENHEIGHT]; | 92 | static fixed_t cachedheight[MAX_SCREENHEIGHT]; |
93 | static fixed_t cacheddistance[SCREENHEIGHT]; | 93 | static fixed_t cacheddistance[MAX_SCREENHEIGHT]; |
94 | static fixed_t cachedxstep[SCREENHEIGHT]; | 94 | static fixed_t cachedxstep[MAX_SCREENHEIGHT]; |
95 | static fixed_t cachedystep[SCREENHEIGHT]; | 95 | static fixed_t cachedystep[MAX_SCREENHEIGHT]; |
96 | static fixed_t xoffs, yoffs; // killough 2/28/98: flat offsets | 96 | static fixed_t xoffs, yoffs; // killough 2/28/98: flat offsets |
97 | 97 | ||
98 | fixed_t yslope[SCREENHEIGHT], distscale[SCREENWIDTH]; | 98 | fixed_t yslope[MAX_SCREENHEIGHT], distscale[MAX_SCREENWIDTH]; |
99 | 99 | ||
100 | // | 100 | // |
101 | // R_InitPlanes | 101 | // R_InitPlanes |