mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-21 07:30:55 +00:00
Whitespace is not allowed before the '#' of pre-processor directives.
This commit is contained in:
parent
845f0c80c0
commit
f7569b8d0d
5 changed files with 9 additions and 9 deletions
|
@ -33,9 +33,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
// Ender: HackHackHack
|
||||
#ifndef GLAPIENTRY
|
||||
#ifdef APIENTRY
|
||||
#define GLAPIENTRY APIENTRY
|
||||
#endif
|
||||
# ifdef APIENTRY
|
||||
# define GLAPIENTRY APIENTRY
|
||||
# endif
|
||||
#endif
|
||||
|
||||
void GL_BeginRendering (int *x, int *y, int *width, int *height);
|
||||
|
|
|
@ -337,7 +337,7 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
// instead of sending it through gl_upload 8
|
||||
GL_Bind(playertextures + playernum);
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
s = 320*200;
|
||||
byte translated[320*200];
|
||||
|
||||
|
@ -353,7 +353,7 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
// don't mipmap these, because it takes too long
|
||||
GL_Upload8 (translated, paliashdr->skinwidth, paliashdr->skinheight,
|
||||
false, false, true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512;
|
||||
scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256;
|
||||
|
|
|
@ -1580,7 +1580,7 @@ void BuildSurfaceDisplayList (msurface_t *fa)
|
|||
VectorNormalize( v2 );
|
||||
|
||||
// skip co-linear points
|
||||
#define COLINEAR_EPSILON 0.001
|
||||
# define COLINEAR_EPSILON 0.001
|
||||
if ((fabs( v1[0] - v2[0] ) <= COLINEAR_EPSILON) &&
|
||||
(fabs( v1[1] - v2[1] ) <= COLINEAR_EPSILON) &&
|
||||
(fabs( v1[2] - v2[2] ) <= COLINEAR_EPSILON))
|
||||
|
|
|
@ -210,7 +210,7 @@ void GL_SubdivideSurface (msurface_t *fa)
|
|||
// speed up sin calculations - Ed
|
||||
float turbsin[] =
|
||||
{
|
||||
#include "gl_warp_sin.h"
|
||||
# include "gl_warp_sin.h"
|
||||
};
|
||||
#define TURBSCALE (256.0 / (2 * M_PI))
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
*/
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#else
|
||||
#include <windows.h>
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "quakedef.h"
|
||||
|
|
Loading…
Reference in a new issue