Changeset 7767 for code/branches/ois_update/data
- Timestamp:
- Dec 15, 2010, 5:45:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/data/gui/scripts/AudioMenu.lua
r6746 r7767 32 32 table.insert(themeList, "Default") 33 33 table.insert(themeList, "Drum n' Bass") 34 table.insert(themeList, "8-Bit Style") 35 table.insert(themeList, "Corny Jazz") 34 36 for k,v in pairs(themeList) do 35 37 item = CEGUI.createListboxTextItem(v) … … 39 41 if orxonox.getConfig("MoodManager", "mood_") == "dnb" then 40 42 listboxwindow:setItemSelectState(1,true) 43 elseif orxonox.getConfig("MoodManager", "mood_") == "eightbit" then 44 listboxwindow:setItemSelectState(2,true) 45 elseif orxonox.getConfig("MoodManager", "mood_") == "jazzy" then 46 listboxwindow:setItemSelectState(3,true) 41 47 else 42 48 listboxwindow:setItemSelectState(0,true) … … 163 169 if listboxwindow:isItemSelected(1) then 164 170 orxonox.config("MoodManager", "mood_", "dnb") 171 elseif listboxwindow:isItemSelected(2) then 172 orxonox.config("MoodManager", "mood_", "eightbit") 173 elseif listboxwindow:isItemSelected(3) then 174 orxonox.config("MoodManager", "mood_", "jazzy") 165 175 else 166 176 orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset
for help on using the changeset viewer.