mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
Merge pull request #60 from petr666/feature/menu-update
Revert default gamma back to 1.0, limit max value to 1.2
This commit is contained in:
commit
cca1c051f1
4 changed files with 4 additions and 4 deletions
|
@ -710,7 +710,7 @@ void GraphicsOptions_MenuInit( void )
|
|||
s_graphicsoptions.gamma.generic.callback = GraphicsOptions_Event;
|
||||
s_graphicsoptions.gamma.generic.id = ID_GAMMA;
|
||||
s_graphicsoptions.gamma.minvalue = 0.8f;
|
||||
s_graphicsoptions.gamma.maxvalue = 1.3f;
|
||||
s_graphicsoptions.gamma.maxvalue = 1.2f;
|
||||
y += BIGCHAR_HEIGHT+2;
|
||||
|
||||
// references "cg_oldRail"
|
||||
|
|
|
@ -1322,7 +1322,7 @@ void R_Register( void )
|
|||
r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE );
|
||||
r_swapInterval = ri.Cvar_Get( "r_swapInterval", "0",
|
||||
CVAR_ARCHIVE | CVAR_LATCH );
|
||||
r_gamma = ri.Cvar_Get( "r_gamma", "1.05", CVAR_ARCHIVE );
|
||||
r_gamma = ri.Cvar_Get( "r_gamma", "1", CVAR_ARCHIVE );
|
||||
r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE );
|
||||
|
||||
r_railWidth = ri.Cvar_Get( "r_railWidth", "16", CVAR_ARCHIVE );
|
||||
|
|
|
@ -199,7 +199,7 @@ itemDef {
|
|||
group grpSystem
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 0.1 0.8 1.3
|
||||
cvarfloat "r_gamma" 0.05 0.8 1.2
|
||||
rect 0 70 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 133
|
||||
|
|
|
@ -102,7 +102,7 @@ itemDef {
|
|||
group grpSystem
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 0.1 0.8 1.3
|
||||
cvarfloat "r_gamma" 0.05 0.8 1.2
|
||||
rect 99 67 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
|
|
Loading…
Reference in a new issue