0
0
Fork 0
mirror of https://github.com/ENSL/NS.git synced 2025-03-21 09:52:15 +00:00

- Fixed small error with the redefined gammaramp.

- Changed wording in Advanced Settings from Enable gammaramp to Disable gammaramp.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@332 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-09-26 16:38:19 +00:00
parent ad8e465dd4
commit baf3208669
3 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ extern cvar_t* cl_musicdir;
#define kvLabelMaps "cl_labelmaps"
// :puzl
// tankefugl: 0001070 - enables forced gamma ramp loading
#define kvGammaRamp "cl_gammaramp"
#define kvDisableGammaRamp "cl_gammaramp"
// :tankefugl
#define kvCMHotKeys "cl_cmhotkeys"
#define kvForceDefaultFOV "cl_forcedefaultfov"

View file

@ -1818,7 +1818,7 @@ bool AvHHud::SetGamma(float inSlope)
theGammaToTry -= kGammaIncrement;
sGameGammaTable.ProcessSlope(theGammaToTry);
// tankefugl: fakes a successful gamma ramp change if cl_gammaramp is set to 0
// tankefugl: fakes a successful gamma ramp change if cl_gammaramp is set to 1
if((CVAR_GET_FLOAT(kvDisableGammaRamp) == 1) || sGameGammaTable.InitializeToVideoState())
{
// Tell UI components so they can change shading to look the same

View file

@ -93,9 +93,9 @@ DESCRIPTION INFO_OPTIONS
"cl_gammaramp"
{
"Enable gamma ramp"
"Disable gamma ramp"
{ BOOL }
{ "1" }
{ "0" }
}
"hud_fastswitch"