- Timestamp:
- Mar 22, 2010, 2:47:10 PM (15 years ago)
- Location:
- code/branches/gamestates2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2
- Property svn:mergeinfo changed
/code/branches/gamestate merged: 6441-6442,6459,6537,6544-6546,6548,6564,6566-6567,6569,6571-6572
- Property svn:mergeinfo changed
-
code/branches/gamestates2/src/orxonox/gamestates/GSMainMenu.cc
r6417 r6595 53 53 RegisterRootObject(GSMainMenu); 54 54 inputState_ = InputManager::getInstance().createInputState("mainMenu"); 55 inputState_->setMouse Mode(MouseMode::Nonexclusive);56 inputState_->setHandler( GUIManager::getInstancePtr());55 inputState_->setMouseExclusive(TriBool::False); 56 inputState_->setHandler(&GUIManager::getInstance()); 57 57 inputState_->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 58 58 inputState_->setJoyStickHandler(&InputHandler::EMPTY); … … 101 101 102 102 KeyBinderManager::getInstance().setToDefault(); 103 InputManager::getInstance().enterState("mainMenu");103 //InputManager::getInstance().enterState("mainMenu"); 104 104 105 105 this->setConfigValues(); … … 119 119 } 120 120 121 InputManager::getInstance().leaveState("mainMenu");121 //InputManager::getInstance().leaveState("mainMenu"); 122 122 123 123 GUIManager::getInstance().setCamera(0);
Note: See TracChangeset
for help on using the changeset viewer.