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 module, BSP traversal and handling.
20 //-----------------------------------------------------------------------------
31 extern seg_t
* curline
;
32 extern side_t
* sidedef
;
33 extern line_t
* linedef
;
34 extern sector_t
* frontsector
;
35 extern sector_t
* backsector
;
40 extern boolean segtextured
;
42 // false if the back side is the same plane
43 extern boolean markfloor
;
44 extern boolean markceiling
;
46 extern boolean skymap
;
48 extern drawseg_t drawsegs
[MAXDRAWSEGS
];
49 extern drawseg_t
* ds_p
;
51 extern lighttable_t
** hscalelight
;
52 extern lighttable_t
** vscalelight
;
53 extern lighttable_t
** dscalelight
;
56 typedef void (*drawfunc_t
) (int start
, int stop
);
60 void R_ClearClipSegs (void);
61 void R_ClearDrawSegs (void);
64 void R_RenderBSPNode (int bspnum
);
68 //-----------------------------------------------------------------------------
72 //-----------------------------------------------------------------------------