public void StartMenu(bool playIntro = false)
{
if(_guiActive == _guiMainMenu)
{
return;
}
idConsole.Warning("TODO: demo");
/*if(readDemo)
{
// if we're playing a demo, esc kills it
UnloadMap();
}*/
// pause the game sound world
idConsole.Warning("TODO: sound");
/*if(sw != NULL && !sw->IsPaused())
{
sw->Pause();
}*/
// start playing the menu sounds
// TODO: soundSystem->SetPlayingSoundWorld(menuSoundWorld);
SetUserInterface(_guiMainMenu, null);
playIntro = false;
_guiMainMenu.HandleNamedEvent((playIntro == true) ? "playIntro" : "noIntro");
idConsole.Warning("TODO: d3xp check");
/*// TODO: if(fileSystem->HasD3XP())
{
guiMainMenu->SetStateString("game_list", common->GetLanguageDict()->GetString("#str_07202"));
}
else*/
{
_guiMainMenu.State.Set("game_list", idE.Language.Get("#str_07212"));
}
idE.Console.Close();
}