r_bsp.h (726B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #ifndef __R_BSP__ 24 #define __R_BSP__ 25 26 #ifdef __GNUG__ 27 #pragma interface 28 #endif 29 30 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; 36 37 extern int rw_x; 38 extern int rw_stopx; 39 40 extern boolean segtextured; 41 42 43 extern boolean markfloor; 44 extern boolean markceiling; 45 46 extern boolean skymap; 47 48 extern drawseg_t drawsegs[MAXDRAWSEGS]; 49 extern drawseg_t* ds_p; 50 51 extern lighttable_t** hscalelight; 52 extern lighttable_t** vscalelight; 53 extern lighttable_t** dscalelight; 54 55 56 typedef void (*drawfunc_t) (int start, int stop); 57 58 59 60 void R_ClearClipSegs (void); 61 void R_ClearDrawSegs (void); 62 63 64 void R_RenderBSPNode (int bspnum); 65 66 67 #endif 68 69 70 71 72