Example #1
0
bool MainGameScreen::PathProfilerOpen(const CEGUI::EventArgs& pEventArgs)
{
    GAME->setPause(true);
    CEGUI::Window* PathProfileWindow = GUI->getWindowManager()->getWindow("MainGameScreen/PathProfileWindow");
    PathProfileWindow->setVisible(true);
    PathProfileWindow->moveToFront();
    return true;
}
Example #2
0
bool MainGameScreen::GameOptionsOpen(const CEGUI::EventArgs& pEventArgs)
{
    GAME->setPause(true);
    CEGUI::Window* GameOptionsWindow = GUI->getWindowManager()->getWindow("MainGameScreen/GameOptionsWindow");
    GameOptionsWindow->setVisible(true);
    GameOptionsWindow->moveToFront();
    return true;
}