Changeset 8284 for code/branches/kicklib2/data
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/data/gui/scripts/AudioMenu.lua
r8079 r8284 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) … … 168 174 if listboxwindow:isItemSelected(1) then 169 175 orxonox.config("MoodManager", "mood_", "dnb") 176 elseif listboxwindow:isItemSelected(2) then 177 orxonox.config("MoodManager", "mood_", "eightbit") 178 elseif listboxwindow:isItemSelected(3) then 179 orxonox.config("MoodManager", "mood_", "jazzy") 170 180 else 171 181 orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset
for help on using the changeset viewer.