Changeset 8482 for code/trunk/data/gui
- Timestamp:
- May 14, 2011, 10:25:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/SheetManager.lua
r8079 r8482 5 5 local activeMenuSheets = {size = 0, topSheetTuple = nil} 6 6 local menuSheetsRoot = guiMgr:getMenuRootWindow() 7 local bInGameConsoleClosed = false8 7 local mainMenuLoaded = false 9 8 orxonox.GUIManager:subscribeEventHelper(menuSheetsRoot, "KeyDown", "keyPressed") … … 217 216 -- HUGE, very HUGE hacks! 218 217 219 -- If the InGameConsole is active, ignore the ESC command.220 if bInGameConsoleClosed == true then221 bInGameConsoleClosed = false222 return223 end224 225 218 -- Count the number of sheets that don't need input till the first that does. 226 219 local counter = noInputSheetIndex() … … 295 288 end 296 289 297 function inGameConsoleClosed()298 bInGameConsoleClosed = not bInGameConsoleClosed;299 end300 301 290 function getGUIFirstActive(name, bHidePrevious, bNoInput) 302 291 local sheet = activeMenuSheets.topSheetTuple
Note: See TracChangeset
for help on using the changeset viewer.