r_lodCurveError added to menu; updated defaults

This commit is contained in:
Petr Bartos 2023-12-03 15:52:07 +01:00 committed by Simon
parent 193295bb7a
commit bb0f5b1bf8
11 changed files with 199 additions and 15 deletions

View File

@ -1613,7 +1613,7 @@ void R_Register( void )
//
// archived variables that can change at any time
//
r_lodCurveError = ri.Cvar_Get( "r_lodCurveError", "1000", CVAR_ARCHIVE_ND );
r_lodCurveError = ri.Cvar_Get( "r_lodCurveError", "250", CVAR_ARCHIVE_ND );
r_lodbias = ri.Cvar_Get( "r_lodbias", "-2", CVAR_ARCHIVE_ND );
#ifndef JK2_MODE
r_flares = ri.Cvar_Get ("r_flares", "0", CVAR_ARCHIVE_ND );

View File

@ -1553,7 +1553,7 @@ void R_Register( void )
//
// archived variables that can change at any time
//
r_lodCurveError = ri.Cvar_Get( "r_lodCurveError", "5000", CVAR_ARCHIVE_ND );
r_lodCurveError = ri.Cvar_Get( "r_lodCurveError", "1000", CVAR_ARCHIVE_ND );
r_lodbias = ri.Cvar_Get( "r_lodbias", "-2", CVAR_ARCHIVE_ND );
r_flares = ri.Cvar_Get ("r_flares", "1", CVAR_ARCHIVE_ND );
r_lodscale = ri.Cvar_Get( "r_lodscale", "10", CVAR_ARCHIVE_ND );

View File

@ -577,4 +577,10 @@ LANG_ENGLISH "Always Run:"
REFERENCE ALWAYS_RUN_DESC
LANG_ENGLISH "Always use maximum movement speed."
REFERENCE CURVES_DETAIL_ITEM
LANG_ENGLISH "Distant Curves Detail:"
REFERENCE CURVES_DETAIL_DESC
LANG_ENGLISH "Configures how far away are curves approximated by edges."
ENDMARKER

View File

@ -765,4 +765,12 @@ REFERENCE ALWAYS_RUN_DESC
LANG_ENGLISH "Always use maximum movement speed."
LANG_FRENCH "#same"
REFERENCE CURVES_DETAIL_ITEM
LANG_ENGLISH "Distant Curves Detail:"
LANG_FRENCH "#same"
REFERENCE CURVES_DETAIL_DESC
LANG_ENGLISH "Configures how far away are curves approximated by edges."
LANG_FRENCH "#same"
ENDMARKER

View File

@ -765,4 +765,12 @@ REFERENCE ALWAYS_RUN_DESC
LANG_ENGLISH "Always use maximum movement speed."
LANG_GERMAN "#same"
REFERENCE CURVES_DETAIL_ITEM
LANG_ENGLISH "Distant Curves Detail:"
LANG_GERMAN "#same"
REFERENCE CURVES_DETAIL_DESC
LANG_ENGLISH "Configures how far away are curves approximated by edges."
LANG_GERMAN "#same"
ENDMARKER

View File

@ -765,4 +765,12 @@ REFERENCE ALWAYS_RUN_DESC
LANG_ENGLISH "Always use maximum movement speed."
LANG_SPANISH "#same"
REFERENCE CURVES_DETAIL_ITEM
LANG_ENGLISH "Distant Curves Detail:"
LANG_SPANISH "#same"
REFERENCE CURVES_DETAIL_DESC
LANG_ENGLISH "Configures how far away are curves approximated by edges."
LANG_SPANISH "#same"
ENDMARKER

View File

@ -1218,13 +1218,49 @@
}
}
itemDef
{
name curves_detail
group video
type ITEM_TYPE_MULTI
text @MENUS_VR_CURVES_DETAIL_ITEM
rect 260 272 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
font 4
textscale 1
forecolor .615 .615 .956 1
cvarFloatList { @MENUS_LOW 250 @MENUS_MEDIUM 500 @MENUS_HIGH 1000 }
descText @MENUS_VR_CURVES_DETAIL_DESC
cvar "r_lodCurveError"
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
action
{
play "sound/interface/button1.wav" ;
uiScript glCustom ;
setcvar ui_r_modified 1 ;
show applyChanges
}
}
itemDef
{
name compress_textures
group video_obsolete
type ITEM_TYPE_MULTI
text @MENUS_COMPRESSED_TEXTURES
rect 260 272 340 14
rect 260 286 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
@ -1239,11 +1275,11 @@
mouseenter
{
show highlight7
show highlight8
}
mouseexit
{
hide highlight7
hide highlight8
}
action
{

View File

@ -1225,13 +1225,49 @@
}
}
itemDef
{
name curves_detail
group video
type ITEM_TYPE_MULTI
text @MENUS_VR_CURVES_DETAIL_ITEM
rect 260 272 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
font 4
textscale 1
forecolor .615 .615 .956 1
cvarFloatList { @MENUS_LOW 250 @MENUS_MEDIUM 500 @MENUS_HIGH 1000 }
descText @MENUS_VR_CURVES_DETAIL_DESC
cvar "r_lodCurveError"
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
action
{
play "sound/interface/button1.wav" ;
uiScript glCustom ;
setcvar ui_r_modified 1 ;
show applyChanges
}
}
itemDef
{
name compress_textures
group video_obsolete
type ITEM_TYPE_MULTI
text @MENUS_COMPRESSED_TEXTURES
rect 260 272 340 14
rect 260 286 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
@ -1246,11 +1282,11 @@
mouseenter
{
show highlight7
show highlight8
}
mouseexit
{
hide highlight7
hide highlight8
}
action
{

View File

@ -3,7 +3,7 @@ CONFIG W:\bin\striped.cfg
ID 100
REFERENCE MENUS_VR
DESCRIPTION "VR Menu Localizations"
COUNT 173
COUNT 175
INDEX 0
{
REFERENCE COMMON_CONTROLS_ITEM
@ -869,3 +869,13 @@ INDEX 172
REFERENCE ALWAYS_RUN_DESC
TEXT_LANGUAGE1 "Always use maximum movement speed."
}
INDEX 173
{
REFERENCE CURVES_DETAIL_ITEM
TEXT_LANGUAGE1 "Distant Curves Detail:"
}
INDEX 174
{
REFERENCE CURVES_DETAIL_DESC
TEXT_LANGUAGE1 "Configures how far away are curves approximated by edges."
}

View File

@ -1422,13 +1422,49 @@
}
}
itemDef
{
name curves_detail
group video
type ITEM_TYPE_MULTI
text @MENUS_VR_CURVES_DETAIL_ITEM
rect 305 291 300 20
textalign ITEM_ALIGN_RIGHT
textalignx 165
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
cvarFloatList { @MENUS0_LOW 250 @MENUS0_MEDIUM 500 @MENUS0_HIGH 1000 }
descText @MENUS_VR_CURVES_DETAIL_DESC
cvar "r_lodCurveError"
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
action
{
play "sound/interface/button1.wav" ;
uiScript glCustom ;
setcvar ui_r_modified 1 ;
show applyChanges
}
}
itemDef
{
name compress_textures
group video_obsolete
type ITEM_TYPE_MULTI
text @MENUS0_COMPRESSED_TEXTURES
rect 305 291 300 20
rect 305 311 300 20
textalign ITEM_ALIGN_RIGHT
textalignx 165
textaligny -2
@ -1443,11 +1479,11 @@
mouseenter
{
show highlight7
show highlight8
}
mouseexit
{
hide highlight7
hide highlight8
}
action
{

View File

@ -1521,13 +1521,49 @@
}
}
itemDef
{
name curves_detail
group video
type ITEM_TYPE_MULTI
text @MENUS_VR_CURVES_DETAIL_ITEM
rect 305 291 300 20
textalign ITEM_ALIGN_RIGHT
textalignx 165
textaligny -2
font 2
textscale 0.8
forecolor 1 1 1 1
cvarFloatList { @MENUS0_LOW 250 @MENUS0_MEDIUM 500 @MENUS0_HIGH 1000 }
descText @MENUS_VR_CURVES_DETAIL_DESC
cvar "r_lodCurveError"
visible 0
mouseenter
{
show highlight7
}
mouseexit
{
hide highlight7
}
action
{
play "sound/interface/button1.wav" ;
uiScript glCustom ;
setcvar ui_r_modified 1 ;
show applyChanges
}
}
itemDef
{
name compress_textures
group video_obsolete
type ITEM_TYPE_MULTI
text @MENUS0_COMPRESSED_TEXTURES
rect 305 291 300 20
rect 305 311 300 20
textalign ITEM_ALIGN_RIGHT
textalignx 165
textaligny -2
@ -1542,11 +1578,11 @@
mouseenter
{
show highlight7
show highlight8
}
mouseexit
{
hide highlight7
hide highlight8
}
action
{