| 454 | #include "UI/UIGameTutorial.h" |
| 455 | |
| 456 | void CGamePersistent::start_logo_intro() |
| 457 | { |
| 458 | if (!strstr(Core.Params, "-intro")) |
| 459 | { |
| 460 | m_intro_event = 0; |
| 461 | Console->Show(); |
| 462 | Console->Execute("main_menu on"); |
| 463 | return; |
| 464 | } |
| 465 | |
| 466 | if (Device.dwPrecacheFrame == 0) |
| 467 | { |
| 468 | m_intro_event.bind(this, &CGamePersistent::update_logo_intro); |
| 469 | if (0 == xr_strlen(m_game_params.m_game_or_spawn) && NULL == g_pGameLevel) |
| 470 | { |
| 471 | VERIFY(NULL == m_intro); |
| 472 | m_intro = xr_new<CUISequencer>(); |
| 473 | m_intro->Start("intro_logo"); |
| 474 | Console->Hide(); |
| 475 | } |
| 476 | } |
| 477 | } |
| 478 | void CGamePersistent::update_logo_intro() |
| 479 | { |
| 480 | if (m_intro && (false == m_intro->IsActive())) |