fixed input, which wwas broken when introducing GUI

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-03-14 22:35:00 +00:00
parent 61a26d9d44
commit c3f168bd3d
2 changed files with 4 additions and 2 deletions

View File

@ -566,6 +566,8 @@ int main(int argc, char *argv[] )
//widget_manager = new WidgetManager;
//menu_manager->switchToMainMenu();
inputDriver->setMode(SDLDriver::INGAME);
// Replay a race
// =============
if(history->replayHistory())

View File

@ -228,7 +228,7 @@ void SDLDriver::toggleFullscreen(bool resetTextures)
{
m_flags |= SDL_FULLSCREEN;
// TODO - GUI and screen setup
// TODO - toggle fullscreen / hide/show mouse
/*
if(menu_manager->isSomewhereOnStack(MENUID_RACE))
showPointer();*/
@ -238,7 +238,7 @@ void SDLDriver::toggleFullscreen(bool resetTextures)
user_config->m_crashed = true; //set flag.
user_config->saveConfig();
}
// TODO - GUI and screen setup
// TODO - toggle fullscreen / hide/show mouse
/*
else if(menu_manager->isSomewhereOnStack(MENUID_RACE))
hidePointer();*/