- Timestamp:
- Mar 16, 2010, 1:49:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestate/data/gui/scripts/InitialiseGUI.lua
r6417 r6537 1 winMgr = CEGUI.WindowManager:getSingleton() 2 guiMgr = orxonox.GUIManager:getInstance() 3 inputMgr = orxonox.InputManager:getInstance() 4 1 5 local schemeMgr = CEGUI.SchemeManager:getSingleton() 2 winMgr = CEGUI.WindowManager:getSingleton() 3 local logger = CEGUI.Logger:getSingleton() 4 local system = CEGUI.System:getSingleton() 5 local cursor = CEGUI.MouseCursor:getSingleton() 6 local system = CEGUI.System:getSingleton() 7 local cursor = CEGUI.MouseCursor:getSingleton() 6 8 7 9 schemeMgr:loadScheme("TaharezLookSkin.scheme") … … 87 89 else 88 90 if nrOfActiveSheets == 0 then 89 orxonox.InputManager:getInstance():enterState("guiMouseOnly")91 --orxonox.InputManager:getInstance():enterState("guiMouseOnly") 90 92 orxonox.HumanController:pauseControl() 91 93 end 92 94 end 95 orxonox.InputManager:getInstance():enterState(currentGUI.inputState) 96 93 97 nrOfActiveSheets = nrOfActiveSheets + 1 94 98 table.insert(activeSheets, filename) … … 161 165 bHidePrevious[filename] = nil 162 166 if nrOfActiveSheets == 0 then 163 orxonox.InputManager:getInstance():leaveState("guiMouseOnly")167 --orxonox.InputManager:getInstance():leaveState("guiMouseOnly") 164 168 orxonox.HumanController:resumeControl() 165 169 hideCursor() 166 170 end 171 orxonox.InputManager:getInstance():leaveState(currentGUI.inputState) 167 172 end 168 173
Note: See TracChangeset
for help on using the changeset viewer.