gl_screen.c: Minor tweaks, contrast gets clamped to 0.1-1 instead of 0.2-1

view.h: Add brightness, contrast cvars as extern
menu.c: Change brightness scroller to use the brightness cvar, add
contrast scroller.
r_view, sw_view.c: Add brightness/contrast cvars to software, and make
them work.
This commit is contained in:
Jeff Teunissen 2000-09-20 04:06:12 +00:00
parent 3396ca6fde
commit a3e19d5cc2
5 changed files with 163 additions and 179 deletions

View file

@ -33,7 +33,8 @@
#include "mathlib.h"
#include "cvar.h"
extern cvar_t *v_gamma;
extern cvar_t *brightness;
extern cvar_t *contrast;
extern cvar_t *lcd_x;
void V_Init (void);