Whitespace.

This commit is contained in:
Jeff Teunissen 2000-12-28 06:58:56 +00:00
parent 579434b6df
commit f9022537ee
3 changed files with 12 additions and 18 deletions

View file

@ -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");

View file

@ -146,7 +146,7 @@ R_SetupAndDrawSprite
================
*/
void
R_SetupAndDrawSprite ()
R_SetupAndDrawSprite (void)
{
int i, nump;
float dot, scale, *pv;

View file

@ -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;