mirror of
https://github.com/DrBeef/RTCWQuest.git
synced 2025-04-23 07:20:51 +00:00
Small menu revamp
This commit is contained in:
parent
7a841b0a44
commit
804e26bc2b
6 changed files with 503 additions and 911 deletions
|
@ -94,12 +94,12 @@ menuDef
|
|||
itemDef
|
||||
{
|
||||
name ctr_vr
|
||||
text "VR Controls"
|
||||
text "General"
|
||||
type 1
|
||||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 172 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -112,14 +112,13 @@ itemDef
|
|||
mouseExit { hide message_graphics ; setitemcolor ctr_vr backcolor .1 .1 .1 0 }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Control Scheme: "
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_control_scheme"
|
||||
cvarFloatList {"Right Handed" 0 "Left Handed" 10 }
|
||||
text "Direction Mode: "
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_walkdirection"
|
||||
cvarFloatList {"Off-hand Controller" 0 "HMD" 1 }
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -128,51 +127,51 @@ itemDef
|
|||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Switch Thumbsticks: "
|
||||
type ITEM_TYPE_YESNO
|
||||
cvar "vr_switch_sticks"
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Teleport: "
|
||||
type ITEM_TYPE_YESNO
|
||||
cvar "vr_teleport"
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Laser Sight: "
|
||||
cvar "vr_lasersight"
|
||||
text "Turning Mode:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_turn_mode"
|
||||
cvarFloatList {"Snap Turn" 0 "Smooth Turn" 1 }
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Turn Angle:"
|
||||
cvarfloat "vr_turn_angle" .0 1 90
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Control Scheme: "
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_control_scheme"
|
||||
cvarFloatList {"Right Handed" 0 "Left Handed" 10 }
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -184,69 +183,30 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Height Adjust:"
|
||||
cvarfloat "cg_heightAdjust" .0 .01 1
|
||||
text "Switch Thumbsticks: "
|
||||
type ITEM_TYPE_YESNO
|
||||
cvar "vr_switch_sticks"
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Turning Mode:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_turn_mode"
|
||||
cvarFloatList {"Snap Turn" 0 "Smooth Turn" 1 }
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Turn Angle:"
|
||||
cvarfloat "vr_turn_angle" .0 1 90
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Teleport: "
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gaze Movement Direction: "
|
||||
cvar "vr_walkdirection"
|
||||
rect 82 135 290 12
|
||||
cvar "vr_teleport"
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -263,6 +223,23 @@ itemDef
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "Movement Speed:"
|
||||
cvarfloat "vr_movement_multiplier" .0 0.05 1.0
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "IRL Crouch:"
|
||||
cvar "vr_irl_crouch_enabled"
|
||||
rect 82 150 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -274,6 +251,40 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gesture Triggered Use: "
|
||||
cvar "vr_gesture_triggered_use"
|
||||
rect 82 165 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Use Gesture Boundary:"
|
||||
cvarfloat "vr_use_gesture_boundary" 0 0.20 0.50
|
||||
rect 82 180 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
|
@ -281,59 +292,6 @@ itemDef
|
|||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_virtual_stock"
|
||||
cvarFloatList {"Off" 0 "Classic" 1 }
|
||||
rect 82 165 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Screen Distance:"
|
||||
cvarfloat "vr_screen_dist" 2.0 0.5 8.0
|
||||
rect 82 180 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
text "Cinematic:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_cinematic_stereo"
|
||||
cvarFloatList {"2D" 0 "3D" 1 }
|
||||
rect 82 195 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Comfort Vignette:"
|
||||
cvarfloat "vr_comfort_vignette" 0 0 1
|
||||
rect 82 210 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -343,7 +301,7 @@ itemDef
|
|||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
|
@ -362,13 +320,40 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name ctr_comfort
|
||||
text "Comfort"
|
||||
type 1
|
||||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
forecolor 1 1 1 1
|
||||
backcolor .1 .1 .1 0
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpControls ; show comfort }
|
||||
mouseEnter { show message_graphics ; setitemcolor ctr_comfort backcolor .3 .3 .3 0 }
|
||||
mouseExit { hide message_graphics ; setitemcolor ctr_comfort backcolor .1 .1 .1 0 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gesture Triggered Use: "
|
||||
cvar "vr_gesture_triggered_use"
|
||||
rect 82 240 290 12
|
||||
text "Cinematic:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_cinematic_stereo"
|
||||
cvarFloatList {"2D" 0 "3D" 1 }
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -377,15 +362,15 @@ itemDef
|
|||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Use Gesture Boundary:"
|
||||
cvarfloat "vr_use_gesture_boundary" 0 0.20 0.50
|
||||
rect 82 255 290 12
|
||||
text "Screen Distance:"
|
||||
cvarfloat "vr_screen_dist" 2.0 0.5 8.0
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -397,12 +382,29 @@ itemDef
|
|||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Draw HUD: "
|
||||
cvar "vr_draw_hud"
|
||||
rect 82 270 290 12
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Height Adjust:"
|
||||
cvarfloat "cg_heightAdjust" .0 .01 1
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Haptic Intensity:"
|
||||
cvarfloat "vr_haptic_intensity" 0 0 1
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -414,12 +416,12 @@ itemDef
|
|||
}
|
||||
|
||||
itemDef {
|
||||
name vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "IRL Crouch:"
|
||||
cvar "vr_irl_crouch_enabled"
|
||||
rect 82 285 290 12
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Comfort Vignette:"
|
||||
cvarfloat "vr_comfort_vignette" 0 0 1
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
|
|
@ -68,12 +68,12 @@ itemDef {
|
|||
itemDef
|
||||
{
|
||||
name ctr_vr
|
||||
text "VR Controls"
|
||||
text "General"
|
||||
type 1
|
||||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 172 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -81,11 +81,63 @@ itemDef
|
|||
backcolor .1 .1 .1 0
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpControls ; show vr }
|
||||
hide grpControls ; show ingame_vr }
|
||||
mouseEnter { show message_graphics ; setitemcolor ctr_vr backcolor .3 .3 .3 0 }
|
||||
mouseExit { hide message_graphics ; setitemcolor ctr_vr backcolor .1 .1 .1 0 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
text "Direction Mode: "
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_walkdirection"
|
||||
cvarFloatList {"Off-hand Controller" 0 "HMD" 1 }
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
text "Turning Mode:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_turn_mode"
|
||||
cvarFloatList {"Snap Turn" 0 "Smooth Turn" 1 }
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Turn Angle:"
|
||||
cvarfloat "vr_turn_angle" .0 1 90
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
|
@ -94,7 +146,7 @@ itemDef
|
|||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_control_scheme"
|
||||
cvarFloatList {"Right Handed" 0 "Left Handed" 10 }
|
||||
rect 82 30 290 12
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -105,14 +157,13 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
text "Switch Thumbsticks: "
|
||||
type ITEM_TYPE_YESNO
|
||||
cvar "vr_switch_sticks"
|
||||
rect 82 45 290 12
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -129,97 +180,7 @@ itemDef
|
|||
text "Teleport: "
|
||||
type ITEM_TYPE_YESNO
|
||||
cvar "vr_teleport"
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Laser Sight: "
|
||||
cvar "vr_lasersight"
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Height Adjust:"
|
||||
cvarfloat "cg_heightAdjust" .0 .01 1
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
text "Turning Mode:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_turn_mode"
|
||||
cvarFloatList {"Snap Turn" 0 "Smooth Turn" 1 }
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Turn Angle:"
|
||||
cvarfloat "vr_turn_angle" .0 1 90
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gaze Movement Direction: "
|
||||
cvar "vr_walkdirection"
|
||||
rect 82 135 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -236,6 +197,23 @@ itemDef
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "Movement Speed:"
|
||||
cvarfloat "vr_movement_multiplier" .0 0.05 1.0
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "IRL Crouch:"
|
||||
cvar "vr_irl_crouch_enabled"
|
||||
rect 82 150 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -247,6 +225,40 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gesture Triggered Use: "
|
||||
cvar "vr_gesture_triggered_use"
|
||||
rect 82 165 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Use Gesture Boundary:"
|
||||
cvarfloat "vr_use_gesture_boundary" 0 0.20 0.50
|
||||
rect 82 180 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
|
@ -254,59 +266,6 @@ itemDef
|
|||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_virtual_stock"
|
||||
cvarFloatList {"Off" 0 "Classic" 1 }
|
||||
rect 82 165 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Screen Distance:"
|
||||
cvarfloat "vr_screen_dist" 2.0 0.5 8.0
|
||||
rect 82 180 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
text "Cinematic:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_cinematic_stereo"
|
||||
cvarFloatList {"2D" 0 "3D" 1 }
|
||||
rect 82 195 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Comfort Vignette:"
|
||||
cvarfloat "vr_comfort_vignette" 0 0 1
|
||||
rect 82 210 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -316,7 +275,7 @@ itemDef
|
|||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
|
@ -335,13 +294,40 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name ctr_comfort
|
||||
text "Comfort"
|
||||
type 1
|
||||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
forecolor 1 1 1 1
|
||||
backcolor .1 .1 .1 0
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpControls ; show comfort }
|
||||
mouseEnter { show message_graphics ; setitemcolor ctr_comfort backcolor .3 .3 .3 0 }
|
||||
mouseExit { hide message_graphics ; setitemcolor ctr_comfort backcolor .1 .1 .1 0 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gesture Triggered Use: "
|
||||
cvar "vr_gesture_triggered_use"
|
||||
rect 82 240 290 12
|
||||
text "Cinematic:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "vr_cinematic_stereo"
|
||||
cvarFloatList {"2D" 0 "3D" 1 }
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -350,15 +336,15 @@ itemDef
|
|||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Use Gesture Boundary:"
|
||||
cvarfloat "vr_use_gesture_boundary" 0 0.20 0.50
|
||||
rect 82 255 290 12
|
||||
text "Screen Distance:"
|
||||
cvarfloat "vr_screen_dist" 2.0 0.5 8.0
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -370,12 +356,29 @@ itemDef
|
|||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Draw HUD: "
|
||||
cvar "vr_draw_hud"
|
||||
rect 82 270 290 12
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Height Adjust:"
|
||||
cvarfloat "cg_heightAdjust" .0 .01 1
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Haptic Intensity:"
|
||||
cvarfloat "vr_haptic_intensity" 0 0 1
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -387,12 +390,12 @@ itemDef
|
|||
}
|
||||
|
||||
itemDef {
|
||||
name ingame_vr
|
||||
name comfort
|
||||
group grpControls
|
||||
type ITEM_TYPE_YESNO
|
||||
text "IRL Crouch:"
|
||||
cvar "vr_irl_crouch_enabled"
|
||||
rect 82 285 290 12
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Comfort Vignette:"
|
||||
cvarfloat "vr_comfort_vignette" 0 0 1
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -403,6 +406,10 @@ itemDef
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name yesno_message
|
||||
rect 0 310 300 15
|
||||
|
|
|
@ -13,7 +13,7 @@ menuDef {
|
|||
style 1
|
||||
border 1
|
||||
|
||||
onopen { hide grpOptions ; show performance }
|
||||
onopen { hide grpOptions ; show view }
|
||||
|
||||
|
||||
|
||||
|
@ -56,8 +56,7 @@ itemDef {
|
|||
type 1
|
||||
textscale .23
|
||||
group grpControlbutton
|
||||
// rect 50 10 100 12
|
||||
rect 92 10 100 12
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -183,7 +182,7 @@ itemDef {
|
|||
text "Corona Dist:"
|
||||
cvar "cg_coronafardist"
|
||||
cvarFloatList { "normal" 1536 "far" 4096 "you crazy" 16000 "off" 0 "near" 800 }
|
||||
rect 82 120 290 12
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -194,8 +193,22 @@ itemDef {
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Particles: "
|
||||
cvar "cg_wolfparticles"
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
|
@ -216,41 +229,6 @@ itemDef {
|
|||
}
|
||||
|
||||
|
||||
//////////////////////
|
||||
//
|
||||
// extension specific stuff
|
||||
//
|
||||
//////////////////////
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
group grpOptions
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Nvidia fog type:"
|
||||
|
||||
cvarTest "r_ext_NV_fog_dist"
|
||||
showcvar { "1" }
|
||||
cvar "r_nv_fogdist_mode"
|
||||
cvarStrList { "NV Radial", "GL_EYE_RADIAL_NV", "NV Plane", "GL_EYE_PLANE_ABSOLUTE_NV" }
|
||||
|
||||
rect 82 150 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
// end extension specific stuff
|
||||
//
|
||||
//////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/////////////////
|
||||
|
@ -263,7 +241,7 @@ itemDef {
|
|||
type 1
|
||||
textscale .23
|
||||
group grpControlbutton
|
||||
rect 270 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -294,8 +272,22 @@ itemDef {
|
|||
visible 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Draw HUD: "
|
||||
cvar "vr_draw_hud"
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
|
@ -303,7 +295,7 @@ itemDef {
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "HUD Alpha:"
|
||||
cvarfloat "cg_hudAlpha" .6 .1 1
|
||||
rect 82 85 290 12
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -314,28 +306,36 @@ itemDef {
|
|||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Laser Sight: "
|
||||
cvar "vr_lasersight"
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
// this \/ is actually lower than the crosshair stuff physically,
|
||||
// but up here for reference to other sliders
|
||||
|
||||
itemDef {
|
||||
|
||||
// only show this in this menu if "r_ignorehwgamma" is not set. if it's set, it will require a
|
||||
// vid_restart, so the option shows in the system->graphics location
|
||||
|
||||
cvarTest "r_ignorehwgamma"
|
||||
showcvar { "0" }
|
||||
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 1 0.5 3
|
||||
rect 82 125 290 12
|
||||
// rect 72 220 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
|
@ -343,36 +343,6 @@ itemDef {
|
|||
visible 0
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
text "Crosshair:"
|
||||
type 1
|
||||
rect 190 210 60 12
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textscale .23
|
||||
textalignx 30
|
||||
textaligny 12
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
rect 194 150 50 50
|
||||
ownerdraw UI_CROSSHAIR
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 0
|
||||
textaligny 50
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ itemDef {
|
|||
textscale .23
|
||||
group grpControlbutton
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 56 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -69,93 +69,7 @@ itemDef {
|
|||
mouseExit { setitemcolor ctr_graphics backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
text "Set Recommended"
|
||||
type 1
|
||||
textscale .25
|
||||
group grpsystem
|
||||
style WINDOW_STYLE_FILLED
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
rect 82 30 290 12
|
||||
textalign 1
|
||||
textalignx 145
|
||||
textaligny 12
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 .07
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Quality:"
|
||||
cvar "ui_glCustom"
|
||||
cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 }
|
||||
|
||||
cvarTest "ui_glCustom"
|
||||
hideCvar { "999" } // 999 is 'recommended'
|
||||
|
||||
rect 82 55 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action {
|
||||
uiScript update "ui_glCustom" }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
text "Quality: Recommended"
|
||||
type ITEM_TYPE_BUTTON
|
||||
|
||||
cvarTest "ui_glCustom"
|
||||
showCvar { "999" } // 999 is 'recommended'
|
||||
|
||||
rect 82 55 290 12
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 162
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action {
|
||||
setcvar ui_glCustom 0; // 'recommended'
|
||||
uiScript update "ui_glCustom" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "GL Extensions:"
|
||||
cvar "r_allowExtensions"
|
||||
rect 82 70 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
|
@ -163,7 +77,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "Anisotropic Filter Level:"
|
||||
cvar "r_ext_texture_filter_anisotropic"
|
||||
cvarFloatList { "1" 1 "2" 2 "4" 4 "8" 8 "16" 16 }
|
||||
rect 82 85 290 12
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -175,25 +89,6 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Color Depth:"
|
||||
cvar "r_colorbits"
|
||||
cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
|
||||
rect 82 100 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom ; uiScript update "r_colorbits" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
|
@ -201,7 +96,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "Lighting:"
|
||||
cvar "r_vertexlight"
|
||||
cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 }
|
||||
rect 82 130 290 12
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -220,7 +115,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "Geometric Detail:"
|
||||
cvar "r_lodbias"
|
||||
cvarFloatList { "High" 0 "Medium" 1 "Low" 2 }
|
||||
rect 82 145 290 12
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -239,7 +134,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "General Textures:"
|
||||
cvar "r_picmip"
|
||||
cvarFloatList { "Low" 2 "Normal" 1 "High" 0 }
|
||||
rect 82 160 290 12
|
||||
rect 82 75 290 12
|
||||
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
|
@ -259,7 +154,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "Character Textures:"
|
||||
cvar "r_picmip2"
|
||||
cvarFloatList { "Low" 3 "Normal" 2 "High" 1 "Extra" 0 }
|
||||
rect 82 175 290 12
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -270,8 +165,6 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
|
@ -280,7 +173,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
text "Texture Filter:"
|
||||
cvar "r_textureMode"
|
||||
cvarStrList { "No filter", "GL_NEAREST", "Bilinear (no mipmap)", "GL_LINEAR", "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" }
|
||||
rect 82 190 290 12
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -292,18 +185,13 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Compress Textures:"
|
||||
cvar "r_ext_compressed_textures"
|
||||
rect 82 205 290 12
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -314,26 +202,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Texture Quality:"
|
||||
cvar "r_texturebits"
|
||||
cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
|
||||
rect 82 220 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
cvarTest "r_ignorehwgamma"
|
||||
showcvar { "1" }
|
||||
|
@ -343,7 +212,7 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 1 0.5 3
|
||||
rect 82 235 290 12
|
||||
rect 82 135 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -355,62 +224,6 @@ open in_rec_restart_popmenu ; hide graphics ; hide graphicsapply}
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
//
|
||||
// Nvidia
|
||||
//
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
|
||||
text "Nvidia Distance Fog:"
|
||||
cvar "r_ext_NV_fog_dist"
|
||||
|
||||
// would be nice to be able to do an extension check from the menu
|
||||
// extensionTest "GL_NV_fog_distance"
|
||||
|
||||
rect 82 250 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
//
|
||||
// ATI
|
||||
//
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
|
||||
text "Trueform:"
|
||||
cvar "r_ext_ATI_pntriangles"
|
||||
|
||||
// would be nice to be able to do an extension check from the menu
|
||||
// extensionTest "GL_ATIX_pn_triangles"
|
||||
|
||||
rect 82 265 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
//cvar_t *r_ext_ATI_pntriangles;
|
||||
//cvar_t *r_ati_truform_tess;
|
||||
//cvar_t *r_ati_truform_mode;
|
||||
|
||||
|
||||
itemDef {
|
||||
|
@ -436,26 +249,7 @@ open in_vid_restart_popmenu ; hide graphics ; hide graphicsapply }
|
|||
|
||||
}
|
||||
|
||||
|
||||
//here
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
text "Driver Info"
|
||||
type 1
|
||||
textscale .23
|
||||
group grpControlbutton
|
||||
rect 181 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
forecolor 1 1 1 1
|
||||
backcolor .1 .1 .1 0
|
||||
visible 1
|
||||
action { hide grpSystem ; show driver }
|
||||
mouseEnter { setitemcolor ctr_driver backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor ctr_driver backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -476,7 +270,7 @@ open in_vid_restart_popmenu ; hide graphics ; hide graphicsapply }
|
|||
type 1
|
||||
textscale .23
|
||||
group grpControlbutton
|
||||
rect 306 10 100 12
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -543,28 +337,6 @@ open in_vid_restart_popmenu ; hide graphics ; hide graphicsapply }
|
|||
}
|
||||
|
||||
|
||||
// itemDef {
|
||||
// name sound
|
||||
// group grpSystem
|
||||
// type ITEM_TYPE_YESNO
|
||||
// text "Doppler Sound:"
|
||||
// cvar "s_doppler"
|
||||
// rect 82 140 290 12
|
||||
// textalign ITEM_ALIGN_RIGHT
|
||||
// textalignx 142
|
||||
// textaligny 10
|
||||
// textscale .23
|
||||
// style WINDOW_STYLE_FILLED
|
||||
// backcolor 1 1 1 .07
|
||||
// forecolor 1 1 1 1
|
||||
// visible 0
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name applysystem
|
||||
group grpapplySystem
|
||||
|
|
|
@ -11,8 +11,7 @@ menuDef {
|
|||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox }
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; fadeout fadebox; hide grpOptions ; show view }
|
||||
onEsc { close options_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
@ -73,7 +72,7 @@ itemDef
|
|||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 172 10 100 12
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -177,7 +176,6 @@ itemDef {
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
type ITEM_TYPE_MULTI
|
||||
|
@ -196,8 +194,6 @@ itemDef {
|
|||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
group grpOptions
|
||||
|
@ -215,6 +211,24 @@ itemDef {
|
|||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name performance
|
||||
group grpOptions
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Particle Dist:"
|
||||
cvar "cg_particleDist"
|
||||
cvarFloatList { "normal" 1024 "far" 2048 "off" 0 "near" 512 }
|
||||
rect 82 135 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
|
@ -224,7 +238,7 @@ itemDef {
|
|||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 270 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -259,7 +273,22 @@ itemDef {
|
|||
visible 0
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Draw HUD: "
|
||||
cvar "vr_draw_hud"
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
|
@ -267,7 +296,7 @@ itemDef {
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "HUD Alpha:"
|
||||
cvarfloat "cg_hudAlpha" .6 .1 1
|
||||
rect 82 45 290 12
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -278,7 +307,43 @@ itemDef {
|
|||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Laser Sight: "
|
||||
cvar "vr_lasersight"
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
cvarTest "r_ignorehwgamma"
|
||||
showcvar { "0" }
|
||||
name view
|
||||
group grpOptions
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 1 0.5 3
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
|
|
|
@ -14,12 +14,10 @@ menuDef {
|
|||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; fadeout fadebox ; hide grpSystem ; hide grpapplysystem ; show graphics ; show graphicsapply }
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; fadeout fadebox ; hide grpSystem ; hide grpapplysystem ; show graphics ; show graphicsapply; }
|
||||
onEsc { close system_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef
|
||||
{
|
||||
name window
|
||||
|
@ -46,7 +44,7 @@ itemDef {
|
|||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 56 10 100 12
|
||||
rect 106 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
@ -90,100 +88,6 @@ itemDef {
|
|||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
text "Set Recommended"
|
||||
type 1
|
||||
textscale .24
|
||||
group grpsystem
|
||||
// background "ui/assets/button_back.tga"
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 82 30 290 12
|
||||
textalign 1
|
||||
textalignx 145
|
||||
textaligny 12
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 .07
|
||||
visible 1
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
open rec_restart_popmenu ; hide graphics ; hide graphicsapply }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
text "Quality:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "ui_glCustom"
|
||||
cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 }
|
||||
|
||||
cvarTest "ui_glCustom"
|
||||
hideCvar { "999" } // 999 is 'recommended'
|
||||
|
||||
rect 82 55 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript update "ui_glCustom" }
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
text "Quality: Recommended"
|
||||
type ITEM_TYPE_BUTTON
|
||||
|
||||
cvarTest "ui_glCustom"
|
||||
showCvar { "999" } // 999 is 'recommended'
|
||||
|
||||
rect 82 55 290 12
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 162
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action {
|
||||
setcvar ui_glCustom 0; // go back to regular selection group
|
||||
uiScript update "ui_glCustom" }
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "GL Extensions:"
|
||||
cvar "r_allowExtensions"
|
||||
rect 82 70 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
|
@ -191,7 +95,7 @@ itemDef {
|
|||
text "Anisotropic Filter Level:"
|
||||
cvar "r_ext_texture_filter_anisotropic"
|
||||
cvarFloatList { "1" 1 "2" 2 "4" 4 "8" 8 "16" 16 }
|
||||
rect 82 85 290 12
|
||||
rect 82 30 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -203,25 +107,6 @@ itemDef {
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Color Depth:"
|
||||
cvar "r_colorbits"
|
||||
cvarFloatList { "Desktop Default" 0 "16-bit" 16 "32-bit" 32 }
|
||||
rect 82 100 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom ; uiScript update "r_colorbits" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
|
@ -229,7 +114,7 @@ itemDef {
|
|||
text "Lighting:"
|
||||
cvar "r_vertexlight"
|
||||
cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 }
|
||||
rect 82 130 290 12
|
||||
rect 82 45 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -248,7 +133,7 @@ itemDef {
|
|||
text "Geometric Detail:"
|
||||
cvar "r_lodbias"
|
||||
cvarFloatList { "High" 0 "Medium" 1 "Low" 2 }
|
||||
rect 82 145 290 12
|
||||
rect 82 60 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -267,7 +152,7 @@ itemDef {
|
|||
text "Character Textures:"
|
||||
cvar "r_picmip2"
|
||||
cvarFloatList { "Low" 3 "Normal" 2 "High" 1 "Extra" 0 }
|
||||
rect 82 160 290 12
|
||||
rect 82 75 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -286,7 +171,7 @@ itemDef {
|
|||
text "General Textures:"
|
||||
cvar "r_picmip"
|
||||
cvarFloatList { "Low" 2 "Normal" 1 "High" 0 }
|
||||
rect 82 175 290 12
|
||||
rect 82 90 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -298,12 +183,6 @@ itemDef {
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
|
@ -311,7 +190,7 @@ itemDef {
|
|||
text "Texture Filter:"
|
||||
cvar "r_textureMode"
|
||||
cvarStrList { "No filter", "GL_NEAREST", "Bilinear (no mipmap)", "GL_LINEAR", "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" }
|
||||
rect 82 190 290 12
|
||||
rect 82 105 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -329,7 +208,7 @@ itemDef {
|
|||
type ITEM_TYPE_YESNO
|
||||
text "Compress Textures:"
|
||||
cvar "r_ext_compressed_textures"
|
||||
rect 82 205 290 12
|
||||
rect 82 120 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -340,25 +219,6 @@ itemDef {
|
|||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Texture Quality:"
|
||||
cvar "r_texturebits"
|
||||
cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
|
||||
rect 82 220 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
|
@ -366,7 +226,7 @@ itemDef {
|
|||
type ITEM_TYPE_SLIDER
|
||||
text "Brightness:"
|
||||
cvarfloat "r_gamma" 1 0.5 3
|
||||
rect 82 235 290 12
|
||||
rect 82 135 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
|
@ -382,65 +242,6 @@ itemDef {
|
|||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
//
|
||||
// Nvidia
|
||||
//
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
|
||||
text "Nvidia Distance Fog:"
|
||||
cvar "r_ext_NV_fog_dist"
|
||||
|
||||
// would be nice to be able to do an extension check from the menu
|
||||
// extensionTest "GL_NV_fog_distance"
|
||||
|
||||
rect 82 250 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .23
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// ATI
|
||||
//
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
|
||||
text "Trueform:"
|
||||
cvar "r_ext_ATI_pntriangles"
|
||||
|
||||
// would be nice to be able to do an extension check from the menu
|
||||
// extensionTest "GL_ATIX_pn_triangles"
|
||||
|
||||
rect 82 265 290 12
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 142
|
||||
textaligny 10
|
||||
textscale .22
|
||||
style WINDOW_STYLE_FILLED
|
||||
backcolor 1 1 1 .07
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
|
||||
//cvar_t *r_ext_ATI_pntriangles;
|
||||
//cvar_t *r_ati_truform_tess;
|
||||
//cvar_t *r_ati_truform_mode;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -508,31 +309,6 @@ open vid_restart_popmenu ; hide graphics ; hide graphicsapply }
|
|||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
text "Driver info"
|
||||
type 1
|
||||
// textfont UI_FONT_NORMAL
|
||||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 180 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
forecolor .9 .9 .9 .8
|
||||
backcolor .1 .1 .1 0
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpSystem ; show driver }
|
||||
mouseEnter { show message_driver ; setitemcolor ctr_driver backcolor .3 .3 .3 0 }
|
||||
mouseExit { hide message_driver ; setitemcolor ctr_driver backcolor .1 .1 .1 0 }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -563,7 +339,7 @@ itemDef {
|
|||
textscale .22
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 306 10 100 12
|
||||
rect 256 10 100 12
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 10
|
||||
|
|
Loading…
Reference in a new issue