Whitespace is not allowed before the '#' of pre-processor directives.

This commit is contained in:
Marcus Sundberg 2000-01-07 21:09:58 +00:00
parent ac733e8a28
commit c11b3873ff
3 changed files with 4 additions and 4 deletions

View File

@ -330,7 +330,7 @@ void R_TranslatePlayerSkin (int playernum)
// instead of sending it through gl_upload 8 // instead of sending it through gl_upload 8
GL_Bind(playertextures + playernum); GL_Bind(playertextures + playernum);
#if 0 #if 0
s = 320*200; s = 320*200;
byte translated[320*200]; byte translated[320*200];
@ -346,7 +346,7 @@ void R_TranslatePlayerSkin (int playernum)
// don't mipmap these, because it takes too long // don't mipmap these, because it takes too long
GL_Upload8 (translated, paliashdr->skinwidth, paliashdr->skinheight, GL_Upload8 (translated, paliashdr->skinwidth, paliashdr->skinheight,
false, false, true); false, false, true);
#endif #endif
scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512; scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512;
scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256; scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256;

View File

@ -1514,7 +1514,7 @@ void BuildSurfaceDisplayList (msurface_t *fa)
VectorNormalize( v2 ); VectorNormalize( v2 );
// skip co-linear points // skip co-linear points
#define COLINEAR_EPSILON 0.001 #define COLINEAR_EPSILON 0.001
if ((fabs( v1[0] - v2[0] ) <= COLINEAR_EPSILON) && if ((fabs( v1[0] - v2[0] ) <= COLINEAR_EPSILON) &&
(fabs( v1[1] - v2[1] ) <= COLINEAR_EPSILON) && (fabs( v1[1] - v2[1] ) <= COLINEAR_EPSILON) &&
(fabs( v1[2] - v2[2] ) <= COLINEAR_EPSILON)) (fabs( v1[2] - v2[2] ) <= COLINEAR_EPSILON))

View File

@ -182,7 +182,7 @@ void GL_SubdivideSurface (msurface_t *fa)
// speed up sin calculations - Ed // speed up sin calculations - Ed
float turbsin[] = float turbsin[] =
{ {
#include "gl_warp_sin.h" #include "gl_warp_sin.h"
}; };
#define TURBSCALE (256.0 / (2 * M_PI)) #define TURBSCALE (256.0 / (2 * M_PI))