More whitespace than you can shake a shambler at.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-02-07 05:45:59 +00:00
parent e32119aa3c
commit 800ee05584
90 changed files with 390 additions and 411 deletions

View file

@ -38,6 +38,7 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <stdlib.h>
#ifndef max

View file

@ -32,7 +32,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
@ -42,7 +41,6 @@
#ifdef HAVE_GL_GLX_H
# include <GL/glx.h>
#endif
#ifdef HAVE_GL_GLEXT_H
# include <GL/glext.h>
#endif

View file

@ -35,6 +35,7 @@
#endif
#include <stdio.h>
#ifdef HAVE_ZLIB
# include <zlib.h>
#endif

View file

@ -74,5 +74,3 @@ void snprintf(char * buffer, size_t n, const char * format, ...)
#endif
#endif

View file

@ -38,6 +38,7 @@
#include <windows.h>
#include <ddraw.h>
#include <dsound.h>
#ifdef HAVE_MGRAPH_H
# include <mgraph.h>
#endif

View file

@ -28,7 +28,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif

View file

@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <windows.h>
#include "cdaudio.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -34,8 +34,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -43,6 +41,8 @@
# include <strings.h>
#endif
#include <math.h>
#include "cl_cam.h"
#include "client.h"
#include "commdef.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -32,7 +32,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>

View file

@ -29,9 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -39,6 +36,9 @@
# include <strings.h>
#endif
#include <math.h>
#include <stdlib.h>
#include "cl_ents.h"
#include "cl_main.h"
#include "cl_tent.h"

View file

@ -29,8 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <ctype.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -38,6 +36,8 @@
# include <strings.h>
#endif
#include <ctype.h>
#include "cvar.h"
#include "cmd.h"
#include "console.h"

View file

@ -29,17 +29,15 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdarg.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <stdarg.h>
#include "client.h"
#include "cmd.h"
#include "commdef.h"

View file

@ -29,14 +29,18 @@
$Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <ctype.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>

View file

@ -32,9 +32,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -42,6 +39,9 @@
# include <strings.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include "commdef.h"
#include "cvar.h"
#include "console.h"

View file

@ -30,13 +30,13 @@
# include "config.h"
#endif
#include <stdlib.h>
#include "d_local.h"
#include "qargs.h"
#include "r_local.h"
#include "sys.h"
#include <stdlib.h>
float surfscale;
qboolean r_cache_thrash; // set if surface cache is thrashing

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -26,7 +26,9 @@
$Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef _GNU_SOURCE
# define _GNU_SOURCE

View file

@ -1,7 +1,7 @@
/*
fractalnoise.c
LordHavocs fractial noise generator.
LordHavocs fractal noise generator.
Copyright (C) 2000 Forest `LordHavoc` Hale.

View file

@ -29,13 +29,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <stdio.h>
#include "console.h"

View file

@ -30,15 +30,15 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <math.h>
#include <stdio.h>
#include "glquake.h"
#include "sys.h"

View file

@ -30,19 +30,16 @@
# include "config.h"
#endif
#include <termios.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "protocol.h"
#include "cvar.h"
#include "keys.h"
#include <termios.h>
#include <unistd.h>
cvar_t *_windowed_mouse;
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
int
fd_blocking (int fd, int on)
{

View file

@ -32,13 +32,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <vga.h>
#include <vgakeyboard.h>
#include <vgamouse.h>

View file

@ -42,7 +42,6 @@
#include "input.h"
#include "cl_input.h"
#include "view.h"
//#include "dosisms.h"
#include "host.h"
#define DINPUT_BUFFERSIZE 16

View file

@ -32,24 +32,21 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#define _BSD
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#define _BSD
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>

View file

@ -29,9 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <ctype.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -39,6 +36,9 @@
# include <strings.h>
#endif
#include <stdio.h>
#include <ctype.h>
#include "console.h"
#include "info.h"

View file

@ -32,7 +32,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef __MINGW32__
# define INITGUID
#endif

View file

@ -29,12 +29,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef _WIN32
# include <windows.h>
#endif
#include <stdlib.h>
#include <ctype.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -42,6 +39,9 @@
# include <strings.h>
#endif
#include <stdlib.h>
#include <ctype.h>
#include "client.h"
#include "cmd.h"
#include "console.h"

View file

@ -29,8 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <limits.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -38,6 +36,8 @@
# include <strings.h>
#endif
#include <limits.h>
#include "client.h"
#include "console.h"
#include "locs.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif

View file

@ -32,8 +32,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -41,6 +39,9 @@
# include <strings.h>
#endif
#include <math.h>
#include "checksum.h"
#include "cvar.h"
#include "model.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -59,6 +59,7 @@
#ifndef _WIN32
# include <unistd.h>
#endif
#include <sys/types.h>
#ifdef HAVE_STRING_H

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -32,13 +32,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <ctype.h>
#include <stdlib.h>
#include <assert.h>

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_DLFCN_H
# include <dlfcn.h>
#endif

View file

@ -29,26 +29,19 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <stdarg.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <ctype.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <fcntl.h>
#include <dirent.h>

View file

@ -31,12 +31,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
#include <stdarg.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -55,6 +52,9 @@
#ifdef _MSC_VER
# define _POSIX_
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <limits.h>
#include "quakefs.h"

View file

@ -29,13 +29,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <string.h>
#endif
#include <math.h>
#include "console.h"

View file

@ -29,8 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -38,6 +36,8 @@
# include <strings.h>
#endif
#include <stdlib.h>
#include "bothdefs.h"
#include "cl_cam.h"
#include "client.h"

View file

@ -29,8 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <time.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -38,6 +36,8 @@
# include <strings.h>
#endif
#include <time.h>
#include "cl_parse.h"
#include "client.h"
#include "cmd.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -30,12 +30,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#ifdef HAVE_SYS_IOCTL_H

View file

@ -30,12 +30,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>

View file

@ -29,13 +29,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <stdlib.h>
#include "client.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <SDL_audio.h>
#include <SDL_byteorder.h>

View file

@ -31,10 +31,10 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <fcntl.h>
#include <stdlib.h>
#include <sys/types.h>

View file

@ -29,8 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -38,6 +36,8 @@
# include <strings.h>
#endif
#include <stdlib.h>
#include "bothdefs.h"
#include "cmd.h"
#include "msg.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -29,9 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdarg.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -39,6 +36,9 @@
# include <strings.h>
#endif
#include <stdarg.h>
#include <stdlib.h>
#include "bothdefs.h"
#include "buildnum.h"
#include "cmd.h"

View file

@ -29,8 +29,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include "cmd.h"
#include "msg.h"

View file

@ -29,9 +29,11 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>

View file

@ -30,6 +30,12 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <stdarg.h>
#include <stdio.h>
@ -38,12 +44,6 @@
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "cvar.h"
#include "qargs.h"

View file

@ -29,13 +29,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <errno.h>
#include "bothdefs.h"

View file

@ -29,7 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif

View file

@ -39,7 +39,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#if defined(HAVE_SYS_IO_H)
#ifdef HAVE_SYS_IO_H
# include <sys/io.h>
#elif defined(HAVE_ASM_IO_H)
# include <asm/io.h>

View file

@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <windows.h>
#include "vid.h"

View file

@ -29,9 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -39,6 +36,8 @@
# include <strings.h>
#endif
#include <stdio.h>
#include "commdef.h"
#include "console.h"
#include "crc.h"

View file

@ -29,9 +29,6 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
@ -39,6 +36,8 @@
# include <strings.h>
#endif
#include <stdlib.h>
#include "cmd.h"
#include "console.h"
#include "qargs.h"