Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2010, 5:45:16 PM (14 years ago)
Author:
youngk
Message:

Committing a few minor changes to some files. They affect: Keyboard input on the Mac; Introduction of new Moods and debugging of Mac sound.

File:
1 edited

Legend:

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

    r6746 r7767  
    3232    table.insert(themeList, "Default")
    3333    table.insert(themeList, "Drum n' Bass")
     34    table.insert(themeList, "8-Bit Style")
     35    table.insert(themeList, "Corny Jazz")
    3436    for k,v in pairs(themeList) do
    3537        item = CEGUI.createListboxTextItem(v)
     
    3941    if orxonox.getConfig("MoodManager", "mood_") == "dnb" then
    4042        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)
    4147    else
    4248        listboxwindow:setItemSelectState(0,true)
     
    163169    if listboxwindow:isItemSelected(1) then
    164170        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")
    165175    else
    166176        orxonox.config("MoodManager", "mood_", "default")
Note: See TracChangeset for help on using the changeset viewer.