mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
diff noise reduction.
This commit is contained in:
parent
6e3ea5cabb
commit
0c7cc403b8
4 changed files with 16 additions and 19 deletions
|
@ -174,9 +174,11 @@
|
|||
#define TE_RAILTRAIL 15
|
||||
#endif
|
||||
#define TE_EXPLOSION2 16
|
||||
// PGM 01/21/97
|
||||
// PGM 01/21/97
|
||||
#define TE_BEAM 17
|
||||
// PGM 01/21/97
|
||||
// PGM 01/21/97
|
||||
|
||||
#define MAX_CLIENTS 16
|
||||
|
||||
typedef struct entity_state_s
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -53,15 +53,13 @@ extern qboolean V_CheckGamma (void);
|
|||
extern void V_CalcIntermissionRefdef (void);
|
||||
extern void V_CalcRefdef (void);
|
||||
|
||||
extern cvar_t *gl_cshiftpercent;
|
||||
extern cvar_t *cl_cshift_powerup;
|
||||
|
||||
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,16 +113,16 @@ 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))
|
||||
{
|
||||
!(gl_dlight_lightmap->int_val && gl_dlight_polyblend->int_val)) &&
|
||||
(cl.stats[STAT_ITEMS] & IT_INVULNERABILITY ||
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD)) {
|
||||
if (cl.stats[STAT_ITEMS] & IT_INVULNERABILITY &&
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD) {
|
||||
cl.stats[STAT_ITEMS] & IT_QUAD) {
|
||||
cl.cshifts[CSHIFT_POWERUP].destcolor[0] = 255;
|
||||
cl.cshifts[CSHIFT_POWERUP].destcolor[1] = 0;
|
||||
cl.cshifts[CSHIFT_POWERUP].destcolor[2] = 255;
|
||||
|
|
Loading…
Reference in a new issue