]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/video.menu
moved r_glsl into video menu and also added gl_vbo there
[divverent/nexuiz.git] / data / menu / options / video.menu
1 // Property of Alientrap/AK
2 // options/key.menu
3 Item Window Video
4 {
5         Item Layout Layout
6         {
7                 pos             '156 45'
8                 size            '700 800'
9                 origin          '280 0'
10                 alignment       [AlignFirst]
11                 direction       [Nex_DefaultVertDirection]
12
13                 DeriveTemplate Composition Nex_Video_Option_Switch
14                 {
15                         direction       [Nex_DefaultHorzDirection]
16
17                         DeriveTemplate Nex_Automation_Option_Switch Automation
18                         {}
19                         DeriveTemplate TextButton       Description
20                         {}
21                         DeriveTemplate SwitchButton     Switch
22                         {}
23                 }
24                 Derive Nex_Video_Option_Switch Resolution
25                 {
26                         text    "Resolution"
27                         target  "::Data::Video::Resolution::Switch"
28                 }
29                 Derive Nex_Video_Option_Switch Bpp
30                 {
31                         text    "Bits Per Pixel"
32                         target  "::Data::Video::BPP::Switch"
33                 }
34                 Derive Nex_Video_Option_Switch Fullscreen
35                 {
36                         text    "Fullscreen"
37                         target  "::Data::Video::Fullscreen::Switch"
38                 }
39                 Derive Nex_Video_Option_Switch VSync
40                 {   
41                         text    "Vertical Synchronization"
42                         
43                         target  "::Data::Video::VSync::Switch"
44                 }
45                 Derive Nex_Video_Option_Switch Anisotropy
46                 {
47                         text    "Anisotropic Filtering"
48                         target  "::Data::Video::Anisotropy::Switch"
49                 }
50                 Derive Nex_Video_Option_Switch Picmip
51                 {
52                         text    "Texture Quality"
53                         target  "::Data::Video::Picmip::Switch"
54                 }
55                 Derive Nex_Video_Option_Switch PicmipWorld
56                 {
57                         text    "Texture Quality Reduction"
58                         target  "::Data::Video::PicmipWorld::Switch"
59                 }
60                 Derive Nex_Line SeperatorGFXFeatures
61                 {}
62                 Derive Nex_Option_Switch GLSL
63                 {
64                         text    "OpenGL 2.0 Shaders"
65                         target  "::Data::Video::GLSL::Switch"
66                 }
67                 Derive Nex_Option_Switch VBO
68                 {
69                         text    "Vertex Buffer Objects"
70                         target  "::Data::Video::VBO::Switch"
71                 }
72                 Derive Nex_Option_Switch ShowFPS
73                 {
74                         text    "Show FPS"
75                         target  "::Data::Video::ShowFPS::Switch"
76                 }
77                 Derive Nex_Void Seperator1
78                 {}
79                 Derive PictureButton Apply
80                 {
81                         normal          "$gfx/options_b_apply"
82
83                         action  Nex_Action_Video_Apply
84                 }
85                 Derive TextButton Reset
86                 {
87                         normal  "Reset to default"
88                         init    Nex_Action_ResetData
89                         target  "::Data::Video"
90                 }
91                 Derive Nex_Void Seperator2
92                 {}
93                 Derive Label Presets
94                 {
95                         text "Video/Effects presets:"
96                 }
97                 Derive TextButton Low
98                 {
99                         normal  "low quality"
100                         init    Nex_Action_ConsoleCmd
101                         syncCmd "exec low.cfg; vid_restart\n"
102                 }
103                 Derive TextButton Medium
104                 {
105                         normal  "medium quality"
106                         init    Nex_Action_ConsoleCmd
107                         syncCmd "exec med.cfg; vid_restart\n"
108                 }
109                 Derive TextButton Normal
110                 {
111                         normal  "normal quality"
112                         init    Nex_Action_ConsoleCmd
113                         syncCmd "exec normal.cfg; vid_restart\n"
114                 }
115                 Derive TextButton High
116                 {
117                         normal  "high quality"
118                         init    Nex_Action_ConsoleCmd
119                         syncCmd "exec high.cfg; vid_restart\n"
120                 }
121                 Derive TextButton Ultra
122                 {
123                         normal  "ultra quality"
124                         init    Nex_Action_ConsoleCmd
125                         syncCmd "exec ultra.cfg; vid_restart\n"
126                 }
127                 Derive TextButton Ultimate
128                 {
129                         normal  "ultimate quality"
130                         init    Nex_Action_ConsoleCmd
131                         syncCmd "exec ultimate.cfg; vid_restart\n"
132                 }
133         }
134 }