Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 1:59:39 PM (15 years ago)
Author:
scheusso
Message:

clean cursor handling in GUIManager/lua code
change in output level of lua error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ingamemenu/src/orxonox/gamestates/GSMainMenu.cc

    r6020 r6023  
    8282    {
    8383        // show main menu
    84         GUIManager::showGUI("MainMenu");
    85         GUIManager::hideCursor();
     84        GUIManager::getInstance().showGUI("MainMenu", false);
    8685        GUIManager::getInstance().setCamera(this->camera_);
    8786        GraphicsManager::getInstance().setCamera(this->camera_);
     
    112111
    113112        InputManager::getInstance().leaveState("mainMenu");
    114         GUIManager::hideGUI("MainMenu");
    115113
    116114        GUIManager::getInstance().setCamera(0);
     115        GUIManager::hideGUI("MainMenu");
    117116        GraphicsManager::getInstance().setCamera(0);
    118117    }
Note: See TracChangeset for help on using the changeset viewer.