]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/video.menu
for now, added the preset cfgs to the video menu. Please replace by real buttons...
[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_Void Seperator1
61                 {}
62                 Derive PictureButton Apply
63                 {
64                         normal          "$gfx/options_b_apply"
65
66                         action  Nex_Action_Video_Apply
67                 }
68                 Derive TextButton Reset
69                 {
70                         normal  "Reset to default"
71                         init    Nex_Action_ResetData
72                         target  "::Data::Video"
73                 }
74                 Derive Nex_Void Seperator2
75                 {}
76                 Derive Label Presets
77                 {
78                         text "Video/Effects presets:"
79                 }
80                 Derive TextButton Low
81                 {
82                         normal  "low quality"
83                         init    Nex_Action_ConsoleCmd
84                         syncCmd "exec low.cfg; vid_restart\n"
85                 }
86                 Derive TextButton Medium
87                 {
88                         normal  "medium quality"
89                         init    Nex_Action_ConsoleCmd
90                         syncCmd "exec med.cfg; vid_restart\n"
91                 }
92                 Derive TextButton Normal
93                 {
94                         normal  "normal quality"
95                         init    Nex_Action_ConsoleCmd
96                         syncCmd "exec normal.cfg; vid_restart\n"
97                 }
98                 Derive TextButton High
99                 {
100                         normal  "high quality"
101                         init    Nex_Action_ConsoleCmd
102                         syncCmd "exec high.cfg; vid_restart\n"
103                 }
104                 Derive TextButton Ultra
105                 {
106                         normal  "ultra quality"
107                         init    Nex_Action_ConsoleCmd
108                         syncCmd "exec ultra.cfg; vid_restart\n"
109                 }
110                 Derive TextButton Ultimate
111                 {
112                         normal  "ulimate quality"
113                         init    Nex_Action_ConsoleCmd
114                         syncCmd "exec ultimate.cfg; vid_restart\n"
115                 }
116         }
117 }