Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 16, 2010, 1:07:57 PM (15 years ago)
Author:
rgrieder
Message:
  • Bugfix in keyESC.
  • Default behaviour for GUI sheet InputStates is now not to handle keyboard input —> KeyBinder is used.
  • Added some temporary hackery to GSMainMenu to enable the use of Keys in the MainMenu.
Location:
code/branches/gamestates2/data/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestates2/data/gui/scripts/MenuSheet.lua

    r6718 r6743  
    1616    newSheet.bHidePrevious  = handleDefArg(_bHidePrevious,  true)
    1717    newSheet.tShowCursor    = handleDefArg(_tShowCusor,     TriBool.True)
    18     newSheet.tUseKeyboard   = handleDefArg(_tUseKeyboard,   TriBool.True)
     18    newSheet.tUseKeyboard   = handleDefArg(_tUseKeyboard,   TriBool.Dontcare)
    1919    newSheet.bBlockJoyStick = handleDefArg(_bBlockJoyStick, false)
    2020
  • code/branches/gamestates2/data/gui/scripts/SheetManager.lua

    r6737 r6743  
    181181        orxonox.execute("exit")
    182182    elseif activeMenuSheets.size > 0 then
    183         orxonox.execute("hideMenuSheet "..activeMenuSheets.topSheetTuple.sheet.name)
     183        orxonox.execute("hideGUI "..activeMenuSheets.topSheetTuple.sheet.name)
    184184    else
    185185        showMenuSheet("InGameMenu")
Note: See TracChangeset for help on using the changeset viewer.