r_ambient 0 again; added menu option for it
[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_Option_Switch GLSL
25                 {
26                         text    "OpenGL 2.0 Shaders"
27                         target  "::Data::Video::GLSL::Switch"
28                 }
29                 Derive Nex_Option_Switch VBO
30                 {
31                         text    "Vertex Buffer Objects"
32                         target  "::Data::Video::VBO::Switch"
33                 }
34                 Derive Nex_Option_Switch ShowFPS
35                 {
36                         text    "Show FPS"
37                         target  "::Data::Video::ShowFPS::Switch"
38                 }
39                 Derive Nex_Line Seperator1
40                 {}
41                 Derive Nex_Video_Option_Switch Resolution
42                 {
43                         text    "Resolution"
44                         target  "::Data::Video::Resolution::Switch"
45                 }
46                 Derive Nex_Video_Option_Switch Bpp
47                 {
48                         text    "Bits Per Pixel"
49                         target  "::Data::Video::BPP::Switch"
50                 }
51                 Derive Nex_Video_Option_Switch Fullscreen
52                 {
53                         text    "Fullscreen"
54                         target  "::Data::Video::Fullscreen::Switch"
55                 }
56                 Derive Nex_Video_Option_Switch VSync
57                 {   
58                         text    "Vertical Synchronization"
59                         
60                         target  "::Data::Video::VSync::Switch"
61                 }
62                 Derive Nex_Video_Option_Switch Anisotropy
63                 {
64                         text    "Anisotropic Filtering"
65                         target  "::Data::Video::Anisotropy::Switch"
66                 }
67                 Derive Nex_Video_Option_Switch Picmip
68                 {
69                         text    "Texture Quality"
70                         target  "::Data::Video::Picmip::Switch"
71                 }
72                 Derive Nex_Video_Option_Switch PicmipWorld
73                 {
74                         text    "Texture Quality Reduction"
75                         target  "::Data::Video::PicmipWorld::Switch"
76                 }
77                 Derive Nex_Void Seperator2
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_Line Seperator3
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 }