Changeset 6370 for code/branches/presentation2/data
- Timestamp:
- Dec 17, 2009, 11:10:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/AudioMenu.lua
r6363 r6370 18 18 musicscrollbar_active = false 19 19 effectsscrollbar_active = false 20 mastervolume = soundMgr:getVolume(orxonox.SoundType. none)21 musicvolume = soundMgr:getVolume(orxonox.SoundType. ambient)22 effectsvolume = soundMgr:getVolume(orxonox.SoundType. effects)23 mastermute = soundMgr:getMute(orxonox.SoundType. none)24 musicmute = soundMgr:getMute(orxonox.SoundType. ambient)25 effectsmute = soundMgr:getMute(orxonox.SoundType. effects)20 mastervolume = soundMgr:getVolume(orxonox.SoundType.All) 21 musicvolume = soundMgr:getVolume(orxonox.SoundType.Music) 22 effectsvolume = soundMgr:getVolume(orxonox.SoundType.Effects) 23 mastermute = soundMgr:getMute(orxonox.SoundType.All) 24 musicmute = soundMgr:getMute(orxonox.SoundType.Music) 25 effectsmute = soundMgr:getMute(orxonox.SoundType.Effects) 26 26 masterscrollbarwindow = tolua.cast(winMgr:getWindow("orxonox/MasterScrollbar"),"CEGUI::Scrollbar") 27 27 musicscrollbarwindow = tolua.cast(winMgr:getWindow("orxonox/MusicScrollbar"),"CEGUI::Scrollbar") … … 131 131 end 132 132 end 133 soundMgr:toggleMute(orxonox.SoundType. none)133 soundMgr:toggleMute(orxonox.SoundType.All) 134 134 end 135 135 … … 146 146 end 147 147 end 148 soundMgr:toggleMute(orxonox.SoundType. ambient)148 soundMgr:toggleMute(orxonox.SoundType.Music) 149 149 end 150 150 … … 161 161 end 162 162 end 163 soundMgr:toggleMute(orxonox.SoundType. effects)163 soundMgr:toggleMute(orxonox.SoundType.Effects) 164 164 end 165 165
Note: See TracChangeset
for help on using the changeset viewer.