r_ambient 0 again; added menu option for it
[divverent/nexuiz.git] / data / menu / options / sound.menu
1 // Property of Alientrap/AK
2 // options/sound.menu
3 Item Window Sound
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
14                 Derive Nex_Option_Slider MusicVolume
15                 {
16                         text    "Music Volume"
17                         target  "::Data::Sound::CDVolume::Value"
18                 }
19                 Derive Nex_Option_Slider GameVolume
20                 {
21                         text    "Game Volume"
22                         target  "::Data::Sound::GameVolume::Value"
23                 }
24                 Derive Nex_Option_Slider AmbientVolume
25                 {
26                         text    "Ambient Volume"
27                         target  "::Data::Sound::AmbientVolume::Value"
28                 }
29                 Derive Nex_Option_Switch SwapStereo
30                 {
31                         text    "Swap Stereo"
32                         target  "::Data::Sound::SwapStereo::Switch"
33                 }
34                 Derive Nex_Void Seperator1
35                 {}
36                 Derive Nex_Option_Switch SoundSpeed
37                 {
38                         text    "Frequency"
39                         target  "::Data::Sound::SoundSpeed::Switch"
40                 }
41                 Derive Nex_Option_Switch SoundChannels
42                 {
43                         text    "Channels"
44                         target  "::Data::Sound::SoundChannels::Switch"
45                 }
46                 Derive Nex_Void Seperator2
47                 {}
48                 Derive PictureButton Apply
49                 {
50                         normal          "$gfx/options_b_apply"
51
52                         action  Nex_Action_Sound_Apply
53                 }
54                 Derive TextButton Reset
55                 {
56                         normal  "Reset to default"
57                         init    Nex_Action_ResetData
58                         target  "::Data::Sound"
59                 }
60         }
61 }