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; }
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; }