Changeset 8035 for code/branches/usability/src/orxonox
- Timestamp:
- Mar 6, 2011, 4:32:05 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
r7978 r8035 68 68 RegisterRootObject(GSMainMenu); 69 69 70 InputManager::getInstance().createInputState("MainMenuHackery" , true, true)->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler());70 InputManager::getInstance().createInputState("MainMenuHackery")->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 71 71 72 72 // create an empty Scene -
code/branches/usability/src/orxonox/overlays/InGameConsole.cc
r8032 r8035 49 49 #include "core/ConfigValueIncludes.h" 50 50 #include "core/command/ConsoleCommand.h" 51 #include "core/GUIManager.h"52 51 #include "core/input/InputManager.h" 53 52 #include "core/input/InputState.h" … … 534 533 { 535 534 this->bActive_ = false; 536 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed.537 535 InputManager::getInstance().leaveState("console"); 538 536 this->shell_->unregisterListener(this); … … 611 609 /*static*/ void InGameConsole::closeConsole() 612 610 { 613 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed, but not by ESC.614 611 InGameConsole::getInstance().deactivate(); 615 612 }
Note: See TracChangeset
for help on using the changeset viewer.