1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
18 // Refresh, visplane stuff (floor, ceilings).
20 //-----------------------------------------------------------------------------
36 extern short* lastopening
;
39 typedef void (*planefunction_t
) (int top
, int bottom
);
41 extern planefunction_t floorfunc
;
42 extern planefunction_t ceilingfunc_t
;
44 //extern short floorclip[SCREENWIDTH];
45 //extern short ceilingclip[SCREENWIDTH];
46 extern short *floorclip
;
47 extern short *ceilingclip
;
49 //extern FAR fixed_t yslope[SCREENHEIGHT];
50 //extern FAR fixed_t distscale[SCREENWIDTH];
51 extern fixed_t
*yslope
;
52 extern fixed_t
*distscale
;
54 void resinit_r_plane (void); //called before anything else
56 void R_InitPlanes (void);
57 void R_ClearPlanes (void);
73 void R_DrawPlanes (void);
90 //-----------------------------------------------------------------------------
93 // Revision 1.1 2000/02/29 18:21:06 stegerg
94 // Doom port based on ADoomPPC. Read README.AROS!
97 //-----------------------------------------------------------------------------