| 486 | } |
| 487 | |
| 488 | void CGamePersistent::start_game_intro() |
| 489 | { |
| 490 | if (g_pGameLevel && g_pGameLevel->bReady && Device.dwPrecacheFrame <= 2) |
| 491 | { |
| 492 | m_intro_event.bind(this, &CGamePersistent::update_game_intro); |
| 493 | if (0 == _stricmp(m_game_params.m_new_or_load, "new")) |
| 494 | { |
| 495 | VERIFY(NULL == m_intro); |
| 496 | m_intro = xr_new<CUISequencer>(); |
| 497 | m_intro->Start("intro_game"); |
| 498 | // Msg("Intro start: [%u]", Device.dwFrame); |
| 499 | } |
| 500 | } |
| 501 | } |
| 502 | void CGamePersistent::update_game_intro() |
| 503 | { |
| 504 | if (!m_intro) |