summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-07-02 02:20:58 +0000
committerTim Angus <tim@ngus.net>2002-07-02 02:20:58 +0000
commit4361ad33d3676f9f021e3af491620d4880b42289 (patch)
tree2b60dc9f9c8dcc7f3a4bb90aa1081432a941feca
parent2486cc2d94352fa21e1aeadc0ac8a148aa483711 (diff)
Ingame options::system stuff
-rw-r--r--ui/ingame_about.menu4
-rw-r--r--ui/ingame_leave.menu2
-rw-r--r--ui/ingame_options.menu1136
3 files changed, 673 insertions, 469 deletions
diff --git a/ui/ingame_about.menu b/ui/ingame_about.menu
index f20191c0..77ab4c91 100644
--- a/ui/ingame_about.menu
+++ b/ui/ingame_about.menu
@@ -11,8 +11,6 @@
outOfBoundsClick // this closes the window if it gets a click out of the rectangle
rect 10 56 256 160
focusColor 1 .75 0 1
- style 1
- border 1
itemDef
{
@@ -24,7 +22,7 @@
decoration
border WINDOW_BORDER_KCGRADIENT
- borderSize 4.0
+ borderSize 2.0
borderColor 0.5 0.5 0.5 1
}
diff --git a/ui/ingame_leave.menu b/ui/ingame_leave.menu
index 154d3e0b..e763907f 100644
--- a/ui/ingame_leave.menu
+++ b/ui/ingame_leave.menu
@@ -23,7 +23,7 @@
decoration
border WINDOW_BORDER_KCGRADIENT
- borderSize 4.0
+ borderSize 2.0
borderColor 0.5 0.5 0.5 1
}
diff --git a/ui/ingame_options.menu b/ui/ingame_options.menu
index b369e3b5..5c4d2a1f 100644
--- a/ui/ingame_options.menu
+++ b/ui/ingame_options.menu
@@ -1,469 +1,675 @@
#include "ui/menudef.h"
{
-\\ SETUP MENU \\
-
-menuDef {
- name "ingame_options"
- visible 0
- fullscreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 265 30 210 375
- focusColor 1 .75 0 1
- style 1
- border 1
- disableColor .5 .5 .5 0
-
-itemDef {
- name window
- rect 10 15 200 360
- style 1
- backcolor 0 .1 0 1
- visible 1
- decoration
- }
-
-// FRAME //
-
-
-itemDef {
- name window
- rect 0 10 64 64
- style 3
- background "ui/assets/ingameleftcorner.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 64 10 32 8
- style 3
- background "ui/assets/ingametop.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 144 10 32 8
- style 3
- background "ui/assets/ingametop.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 157 10 64 64
- style 3
- background "ui/assets/ingamerightcorner.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 74 0 73 16
- style 3
- background "ui/assets/ingameconnection.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 0 314 64 64
- style 3
- background "ui/assets/ingameleftcornerb.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 157 314 64 64
- style 3
- background "ui/assets/ingamerightcornerb.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 0 64 16 84
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-
-itemDef {
- name window
- rect 0 148 16 84
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 0 232 16 84
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 205 64 16 84
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-
-
-itemDef {
- name window
- rect 205 148 16 84
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 205 232 16 84
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-
-
-itemDef {
- name window
- rect 64 370 64 8
- style 3
- background "ui/assets/ingamebottom.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 128 370 64 8
- style 3
- background "ui/assets/ingamebottom.tga"
- visible 1
- decoration
- }
-
-
-
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Simple Items:"
- cvar "cg_simpleItems"
- rect 0 20 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Marks On Walls:"
- cvar "cg_marks"
- rect 0 37 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Show Floating Scores:"
- cvar "cg_scorePlums"
- rect 0 54 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_MULTI
- text "Ejecting Brass:"
- cvar "cg_brassTime"
- cvarFloatList { "High" 2500 "Med" 1250 "Off" 0 }
- rect 0 71 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Dynamic Lights:"
- cvar "r_dynamiclight"
- rect 0 88 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Identify Target:"
- cvar "cg_drawCrosshairNames"
- rect 0 105 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Draw Gun:"
- cvar "cg_drawGun"
- rect 0 122 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Low Quality Sky:"
- cvar "r_fastsky"
- rect 0 139 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Sync Every Frame:"
- cvar "weapon 5"
- rect 0 156 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Force Player Models:"
- cvar "cg_forceModel"
- rect 0 173 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Draw Team Overlay:"
- cvar "cg_drawTeamOverlay"
- rect 0 190 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Auto Download:"
- cvar "cl_allowDownload"
- rect 0 207 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
- itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Show Time:"
- cvar "cg_drawTimer"
- rect 0 224 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Voices Off:"
- cvar "cg_NoVoiceChats"
- rect 0 241 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Taunts Off:"
- cvar "cg_noTaunt"
- rect 0 258 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Voice Text Off:"
- cvar "cg_noVoiceText"
- rect 0 275 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "Team Chats Only:"
- cvar "cg_teamChatsOnly"
- rect 0 292 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_MULTI
- text "Statusbar:"
- cvar "cg_hudfiles"
- cvarStrList { Normal "ui/hud.txt" Small "ui/hud2.txt" }
- rect 0 309 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- action { exec "loadhud" }
- }
-
-itemDef {
- name options
- group grpOptions
- type ITEM_TYPE_YESNO
- text "In Game Videos:"
- cvar "r_inGameVideo"
- rect 0 326 200 20
- textalign ITEM_ALIGN_RIGHT
- textalignx 143
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
-
-itemDef {
- name options
- group grpOptions
- text "Crosshair:"
- ownerdraw UI_CROSSHAIR
- rect 143 343 20 17
- textalign ITEM_ALIGN_RIGHT
- textalignx 0
- textaligny 17
- textscale .25
- forecolor 1 1 1 1
- visible 1
- }
-
-
-
-
-
-
-
-
-}
-
-
+ \\ INGAME OPTIONS BOX \\
+
+ menuDef
+ {
+ name "ingame_options"
+ visible 0
+ fullscreen 0
+ outOfBoundsClick // this closes the window if it gets a click out of the rectangle
+ rect 10 56 384 320
+ focusColor 1 .75 0 1
+ onopen
+ {
+ hide optionsGrp
+ }
+
+ itemDef
+ {
+ name window
+ rect 10 5 384 310
+ style WINDOW_STYLE_FILLED
+ backcolor 0 0 0 1
+ visible 1
+ decoration
+
+ border WINDOW_BORDER_KCGRADIENT
+ borderSize 2.0
+ borderColor 0.5 0.5 0.5 1
+ }
+
+ //Section menus
+ itemDef
+ {
+ name sections
+ text "Game"
+ group menuGrp
+ style WINDOW_STYLE_EMPTY
+ rect 160 20 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_CENTER
+ textalignx 34
+ textaligny 18
+ textscale .35
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ hide optionsGrp
+ }
+ }
+
+ itemDef
+ {
+ name sections
+ text "Controls"
+ group menuGrp
+ style WINDOW_STYLE_EMPTY
+ rect 230 20 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_CENTER
+ textalignx 34
+ textaligny 18
+ textscale .35
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ hide optionsGrp;
+ show controls
+ }
+ }
+
+ itemDef
+ {
+ name sections
+ text "System"
+ group menuGrp
+ style WINDOW_STYLE_EMPTY
+ rect 300 20 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_CENTER
+ textalignx 34
+ textaligny 18
+ textscale .35
+ forecolor 1 1 1 1
+ visible 1
+ action
+ {
+ hide optionsGrp;
+ show system;
+ show ghardware
+ }
+ }
+
+
+
+ //System menu
+ itemDef
+ {
+ name system
+ text "GFX Hardware"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 60 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action
+ {
+ hide optionsGrp;
+ show system;
+ show ghardware
+ }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Quality:"
+ cvar "ui_glCustom"
+ cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 }
+ rect 120 50 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript update "ui_glCustom" }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_EDITFIELD
+ text "GL Driver:"
+ cvar "r_gldriver"
+ //cvarFloatList { }
+ rect 120 70 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ decoration
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_YESNO
+ text "GL Extensions:"
+ cvar "r_allowExtensions"
+ rect 120 90 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Video Mode:"
+ cvar "r_mode"
+ cvarFloatList { "320x240" 0 "400x300" 1 "512x384" 2 "640x480" 3
+ "800x600" 4 "960x720" 5 "1024x768" 6 "1152x864" 7
+ "1280x1024" 8 "1600x1200" 9 "2048x1536" 10 "856x480 wide screen" 11 }
+ rect 120 110 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Color Depth:"
+ cvar "r_colorbits"
+ cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
+ rect 120 130 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom ; uiScript update "r_colorbits" }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_YESNO
+ text "Fullscreen:"
+ cvar "r_fullscreen"
+ rect 120 150 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Lighting:"
+ cvar "r_vertexlight"
+ cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 }
+ rect 120 170 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Geometric Detail:"
+ cvar "r_lodbias"
+ cvarFloatList { "High" 0 "Medium" 1 "Low" 2 }
+ rect 120 190 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom ; uiScript update "r_lodbias" }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Texture Detail:"
+ cvar "r_picmip"
+ cvarFloatList { "Low" 2 "Normal" 1 "High" 0 }
+ rect 120 210 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Texture Quality:"
+ cvar "r_texturebits"
+ cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
+ rect 120 230 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Texture Filter:"
+ cvar "r_texturemode"
+ cvarStrList { "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" }
+ rect 120 250 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_YESNO
+ text "Compress Textures:"
+ cvar "r_ext_compressed_textures "
+ rect 120 270 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 133
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { uiScript glCustom }
+ }
+
+ itemDef
+ {
+ name ghardware
+ group optionsGrp
+ type ITEM_TYPE_BUTTON
+ text "APPLY"
+ textscale .25
+ style WINDOW_STYLE_EMPTY
+ rect 220 295 75 20
+ textalign ITEM_ALIGN_CENTER
+ textalignx 37
+ textaligny 15
+ forecolor 1 1 1 1
+ visible 0
+ action { exec "vid_restart" }
+ }
+
+
+
+ itemDef
+ {
+ name system
+ text "GFX Software"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 80 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action
+ {
+ hide optionsGrp;
+ show system;
+ show gsoftware
+ }
+ }
+
+ itemDef
+ {
+ name gsoftware
+ group optionsGrp
+ type ITEM_TYPE_SLIDER
+ text "Brightness:"
+ cvarfloat "r_gamma" 1 .5 2
+ rect 120 45 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+ itemDef
+ {
+ name gsoftware
+ group optionsGrp
+ type ITEM_TYPE_SLIDER
+ text "Screen Size:"
+ cvarfloat "cg_viewsize" 100 30 100
+ //cvarFloatList { }
+ rect 120 65 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+
+
+ itemDef
+ {
+ name system
+ text "GL Info"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 100 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action
+ {
+ hide optionsGrp;
+ show system;
+ show glinfo
+ }
+ }
+
+ itemDef
+ {
+ name glinfo
+ group optionsGrp
+ rect 180 55 230 230
+ ownerdraw UI_GLINFO
+ textalign 1
+ textscale .15
+ textalignx 0
+ textaligny 17
+ forecolor 1 1 1 1
+ visible 0
+ decoration
+ }
+
+
+
+ itemDef
+ {
+ name system
+ text "Net & Sound"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 120 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action
+ {
+ hide optionsGrp;
+ show system;
+ show netsound
+ }
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ style 1
+ text "Sound"
+ rect 120 65 128 20
+ textalign ITEM_ALIGN_CENTER
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ decoration
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ type ITEM_TYPE_SLIDER
+ text "Effects Volume:"
+ cvarfloat "s_volume" 0.7 0 1
+ rect 120 85 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ type ITEM_TYPE_SLIDER
+ text "Music Volume:"
+ cvarfloat "s_musicvolume" 0.25 0 1
+ rect 120 105 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Sound Quality:"
+ cvar "s_khz"
+ cvarFloatList { "22 khz (high)" 22 "11 khz (low)" 11 }
+ rect 120 125 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ type ITEM_TYPE_YESNO
+ text "Doppler Sound:"
+ cvar "s_doppler"
+ rect 120 145 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ style 1
+ text "Network"
+ rect 120 205 128 20
+ textalign ITEM_ALIGN_CENTER
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ decoration
+ }
+
+ itemDef
+ {
+ name netsound
+ group optionsGrp
+ type ITEM_TYPE_MULTI
+ text "Net Data Rate:"
+ cvar "rate"
+ cvarFloatList { "<=28.8k" 2500 "33.6k" 3000 "56k" 4000 "ISDN" 5000 "LAN/CABLE/xDSl" 25000 }
+ rect 120 225 256 20
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 128
+ textaligny 17
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ }
+
+
+ //Controls menu
+ itemDef
+ {
+ name controls
+ text "Look"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 60 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { }
+ }
+
+ itemDef
+ {
+ name controls
+ text "Move"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 80 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { }
+ }
+
+ itemDef
+ {
+ name controls
+ text "Shoot"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 100 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { }
+ }
+
+ itemDef
+ {
+ name controls
+ text "Misc"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 120 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { }
+ }
+
+ itemDef
+ {
+ name controls
+ text "Chat"
+ group optionsGrp
+ style WINDOW_STYLE_EMPTY
+ rect 20 140 64 20
+ type ITEM_TYPE_BUTTON
+ textalign ITEM_ALIGN_RIGHT
+ textalignx 64
+ textaligny 16
+ textscale .25
+ forecolor 1 1 1 1
+ visible 0
+ action { }
+ }
+ }
}