Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9214


Ignore:
Timestamp:
May 18, 2012, 4:14:05 PM (13 years ago)
Author:
lukasmue
Message:

enabled Metal music theme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound2012/data/gui/scripts/AudioMenu.lua

    r8351 r9214  
    3434    table.insert(themeList, "8-Bit Style")
    3535    table.insert(themeList, "Corny Jazz")
     36    table.insert(themeList, "Metal")
    3637    for k,v in pairs(themeList) do
    3738        item = CEGUI.createListboxTextItem(v)
     
    4546    elseif orxonox.getConfig("MoodManager", "mood_") == "jazzy" then
    4647        listboxwindow:setItemSelectState(3,true)
     48    elseif orxonox.getConfig("MoodManager", "mood_") == "metal" then
     49        listboxwindow:setItemSelectState(4,true)
    4750    else
    4851        listboxwindow:setItemSelectState(0,true)
     
    178181    elseif listboxwindow:isItemSelected(3) then
    179182        orxonox.config("MoodManager", "mood_", "jazzy")
     183    elseif listboxwindow:isItemSelected(4) then
     184        orxonox.config("MoodManager", "mood_", "metal")
    180185    else
    181186        orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset for help on using the changeset viewer.