- Timestamp:
- Nov 9, 2009, 3:52:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/orxonox/gamestates/GSMainMenu.cc
r5929 r6043 91 91 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&GSMainMenu::startDedicated), "startDedicated")); 92 92 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&GSMainMenu::startMainMenu), "startMainMenu")); 93 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&GSMainMenu::startIOConsole), "startIOConsole"));94 93 95 94 KeyBinderManager::getInstance().setToDefault(); … … 146 145 Game::getInstance().popState(); 147 146 Game::getInstance().popState(); 148 Game::getInstance().requestStates(" dedicated, level");147 Game::getInstance().requestStates("server, level"); 149 148 } 150 149 void GSMainMenu::startMainMenu() … … 155 154 Game::getInstance().requestStates("mainmenu"); 156 155 } 157 void GSMainMenu::startIOConsole()158 {159 // HACK - HACK160 Game::getInstance().popState();161 Game::getInstance().popState();162 Game::getInstance().requestStates("ioConsole");163 }164 156 }
Note: See TracChangeset
for help on using the changeset viewer.