r_things.h (838B)
1 #ifndef __R_THINGS__ 2 #define __R_THINGS__ 3 4 5 #ifdef __GNUG__ 6 #pragma interface 7 #endif 8 9 #define MAXVISSPRITES 128 10 11 extern vissprite_t vissprites[MAXVISSPRITES]; 12 extern vissprite_t* vissprite_p; 13 extern vissprite_t vsprsortedhead; 14 15 16 17 extern short negonearray[SCREENWIDTH]; 18 extern short screenheightarray[SCREENWIDTH]; 19 20 21 extern short* mfloorclip; 22 extern short* mceilingclip; 23 extern fixed_t spryscale; 24 extern fixed_t sprtopscreen; 25 26 extern fixed_t pspritescale; 27 extern fixed_t pspriteiscale; 28 29 30 void R_DrawMaskedColumn (column_t* column); 31 32 33 void R_SortVisSprites (void); 34 35 void R_AddSprites (sector_t* sec); 36 void R_AddPSprites (void); 37 void R_DrawSprites (void); 38 void R_InitSprites (char** namelist); 39 void R_ClearSprites (void); 40 void R_DrawMasked (void); 41 42 void 43 R_ClipVisSprite 44 ( vissprite_t* vis, 45 int xl, 46 int xh ); 47 48 49 #endif 50 51 52 53 54