Changeset 8078 for code/branches/usability/src/orxonox
- Timestamp:
- Mar 15, 2011, 9:09:58 PM (14 years ago)
- Location:
- code/branches/usability/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/src/orxonox/gamestates/GSMainMenu.cc
r8035 r8078 68 68 RegisterRootObject(GSMainMenu); 69 69 70 InputManager::getInstance().createInputState("MainMenuHackery" )->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler());70 InputManager::getInstance().createInputState("MainMenuHackery", true, true)->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 71 71 72 72 // create an empty Scene -
code/branches/usability/src/orxonox/overlays/InGameConsole.cc
r8035 r8078 49 49 #include "core/ConfigValueIncludes.h" 50 50 #include "core/command/ConsoleCommand.h" 51 #include "core/GUIManager.h" 51 52 #include "core/input/InputManager.h" 52 53 #include "core/input/InputState.h" … … 533 534 { 534 535 this->bActive_ = false; 536 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed. 535 537 InputManager::getInstance().leaveState("console"); 536 538 this->shell_->unregisterListener(this); … … 609 611 /*static*/ void InGameConsole::closeConsole() 610 612 { 613 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed, but not by ESC. 611 614 InGameConsole::getInstance().deactivate(); 612 615 }
Note: See TracChangeset
for help on using the changeset viewer.