@@ -90,10 +90,10 @@ typedef enum
9090
9191static int temp_x = 0 ;
9292static int tempyl[4 ], tempyh[4 ];
93- static byte byte_tempbuf[MAX_SCREENHEIGHT * 4 ];
93+ byte * byte_tempbuf = NULL ; // [MAX_SCREENHEIGHT * 4];
9494#ifndef NOTRUECOLOR
95- static unsigned short short_tempbuf[MAX_SCREENHEIGHT * 4 ];
96- static unsigned int int_tempbuf[MAX_SCREENHEIGHT * 4 ];
95+ unsigned short * short_tempbuf = NULL ; // [MAX_SCREENHEIGHT * 4];
96+ unsigned int * int_tempbuf = NULL ; // [MAX_SCREENHEIGHT * 4];
9797#endif
9898static int startx = 0 ;
9999static int temptype = COL_NONE;
@@ -106,7 +106,6 @@ static const byte *tempfuzzmap;
106106// Spectre/Invisibility.
107107//
108108
109- #define FUZZTABLE 50
110109// proff 08/17/98: Changed for high-res
111110// #define FUZZOFF (SCREENWIDTH)
112111#define FUZZOFF 1
@@ -121,7 +120,7 @@ static const int fuzzoffset_org[FUZZTABLE] = {
121120 FUZZOFF,FUZZOFF,-FUZZOFF,FUZZOFF,FUZZOFF,-FUZZOFF,FUZZOFF
122121};
123122
124- static int fuzzoffset[FUZZTABLE];
123+ int * fuzzoffset = NULL ; // [FUZZTABLE];
125124
126125static int fuzzpos = 0 ;
127126
@@ -487,7 +486,7 @@ byte translationtables[3 * 256];
487486#undef R_DRAWCOLUMN_PIPELINE_BASE
488487#undef R_DRAWCOLUMN_PIPELINE_TYPE
489488
490- static R_DrawColumn_f drawcolumnfuncs[VID_MODEMAX][RDRAW_FILTER_MAXFILTERS][RDRAW_FILTER_MAXFILTERS][RDC_PIPELINE_MAXPIPELINES] = {
489+ static const R_DrawColumn_f drawcolumnfuncs[VID_MODEMAX][RDRAW_FILTER_MAXFILTERS][RDRAW_FILTER_MAXFILTERS][RDC_PIPELINE_MAXPIPELINES] = {
491490 {
492491 {
493492 {NULL , NULL , NULL , NULL ,},
@@ -877,7 +876,7 @@ void R_InitTranslationTables (void)
877876#include " r_drawspan.inl"
878877#endif
879878
880- static R_DrawSpan_f drawspanfuncs[VID_MODEMAX][RDRAW_FILTER_MAXFILTERS][RDRAW_FILTER_MAXFILTERS] = {
879+ static const R_DrawSpan_f drawspanfuncs[VID_MODEMAX][RDRAW_FILTER_MAXFILTERS][RDRAW_FILTER_MAXFILTERS] = {
881880 {
882881 {
883882 NULL ,
0 commit comments