Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 22, 2010, 2:47:10 PM (15 years ago)
Author:
rgrieder
Message:

Merged remaining revisions from gamestate to gamestates2.

Location:
code/branches/gamestates2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestates2

  • code/branches/gamestates2/src/orxonox/gamestates/GSMainMenu.cc

    r6417 r6595  
    5353        RegisterRootObject(GSMainMenu);
    5454        inputState_ = InputManager::getInstance().createInputState("mainMenu");
    55         inputState_->setMouseMode(MouseMode::Nonexclusive);
    56         inputState_->setHandler(GUIManager::getInstancePtr());
     55        inputState_->setMouseExclusive(TriBool::False);
     56        inputState_->setHandler(&GUIManager::getInstance());
    5757        inputState_->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler());
    5858        inputState_->setJoyStickHandler(&InputHandler::EMPTY);
     
    101101
    102102        KeyBinderManager::getInstance().setToDefault();
    103         InputManager::getInstance().enterState("mainMenu");
     103        //InputManager::getInstance().enterState("mainMenu");
    104104
    105105        this->setConfigValues();
     
    119119        }
    120120
    121         InputManager::getInstance().leaveState("mainMenu");
     121        //InputManager::getInstance().leaveState("mainMenu");
    122122
    123123        GUIManager::getInstance().setCamera(0);
Note: See TracChangeset for help on using the changeset viewer.