From f9022537ee69b085f2df7611c38f89fa4127c7c9 Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Thu, 28 Dec 2000 06:58:56 +0000 Subject: [PATCH] Whitespace. --- source/pr_offs.c | 17 +++++++---------- source/r_sprite.c | 2 +- source/skin.c | 11 ++++------- 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/source/pr_offs.c b/source/pr_offs.c index a7f0f77..0c82530 100644 --- a/source/pr_offs.c +++ b/source/pr_offs.c @@ -1,7 +1,7 @@ /* - pr_offs.c + pr_offs.c - Quick QuakeC offset access + Quick QuakeC offset access Copyright (C) 1996-1997 Id Software, Inc. @@ -23,7 +23,7 @@ 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA - $Id$ + $Id$ */ #ifdef HAVE_CONFIG_H @@ -32,14 +32,12 @@ #include "progs.h" -int eval_alpha, eval_scale, eval_glowsize, eval_glowcolor, - - eval_colormod; +int eval_alpha, eval_scale, eval_glowsize, eval_glowcolor, eval_colormod; int FindFieldOffset (char *field) { - ddef_t *d; + ddef_t *d; d = ED_FindField (field); if (!d) @@ -48,8 +46,7 @@ FindFieldOffset (char *field) return d->ofs * 4; } - -eval_t * +eval_t * GETEDICTFIELDVALUE (edict_t *ed, int fieldoffset) { if (!fieldoffset) @@ -59,7 +56,7 @@ GETEDICTFIELDVALUE (edict_t *ed, int fieldoffset) } void -FindEdictFieldOffsets () +FindEdictFieldOffsets (void) { eval_alpha = FindFieldOffset ("alpha"); eval_scale = FindFieldOffset ("scale"); diff --git a/source/r_sprite.c b/source/r_sprite.c index fbfc10b..aea3342 100644 --- a/source/r_sprite.c +++ b/source/r_sprite.c @@ -146,7 +146,7 @@ R_SetupAndDrawSprite ================ */ void -R_SetupAndDrawSprite () +R_SetupAndDrawSprite (void) { int i, nump; float dot, scale, *pv; diff --git a/source/skin.c b/source/skin.c index 4177026..00a9753 100644 --- a/source/skin.c +++ b/source/skin.c @@ -113,7 +113,7 @@ Skin_Cache Returns a pointer to the skin bitmap, or NULL to use the default ========== */ -byte * +byte * Skin_Cache (skin_t *skin) { char name[1024]; @@ -138,9 +138,7 @@ Skin_Cache (skin_t *skin) if (out) return out; -// -// load the pic from disk -// + // load the pic from disk snprintf (name, sizeof (name), "skins/%s.pcx", skin->name); raw = COM_LoadTempFile (name); if (!raw) { @@ -152,9 +150,8 @@ Skin_Cache (skin_t *skin) return NULL; } } -// -// parse the PCX file -// + + // parse the PCX file pcx = (pcx_t *) raw; raw = &pcx->data;