Whitespace.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-05-13 17:01:17 +00:00
parent 871db9606b
commit 87894c0d39
2 changed files with 15 additions and 13 deletions

View file

@ -30,10 +30,17 @@
#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 "client.h"
#include "QF/console.h"
#include "QF/compat.h"
#include "client.h"
#include "glquake.h"
#include "host.h"
#include "view.h"
@ -55,10 +62,11 @@ extern cvar_t *scr_ofsz;
byte ramps[3][256];
float v_blend[4]; // rgba 0.0 - 1.0
/*
V_CalcBlend
LordHavoc made this a real, (messy,) true alpha blend. Cleaned it up
LordHavoc made this a real, true alpha blend. Cleaned it up
a bit, but otherwise this is his code. --KB
*/
void
@ -106,6 +114,7 @@ V_CalcBlend (void)
v_blend[3] = bound (0.0, a, 1.0);
}
/*
V_UpdatePalette
@ -153,9 +162,6 @@ V_UpdatePalette (void)
V_CalcBlend ();
}
/*
* View Rendering
*/
/*
V_RenderView
@ -191,13 +197,13 @@ V_RenderView (void)
R_RenderView ();
}
/*
BuildGammaTable
In software mode, this function gets the palette ready for changing...
in GL, it does very little as you can see.
*/
void
BuildGammaTable (float b, float c)
{

View file

@ -59,10 +59,11 @@ float v_blend[4];
qboolean V_CheckGamma (void);
/*
V_CalcBlend
LordHavoc made this a real, (messy,) true alpha blend. Cleaned it up
LordHavoc made this a real, true alpha blend. Cleaned it up
a bit, but otherwise this is his code. --KB
*/
void
@ -115,9 +116,6 @@ V_CalcBlend (void)
}
/*
V_CalcPowerupCshift
*/
void
V_CalcPowerupCshift (void)
{
@ -161,9 +159,7 @@ V_CalcPowerupCshift (void)
cl.cshifts[CSHIFT_POWERUP].percent = 0;
}
/*
V_UpdatePalette
*/
void
V_UpdatePalette (void)
{