# Correct the needed linklibs in curl-config also.
[AROS-Contrib.git] / Games / Doom / r_bsp.h
blob1025d2fce834662d19d7617bd3200ddbf8890a95
1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // $Id$
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 //
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
15 // for more details.
17 // DESCRIPTION:
18 // Refresh module, BSP traversal and handling.
20 //-----------------------------------------------------------------------------
23 #ifndef __R_BSP__
24 #define __R_BSP__
26 #ifdef __GNUG__
27 #pragma interface
28 #endif
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;
37 extern int rw_x;
38 extern int rw_stopx;
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 FAR 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);
59 // BSP?
60 void R_ClearClipSegs (void);
61 void R_ClearDrawSegs (void);
64 void R_RenderBSPNode (int bspnum);
67 #endif
68 //-----------------------------------------------------------------------------
70 // $Log$
71 // Revision 1.1 2000/02/29 18:21:06 stegerg
72 // Doom port based on ADoomPPC. Read README.AROS!
75 //-----------------------------------------------------------------------------