mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
diff noise reduction
This commit is contained in:
parent
a2ac0b5c0e
commit
9064530d1d
2 changed files with 40 additions and 36 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*
|
||||
gl_view.c
|
||||
|
||||
|
@ -37,6 +36,8 @@
|
|||
# include <strings.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "QF/compat.h"
|
||||
|
||||
#include "client.h"
|
||||
|
@ -52,16 +53,13 @@ extern qboolean V_CheckGamma (void);
|
|||
extern void V_CalcIntermissionRefdef (void);
|
||||
extern void V_CalcRefdef (void);
|
||||
|
||||
extern cvar_t *crosshair;
|
||||
extern cvar_t *gl_cshiftpercent;
|
||||
extern cvar_t *cl_cshift_powerup;
|
||||
|
||||
extern cvar_t *scr_ofsx;
|
||||
extern cvar_t *scr_ofsy;
|
||||
extern cvar_t *scr_ofsz;
|
||||
|
||||
byte ramps[3][256];
|
||||
float v_blend[4]; // rgba 0.0 - 1.0
|
||||
float v_blend[4];
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -155,6 +155,12 @@ V_CalcPowerupCshift (void)
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
V_UpdatePalette
|
||||
|
||||
In software, this function (duh) updates the palette. In GL, all it does is
|
||||
set up some values for shifting the screen color in a particular direction.
|
||||
*/
|
||||
void
|
||||
V_UpdatePalette (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue