quakespasm/Quake
Eric Wasylishen 150be12da1 Contrast support with a "contrast" cvar, behaving the same as MarkV's.
It may be a useful alternative to the existing gamma control for laptops in a bright environment, etc.
(raising contrast gives less of a gray/washed out look than raising gamma, but as a disadvantage, colours near white get clipped to white.)

It's also implemented for both GLSL and SDL gamma ramps, but only if USE_GAMMA_RAMPS is set to 1.
Since USE_GAMMA_RAMPS  is 0, currently it only works with GLSL.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1290 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-02-12 23:26:36 +00:00
..
anorm_dots.h
anorms.h
arch_def.h
bgmusic.c
bgmusic.h
bspfile.h
build_cross_osx-sdl2.sh
build_cross_osx.sh
build_cross_win32-sdl2.sh
build_cross_win32.sh
build_cross_win64-sdl2.sh
build_cross_win64.sh
cd_null.c
cd_sdl.c
cdaudio.h
cfgfile.c
cfgfile.h
chase.c
cl_demo.c Add filename tab-completion for "playdemo" and "record" commands 2015-05-30 02:28:58 +00:00
cl_input.c
cl_main.c Convert to Con_DWarning (developer 1 only) the remaining two "exceeded standard limit" warnings. 2015-05-29 18:33:08 +00:00
cl_parse.c Make "exceeds standard limit of" messages only display when developer cvar is set, with a new Con_DWarning function. 2015-05-25 01:48:03 +00:00
cl_tent.c
client.h
cmd.c prevent a possible buffer overflow in Cbuf_Execute (an old q1/q2 issue this was.) 2015-08-23 09:56:31 +00:00
cmd.h
common.c common.c (MSG_ReadString): replaced MSG_ReadChar with MSG_ReadByte 2015-08-05 14:47:25 +00:00
common.h
console.c constify arg_completion_type_t->command 2015-08-23 09:51:35 +00:00
console.h Make "exceeds standard limit of" messages only display when developer cvar is set, with a new Con_DWarning function. 2015-05-25 01:48:03 +00:00
crc.c
crc.h
cvar.c
cvar.h
detect.sh
draw.h
gl_draw.c
gl_fog.c Fog: move setting of GL_FOG_MODE to GL_EXP2 to a new Fog_SetupState() function and call it in VID_Restart. 2015-11-26 09:06:42 +00:00
gl_mesh.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_model.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_model.h Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_refrag.c Make "exceeds standard limit of" messages only display when developer cvar is set, with a new Con_DWarning function. 2015-05-25 01:48:03 +00:00
gl_rlight.c world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
gl_rmain.c Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
gl_rmisc.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_screen.c SCR_TileClear: fix for GLSL gamma causing the tiled screen border to turn white, if you use "sizedown" to show the border. 2015-06-15 21:17:45 +00:00
gl_sky.c new cvars: r_lavaalpha, r_slimealpha, r_telealpha for fine-tuning specific liquid opacities (from DirectQ, RMQEngine) 2015-07-26 21:51:25 +00:00
gl_texmgr.c TexMgr_RecalcWarpImageSize: removed early exit if (gl_warpimagesize == oldsize), fixes liquids sometimes turning to noise after a mode change. 2016-01-08 08:22:27 +00:00
gl_texmgr.h GLSLGamma_GammaCorrect: clear the cached texture binding in GL_Bind properly, after the glBindTexture calls earlier in this function. 2015-12-13 07:23:04 +00:00
gl_vidsdl.c Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
gl_warp.c
gl_warp_sin.h
glquake.h Fog: move setting of GL_FOG_MODE to GL_EXP2 to a new Fog_SetupState() function and call it in VID_Restart. 2015-11-26 09:06:42 +00:00
host.c SV_SpawnServer: use malloc for sv.edicts, and only zero it as needed 2016-01-29 01:05:11 +00:00
host_cmd.c Modlist_Init: (win32) don't list "." as a mod. 2015-06-03 03:54:47 +00:00
image.c
image.h
in_sdl.c
input.h
keys.c
keys.h
main_sdl.c Raise default heapsize to 256MB and zone to 4MB (matching Fitz MarkV) 2016-01-09 20:29:22 +00:00
Makefile
Makefile.darwin
Makefile.w32 fix windows linkage after r1200 2015-04-14 18:15:09 +00:00
Makefile.w64 fix windows linkage after r1200 2015-04-14 18:15:09 +00:00
mathlib.c
mathlib.h world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
menu.c Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
menu.h
modelgen.h
net.h
net_bsd.c
net_defs.h
net_dgrm.c
net_dgrm.h
net_loop.c
net_loop.h
net_main.c
net_sys.h
net_udp.c
net_udp.h
net_win.c
net_wins.c
net_wins.h
net_wipx.c
net_wipx.h
pl_linux.c
pl_osx.m
pl_win.c
platform.h
pr_cmds.c PF_traceline: change Host_Error when a NaN is detected to a Con_Warning. 2015-10-06 04:08:29 +00:00
pr_comp.h
pr_edict.c SV_SpawnServer: use malloc for sv.edicts, and only zero it as needed 2016-01-29 01:05:11 +00:00
pr_exec.c
progdefs.h
progdefs.q1
progs.h
protocol.h
q_ctype.h
q_sound.h
q_stdinc.h
qs_bmp.h
quakedef.h bumped version to 0.91.1 for future development 2016-01-18 07:28:03 +00:00
quakespasm.pak
r_alias.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
r_brush.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
r_part.c R_DrawParticles: exit early if there is nothing to draw, avoid a useless glBegin() glEnd() pair. 2015-04-16 23:57:39 +00:00
r_sprite.c r_alias.c, r_sprite.c: print the model name in the "no such skin" (r_alias.c) and "no such frame" (r_sprite.c) developer messages 2015-08-31 18:36:38 +00:00
r_world.c new cvars: r_lavaalpha, r_slimealpha, r_telealpha for fine-tuning specific liquid opacities (from DirectQ, RMQEngine) 2015-07-26 21:51:25 +00:00
render.h
resource.h
sbar.c Sbar_DrawPicAlpha: change glColor3f call to glColor4f with explicit alpha of 1 to work around intel 855 bug, which also affected Fitzquake 0.85. 2015-10-06 06:18:30 +00:00
sbar.h
screen.h
server.h
snd_codec.c
snd_codec.h
snd_codeci.h
snd_dma.c snd_dma.c: raise MAX_SFX to 1024, for the upcoming arcadim mod. 2015-12-22 06:22:29 +00:00
snd_flac.c
snd_flac.h
snd_mem.c Move more spammy message from "developer 1" to "developer 2", continued: 2015-05-25 18:38:37 +00:00
snd_mikmod.c
snd_mikmod.h
snd_mix.c
snd_modplug.c
snd_modplug.h
snd_mp3.c snd_mp3.c: applied a patch to skip APEv2 tags 2015-07-13 06:37:02 +00:00
snd_mp3.h
snd_mpg123.c
snd_opus.c
snd_opus.h
snd_sdl.c
snd_umx.c
snd_umx.h
snd_vorbis.c
snd_vorbis.h
snd_wave.c
snd_wave.h
spritegn.h
strl_fn.h
strlcat.c
strlcpy.c
sv_main.c SV_SpawnServer: use malloc for sv.edicts, and only zero it as needed 2016-01-29 01:05:11 +00:00
sv_move.c
sv_phys.c
sv_user.c
sys.h
sys_sdl_unix.c
sys_sdl_win.c sys_sdl_win.c: fix calling conventions for SetProcessDpiAware[ness]. Was getting a runtime error about that when compiling with VS2015. 2015-09-07 20:36:39 +00:00
vid.h
view.c
view.h Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
wad.c
wad.h
world.c world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
world.h
wsaerror.h
zone.c Raise default heapsize to 256MB and zone to 4MB (matching Fitz MarkV) 2016-01-09 20:29:22 +00:00
zone.h