- merged menu branch back into trunk.
SVN r2768 (trunk)
This commit is contained in:
parent
ec0b07b5e2
commit
579502ab74
86 changed files with 13610 additions and 9229 deletions
|
|
@ -118,6 +118,21 @@ CUSTOM_CVAR (Float, Gamma, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
|||
}
|
||||
}
|
||||
|
||||
CCMD (bumpgamma)
|
||||
{
|
||||
// [RH] Gamma correction tables are now generated
|
||||
// on the fly for *any* gamma level.
|
||||
// Q: What are reasonable limits to use here?
|
||||
|
||||
float newgamma = Gamma + 0.1f;
|
||||
|
||||
if (newgamma > 3.0)
|
||||
newgamma = 1.0;
|
||||
|
||||
Gamma = newgamma;
|
||||
Printf ("Gamma correction level %g\n", *Gamma);
|
||||
}
|
||||
|
||||
|
||||
/****************************/
|
||||
/* Palette management stuff */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue