mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 15:41:59 +00:00
diff noise reduction.
This commit is contained in:
parent
6e3ea5cabb
commit
0c7cc403b8
4 changed files with 16 additions and 19 deletions
|
@ -178,6 +178,8 @@
|
|||
#define TE_BEAM 17
|
||||
// PGM 01/21/97
|
||||
|
||||
#define MAX_CLIENTS 16
|
||||
|
||||
typedef struct entity_state_s
|
||||
{
|
||||
vec3_t origin;
|
||||
|
|
|
@ -155,11 +155,11 @@ R_Init (void)
|
|||
|
||||
GDT_Init ();
|
||||
|
||||
//XXX netgraphtexture = texture_extension_number;
|
||||
//XXX texture_extension_number++;
|
||||
netgraphtexture = texture_extension_number;
|
||||
texture_extension_number++;
|
||||
|
||||
playertextures = texture_extension_number;
|
||||
texture_extension_number += 16;//MAX_CLIENTS;
|
||||
texture_extension_number += MAX_CLIENTS;
|
||||
player_fb_textures = texture_extension_number;
|
||||
texture_extension_number += MAX_CACHED_SKINS;
|
||||
|
||||
|
|
|
@ -56,12 +56,10 @@ extern void V_CalcRefdef (void);
|
|||
extern cvar_t *gl_cshiftpercent;
|
||||
extern cvar_t *cl_cshift_powerup;
|
||||
|
||||
|
||||
byte ramps[3][256];
|
||||
float v_blend[4];
|
||||
|
||||
|
||||
|
||||
/*
|
||||
V_CalcBlend
|
||||
|
||||
|
@ -124,8 +122,7 @@ V_CalcPowerupCshift (void)
|
|||
if ((gl_dlight_polyblend->int_val ||
|
||||
!(gl_dlight_lightmap->int_val && gl_dlight_polyblend->int_val)) &&
|
||||
(cl.stats[STAT_ITEMS] & IT_INVULNERABILITY ||
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD))
|
||||
{
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD)) {
|
||||
if (cl.stats[STAT_ITEMS] & IT_INVULNERABILITY &&
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD) {
|
||||
cl.cshifts[CSHIFT_POWERUP].destcolor[0] = 255;
|
||||
|
|
|
@ -52,13 +52,11 @@ extern byte gammatable[256];
|
|||
extern qboolean V_CheckGamma (void);
|
||||
|
||||
extern cvar_t *cl_cshift_powerup;
|
||||
extern cvar_t *contrast;
|
||||
|
||||
byte ramps[3][256];
|
||||
float v_blend[4];
|
||||
|
||||
|
||||
|
||||
/*
|
||||
V_CalcBlend
|
||||
|
||||
|
@ -115,14 +113,14 @@ void
|
|||
V_CalcPowerupCshift (void)
|
||||
{
|
||||
if (!cl_cshift_powerup->int_val
|
||||
|| (atoi (Info_ValueForKey (cl.serverinfo, "cshifts")) & INFO_CSHIFT_POWERUP))
|
||||
|| (atoi (Info_ValueForKey (cl.serverinfo, "cshifts")) &
|
||||
INFO_CSHIFT_POWERUP))
|
||||
return;
|
||||
|
||||
if ((gl_dlight_polyblend->int_val ||
|
||||
!(gl_dlight_lightmap->int_val && gl_dlight_polyblend->int_val)) &&
|
||||
(cl.stats[STAT_ITEMS] & IT_INVULNERABILITY ||
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD))
|
||||
{
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD)) {
|
||||
if (cl.stats[STAT_ITEMS] & IT_INVULNERABILITY &&
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD) {
|
||||
cl.cshifts[CSHIFT_POWERUP].destcolor[0] = 255;
|
||||
|
|
Loading…
Reference in a new issue