MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / start_game_intro

Method start_game_intro

ogsr_engine/xrGame/GamePersistent.cpp:488–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488void 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}
502void CGamePersistent::update_game_intro()
503{
504 if (!m_intro)

Callers

nothing calls this directly

Calls 2

bindMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected