]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/data/color.menu
r_ambient 0 again; added menu option for it
[divverent/nexuiz.git] / data / menu / data / color.menu
1 // Property of Alientrap
2 //
3 // data/color.menu
4
5 // v_color prefix and other color controlling cvars
6 Item DataContainer Color
7 {
8         // normal options
9         Item Data_Cvar Gamma
10         {
11                 cvarName        "v_gamma"
12                 defValue        1.0
13                 Item DataLink_Value Value
14                 {
15                         minValue        0.0
16                         maxValue        4.0
17                         stepValue       0.05
18                         link            "##up"
19                 }
20         }
21         Item Data_Cvar GLSLContrastBoost
22         {
23                 cvarName        "r_glsl_contrastboost"
24                 defValue        1.0
25                 Item DataLink_Value Value
26                 {
27                         minValue        1.0
28                         maxValue        8.0
29                         stepValue       0.1
30                         link            "##up"
31                 }
32         }
33         Item Data_Cvar Ambient
34         {
35                 cvarName        "r_ambient"
36                 defValue        0.0
37                 Item DataLink_Value Value
38                 {
39                         minValue        0.0
40                         maxValue        20.0
41                         stepValue       1.0
42                         link            "##up"
43                 }
44         }
45         Item Data_Cvar Brightness
46         {
47                 cvarName        "v_brightness"
48                 defValue        0.0
49                 Item DataLink_Value Value
50                 {
51                         minValue        0.0
52                         maxValue        0.5
53                         stepValue       0.02
54                         link            "##up"
55                 }
56         }
57         Item Data_Cvar Contrast
58         {
59                 cvarName        "v_contrast"
60                 defValue        1.0
61                 Item DataLink_Value Value
62                 {
63                         minValue        0.0
64                         maxValue        3.0
65                         stepValue       0.05
66                         link            "##up"
67                 }
68         }
69         Item Data_Cvar HWGamma // read-only
70         {
71                 cvarName        "v_hwgamma"
72                 defValue        1.0
73                 [DataLink_OnOffSwitch]
74         }
75         // extended options
76         Item DataContainer Extended
77         {
78                 Item Data_Cvar Active
79                 {
80                         cvarName        "v_color_enable"
81                         defValue        0.0
82                         [DataLink_OnOffSwitch]
83                 }
84                 Item Container Low
85                 {
86                         Item Data_Cvar Red
87                         {
88                                 cvarName        "v_color_black_r"
89                                 defValue        0.0
90                                 [DataLink_ZeroOneValue]
91                         }
92                         Item Data_Cvar Green
93                         {
94                                 cvarName        "v_color_black_g"
95                                 defValue        0.0
96                                 [DataLink_ZeroOneValue]
97                         }
98                         Item Data_Cvar Blue
99                         {
100                                 cvarName        "v_color_black_b"
101                                 defValue        0.0
102                                 [DataLink_ZeroOneValue]
103                         }
104                 }
105                 Item Container Mid
106                 {
107                         Item Data_Cvar Red
108                         {
109                                 cvarName        "v_color_grey_r"
110                                 defValue        0.5
111                                 [DataLink_ZeroOneValue]
112                         }
113                         Item Data_Cvar Green
114                         {
115                                 cvarName        "v_color_grey_g"
116                                 defValue        0.5
117                                 [DataLink_ZeroOneValue]
118                         }
119                         Item Data_Cvar Blue
120                         {
121                                 cvarName        "v_color_grey_b"
122                                 defValue        0.5
123                                 [DataLink_ZeroOneValue]
124                         }
125                 }
126                 Item Container High
127                 {
128                         Item Data_Cvar Red
129                         {
130                                 cvarName        "v_color_white_r"
131                                 defValue        1.0
132                                 [DataLink_ZeroOneValue]
133                         }
134                         Item Data_Cvar Green
135                         {
136                                 cvarName        "v_color_white_g"
137                                 defValue        1.0
138                                 [DataLink_ZeroOneValue]
139                         }
140                         Item Data_Cvar Blue
141                         {
142                                 cvarName        "v_color_white_b"
143                                 defValue        1.0
144                                 [DataLink_ZeroOneValue]
145                         }
146                 }
147         }
148 }